forked from mister-ben/videojs-flvjs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 886 Bytes
/
index.html
File metadata and controls
27 lines (27 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-flvjs Demo</title>
<link href="/node_modules/video.js/dist/video-js.css" rel="stylesheet">
</head>
<body>
<video id="videojs-flvjs-player" class="video-js vjs-default-skin" controls>
<source src="https://mister-ben.github.io/videojs-flvjs/bbb.flv" type='video/x-flv'>
<!-- <source src="//vjs.zencdn.net/v/oceans.mp4" > -->
</video>
<ul>
<li><a href="/test/">Run unit tests in browser.</a></li>
</ul>
<script src="/node_modules/video.js/dist/video.js"></script>
<script src="/node_modules/flv.js/dist/flv.js"></script>
<script src="/dist/videojs-flvjs.js"></script>
<script>
(function(window, videojs) {
var player = window.player = videojs('videojs-flvjs-player', {
techOrder: ['html5', 'flvjs']
});
}(window, window.videojs));
</script>
</body>
</html>