google-plus - 如何在 Google Hangouts 直播中启用问答应用

标签 google-plus hangout

Google Hangouts on air 有一个名为 Q&A 的有用应用程序。

它允许观察者向演讲者提出文本问题,甚至可以对这些问题进行投票。在用户界面中,您可以为 G+ 信息页上的特定事件启用此功能。

如何以编程方式为环聊直播启用问答 session ?
目前在我的项目中,我使用文档 here 中描述的代码启动 Google Hangouts :

<script src="https://apis.google.com/js/platform.js" async defer></script>
<div id="placeholder-div5"></div>
<script>
  gapi.hangout.render('placeholder-div5', {
    'topic': 'cats',
    'render': 'createhangout',
    'hangout_type': 'onair',
    'initial_apps': [{'app_id' : '184219133185', 'start_data' : 'dQw4w9WgXcQ', 'app_type' : 'ROOM_APP' }],
    'widget_size': 72
  });
</script>

然后,当我开始广播并尝试启动问答应用程序(单击环聊窗口左侧的图标)时,它会显示“此功能已禁用”。

有什么办法吗?

最佳答案

使用您提供的代码片段,我设法使问答工作正常进行。

当您单击“问答”按钮时,切换按钮会从关闭变为打开一小段时间,然后翻转回来。我不知道为什么会这样,但即使按钮变回关闭,问答仍然启用。只需开始广播,就会激活问答。

关于google-plus - 如何在 Google Hangouts 直播中启用问答应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29630071/

相关文章:

html - 通过链接标签配置 Octopress 以支持 Google 作者身份

android - 如何区分视频群聊和 google talk 应用程序?

hangout - 将 Google Hangout 发布为公开

node.js - 如何在 google chat/hangouts 上使用 nodejs xmpp 客户端发送 emojis/表情符号

android - Google 登录总是在 GoogleSignInResult 上失败

android - 在 fragment 中集成 google plus api 时出现 ClassCastException

javascript - 尝试在我的网络应用程序上使用 google plus 登录时,不断收到 "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup"

android - 滚动在 Google+ Android 应用程序中如何工作?

google-apps-script - Google Chat bot - 发送没有事件的私有(private)消息

Android - 如何从 WebView 中显示的环聊 URL 打开环聊应用程序?