Google环聊按钮宽度

时间:2014-09-02 11:31:00

标签: button size hangout

我需要广告环聊按钮宽度。真的不知道放在哪里?它应该像'widget_size':175

<html>
<head>
<title>Sunsää Seniortek </title>
<script type="text/javascript">
    <link rel="canonical" href="http://www.example.com" />
    </script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="1397" height="818" border="0" cellpadding="0"    cellspacing="0">
<tr>
    <td colspan="3">
<iframe    src="http://example.com" width="1395" height="733" alt=""></iframe></td>
</tr>
<tr>
<td colspan="3">
<img src="images/seniortek_02.png" width="1397" height="35" alt=""></td>
</tr>
<tr>
<td rowspan="2">
<img src="images/seniortek_03.png" width="170" height="50" alt=""></td>
<td width="1046" height="31">
<script type="text/javascript" src="https://apis.google.com/js/platform.js">       </script>
<g:hangout render="createhangout"
invites="[{ id : 'mail@wxample.com', invite_type : 'EMAIL' }]">
 </g:hangout></td>
<td rowspan="2">
<img src="images/seniortek_05.png" width="181" height="50" alt=""></td>
</tr>
<tr>
    <td>
        <img src="images/seniortek_06.png" width="1046" height="19" alt=""></td>
</tr>
</table>
</body>
</html>

任何想法尝试阅读文档但无法弄清楚

1 个答案:

答案 0 :(得分:1)

添加widget_size,如下所述

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