为什么 gapi.hangout 位成员不可用

why gapi.hangout members are unavailable

我一直在使用 hangout api,但是当我想使用 gapi.hangout 成员(例如事件、函数等)时,它们不可用,只需去渲染即可,我已引用 platform.js我的代码,但我想不通 我的问题是什么。

    <script src="https://apis.google.com/js/platform.js"></script>
    <script type="text/javascript">
      
        gapi.hangout.onApiReady //is undefined
    </script>

最后我发现我应该引用 hangout.js

现在所有成员都有空...