This is a plugin for VideoJS which uses WebRTC to allow you to chat with someone else while you are watching a video.
This is still a work in progress so don't expect the world.
There is a demo available.
After you include the videojsrtc.js
file in your html
<script src="videojsrtc.js"></script>
You'll want to enable it on your video.
var video = videojs('#myvideo');
video.videojsRtc({});
And now you have a videochat window if your browser supports webRTC and userMedia. If it doesn't support it, it will gracefully hide the plugin.
Just grab the room key, give it to a friend along with the URL and have them enter the key into the textbox and then hit 'Join Room'.
Stop using AppRTC and switch to a webRTC library so that we could enable video
chat, perhaps with multiple people even, but also to be able to sync up the
play
and pause
events between the people that chat over the webRTC data
channel.
The backend code (running on google's appengine) was taken from the AppRTC project which was build by the Firefox and Chrome teams to have a simple chat app. I modified the code to send the channel key up to the parent via a postMessage so that it could be embeddable in an iframe. AppRTC is licensed under the New BSD License