I added a Google Hangout button to my page following the instructions:
<script src="https://apis.google.com/js/platform.js" async defer>
</script>
<g:hangout
render="createhangout"
topic="cpp11"
hangout_type="moderated"
invites="[{ id : '74838920', invite_type : 'PROFILE' },
{ id : '[email protected]', invite_type : 'EMAIL' }]">
</g:hangout>
When I press that button a Video Hangout starts (informaing me I should enable video). I am also not sure if I have the hangout invitee correctly, but I will adress that later.
How to let let a chat-only window open on the button press?
I looked at the documentation and there is no way of doing it.
https://developers.google.com/+/hangouts/api/gapi.hangout.av#gapi.hangout.av.CameraMuteEvent
The only way to do it is to ask the participants to click on the "Turn Camera Off" button on the top once they enter the hangout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With