Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
842 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <html lang="en">
  2. <head>
  3. <meta charset=utf-8/>
  4. <!-- CSS -->
  5. <link href="https://vjs.zencdn.net/7.2.3/video-js.css" rel="stylesheet">
  6. <!-- JS code -->
  7. <!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
  8. <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
  9. <script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.14.1/videojs-contrib-hls.js"></script>
  10. <script src="https://vjs.zencdn.net/7.2.3/video.js"></script>
  11. </head>
  12. <body>
  13. <!-- HTML -->
  14. <video id='hls-example' class="video-js vjs-default-skin" width="400" height="300" controls autoplay>
  15. <source type="application/x-mpegURL" src="http://192.168.200.125:8081/argus/0/hls.m3u8">
  16. </video>
  17. <script>
  18. var player = videojs('hls-example');
  19. player.play();
  20. </script>
  21. </body>
  22. </html>