google / instant-hangouts Goto Github PK
View Code? Open in Web Editor NEWEasily add Google+ Hangouts to any web page.
License: Apache License 2.0
Easily add Google+ Hangouts to any web page.
License: Apache License 2.0
Hi there - instant hangouts awesome!
However we tried to start a hangout on air, but no joy :-(
<p>
<script type="text/javascript" src="https://raw.githubusercontent.com/google/instant-hangouts/master/instanthangouts-0.1.0.js" async=""></script>
</p>
<div class="instanthangouts" hangout_type="onair"> </div>
We're able to start normal hangouts, but setting the hangout_type in the div as above seems to have no effect.
Any ideas?
Many thanks in advance
Example HTML file:
<script src='instanthangouts-0.1.0.js' async></script>
<div
class='instanthangouts'
lang='fr'
parsetags='onload'
publisher_id='112744459749475398119'
render='hangout'
room_id='my_room'
topic='My Topic'
width='200'></div>
Result: trying to create iframe with url https://talkgadget.google.com/u/0/talkgadget/_/widget?hangout_type=normal&publisher_id=112744459749475398119&render=hangout&room_id=my_room&topic=My%20Topic&widget_size=136&width=200&hl=fr&origin=http%3A%2F%2Fplayground.nerdblog.pl&gsrc=3p&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en.Jf3CPDDPOEs.O%2Fm%3D__features__%2Fam%3DAQ%2Frt%3Dj%2Fd%3D1%2Ft%3Dzcms%2Frs%3DAItRSTONGn74v8Rs_7Fvo8yzjgTE3aOpqg
resulting in 400 Bad Request
URL to example: http://playground.nerdblog.pl/hangouts.html
you have done a great work now i want to know tha how to access chat list of my hangout friends and talk them using instant messaging ......can you help me plz
Hello hangouts like to integrate wordpress or another web platform already made.
you can work out whether random mode
https://www.verbling.com/community
Thanks for your attention to my question
I'm trying to use the Google Instant Hangouts widget in an Open edX course, and the widget failed to load on the page when running on localhost. Looking at the Web Developer console in Chrome shows this error:
Refused to display 'https://talkgadget.google.com/u/0/talkgadget/_/widget?hangout_type=normal&p…431&parent=http%3A%2F%2Fpreview.localhost%3A8000&pfname=&rpctoken=12551397' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Sandbox access violation: Blocked a frame at "http://preview.localhost:8000" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
It seems as though there's a cross-site scripting violation that is preventing Open edX from embedding the Hangouts widget in an iframe. Is there a workaround for this?
Hi,
Thanks in advance!
When trying to implement this, I'm getting a 400 Bad Request error in the console, and nothing renders on the screen. My sample page is based on https://github.com/google/instant-hangouts/blob/master/index.html Any ideas?
If you try to validate the demo code right now you'll get some errors because room_id
, topic
, and render
attributes doesn't exist.
But you can use HTML5's data-* attributes to fix that. What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.