index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <title>Example webrtc.io</title>
  4. <link type="text/css" href="/style.css" rel="stylesheet"></link>
  5. <script src="/webrtc.io.js"></script>
  6. </head>
  7. <body onload="init()">
  8. <div id="videos">
  9. <a href="https://github.com/webRTC"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
  10. <video id="you" class="flip" autoplay></video>
  11. </div>
  12. <div id="chatbox">
  13. <div id="messages">
  14. </div>
  15. <input id="chatinput" type="text" placeholder="Message:"/>
  16. </div>
  17. <div class="buttonBox">
  18. <div id="fullscreen" class="button">Enter Full Screen</div>
  19. <div id="newRoom" class="button">Create A New Room</div>
  20. </div>
  21. <script src="/script.js"></script>
  22. <script type="text/javascript">
  23. var _gaq = _gaq || [];
  24. _gaq.push(['_setAccount', 'UA-31155783-1']);
  25. _gaq.push(['_setDomainName', 'dennis.is']);
  26. _gaq.push(['_trackPageview']);
  27. (function() {
  28. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  29. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  30. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  31. })();
  32. </script>
  33. </body>
  34. </html>