docker-nginx-rtmp/player.html

23 lines
726 B
HTML
Raw Normal View History

2018-07-25 08:51:22 +00:00
<html>
<head>
<link href="https://vjs.zencdn.net/5.7.1/video-js.css" rel="stylesheet">
<script src="https://vjs.zencdn.net/5.7.1/video.js"></script>
<script src="https://videojs.github.io/videojs-contrib-hls/node_modules/videojs-contrib-hls/dist/videojs.hls.min.js"></script>
</head>
<body>
2018-08-01 13:20:37 +00:00
<p>Video? Video!</p>
2018-07-25 08:51:22 +00:00
<video id=autoplay width="720" height="360" class="video-js vjs-default-skin vjs-big-play-centered" controls>
2020-07-08 13:42:37 +00:00
<source src="https//video.north-brigade.org/live/test.m3u8" type="application/x-mpegURL">
2018-07-25 08:51:22 +00:00
</video>
<script>
var player = videojs('autoplay');
player.play();
</script>
</body>
</html>