-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (28 loc) · 863 Bytes
/
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
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>videojs-contrib-hls embed</title>
</head>
<body>
<h1>Fairplay Playback</h1>
<video-js id="my_video_1" class="vjs-default-skin" controls preload="auto" width="640" height="268"></video-js>
<video id='video' width="320" height="240" controls></video>
<!-- include the script of cp that you want to run -->
<script src="utils.js"></script>
<script src="fairplay.js"></script>
<script src="fairplayfetch.js"></script>
<script src="app.js"></script>
<br />
<label>Manifest URL</label>
<input id="manifestUrl" />
<br />
<label>Ceftificate URL</label>
<input id="certificateUrl" />
<br />
<label>License URL</label>
<input id="licenseUrl" />
<br />
<button onclick="attemptPlayback()">Play</button>
</body>
</html>