Add live stream
This commit is contained in:
parent
2eca6f3a87
commit
9dad5de265
16
live.html
Normal file
16
live.html
Normal 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
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
28
video.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user