I use the following to open a hangout in a new tab
<a target="_blank" href="https://plus.google.com/hangouts/_?gid=<app_id">Start a Hangout</a>
Use the query parameter gd=somevalue to pass the source dataset to your application
https://developers.google.com/+/hangouts/running
I send the initial data as follows
https://plus.google.com/hangouts/_?gid=<app_id">&gd=<start_data>
as well as
<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' : 'Your app_id', 'start_data' : 'Put your start data here', 'app_type' : 'ROOM_APP' }], 'widget_size': 175 }); </script>
New to rails
source share