-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathindex.html
31 lines (28 loc) · 1.08 KB
/
index.html
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
28
29
30
31
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-hls-quality-selector Demo</title>
<link href="node_modules/video.js/dist/video-js.css" rel="stylesheet">
<link href="dist/videojs-hls-quality-selector.css" rel="stylesheet">
</head>
<body>
<video-js id="videojs-hls-quality-selector-player" class="vjs-fluid" controls>
<source src="https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8" type="application/x-mpegURL">
</video-js>
<ul>
<li><a href="/test/debug.html">Run unit tests in browser.</a></li>
<li><a href="docs/api/">Read generated docs.</a></li>
</ul>
<script src="node_modules/video.js/dist/video.js"></script>
<script src="dist/videojs-hls-quality-selector.js"></script>
<script>
(function (window, videojs) {
var examplePlayer = window.examplePlayer = videojs('videojs-hls-quality-selector-player');
var hlsQualitySelector = window.hlsQualitySelector = examplePlayer.hlsQualitySelector({
displayCurrentQuality: true,
});
}(window, window.videojs));
</script>
</body>
</html>