stream_docker/player/index.html

23 lines
577 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Stream</title>
<link href="/video-js.css" rel="stylesheet">
<script src="/video.js"></script>
<style>
html,body{background: black; min-height: 100vh; min-width: 100vw;}
body{overflow: hidden;}
</style>
</head>
<body>
<center>
<video id="player" class="video-js vjs-default-skin" width="720" controls preload="auto">
<source src="/hls/test.m3u8" type="application/x-mpegURL" />
</video>
</center>
<script>
var player = videojs('#player');
</script>
</body>
</html>