html for javaScript websocket conection and webcam player


SUBMITTED BY: Guest

DATE: Nov. 24, 2014, 2:14 p.m.

FORMAT: Text only

SIZE: 807 Bytes

HITS: 902

  1. <!DOCTPYE html>
  2. <head>
  3. <title>WebCam Display</title>
  4. <style>
  5. #container
  6. {
  7. margin: 10px;
  8. width: 500px;
  9. height: 375px;
  10. border: 0px #333 solid;
  11. }
  12. #videoElement
  13. {
  14. width: 500px;
  15. height: 375px;
  16. background-color: #666;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div id="container">
  22. <video id="videoElement" controls></video>
  23. </div>
  24. <form id="sendForm">
  25. <input id="sendText" placeholder="text to send" type="text"><br>
  26. <input id="submit" type="button" value="send" onclick="send()"></button>
  27. </form>
  28. <pre id="incoming"></pre>
  29. <script src="webcam.js"></script>
  30. <script src="connection.js"></script>
  31. <?php
  32. ?>
  33. </body>
  34. </html>

comments powered by Disqus