aipay.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html>
  2. <html><head>
  3. <meta http-equiv="content-type" content="text/html; charset=gbk">
  4. <title>Video Test 10: RTSP Streaming</title>
  5. <script>
  6. function rotateMe() {
  7. i = 0;
  8. int = setInterval(
  9. function () {
  10. video.style.WebkitTransform = 'rotate(' + (i++ %360) + 'deg)';
  11. video.style.MozTransform = 'rotate(' + (i++ %360) + 'deg)';
  12. video.style.OTransform = 'rotate(' + (i++ %360) + 'deg)';
  13. }, 50);
  14. }
  15. function resetRotation() {
  16. video.style.WebkitTransform = 'rotate(0)';
  17. video.style.MozTransform = 'rotate(0)';
  18. video.style.OTransform = 'rotate(0)';
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. </body>
  24. <script>
  25. var ws = new WebSocket('ws://60.232.192.24:559/openUrl/RDygh56');
  26. ws.onopen = function () {
  27. console.log('Á´½Ó³É¹¦');
  28. }
  29. ws.onmessage = function (evt) {
  30. console.log(evt);
  31. }
  32. </script>
  33. </html>