Add live stream

lab
Imaginaerraum 2020-09-20 19:36:54 +02:00
parent 2eca6f3a87
commit 9dad5de265
3 changed files with 45 additions and 0 deletions

16
live.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Live Streaming</title>
<link href="video-js.min.css" rel="stylesheet">
<script src="video.min.js"></script>
</head>
<body>
<video id="player" class="video-js vjs-default-skin" controls preload="none" style="max-width:95%;">
<source src="/stream/space.m3u8" />
</video>
<script>var player = videojs('#player', {fluid:true, fullScreen: {navigationUI: "show"}});</script>
</body>
</html>

1
video-js.min.css vendored Normal file

File diff suppressed because one or more lines are too long

28
video.min.js vendored Normal file

File diff suppressed because one or more lines are too long