Add files via upload

This commit is contained in:
yangbvv
2022-12-16 16:01:08 +08:00
committed by GitHub
parent fb3fb6fa4f
commit a984c0296e
3 changed files with 39 additions and 0 deletions

26
player/index.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>M3U8 Player</title>
<script src="hls.min.js"></script>
<style>
body{
background-color:black;
}
#video{
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
margin: auto;
max-height: 100%;
max-width: 100%;
}
</style>
</head>
<body>
<video id="video" style="width: 100%; height: 100%;" controls autoplay></video>
<script src="player.js"></script>
</body>
</html>