-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdash.html
32 lines (32 loc) · 1.04 KB
/
dash.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
32
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>videojs-contrib-quality-menu Demo - HLS</title>
<link href="/node_modules/video.js/dist/video-js.css" rel="stylesheet">
<link href="/dist/videojs-contrib-quality-menu.css" rel="stylesheet">
</head>
<body>
<video-js id="player" class="vjs-fluid" controls>
<source src="http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd" type="application/dash+xml">
</video-js>
<ul>
<li><a href="/hls.html">HLS Demo</a></li>
<li><a href="/hls-svg.html">HLS Demo using SVG Icon</a></li>
<li><a href="/dash.html">DASH Demo</a></li>
<li><a href="/dash-svg.html">DASH Demo using SVG Icon</a></li>
<li><a href="/test/debug.html">Run unit tests in browser.</a></li>
</ul>
<script src="/node_modules/video.js/dist/video.js"></script>
<script src="/dist/videojs-contrib-quality-menu.js"></script>
<script>
const player = videojs('player', {
plugins: {
qualityMenu: {
defaultResolution: '360'
}
}
});
</script>
</body>
</html>