This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
castlabs.html
54 lines (47 loc) · 2.03 KB
/
castlabs.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>castLabs DNA Plugin</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
}
</style>
<link rel="stylesheet" href="//samples.streamroot.io/web/assets/demo-pages.css">
<!-- Makes the header -->
<script src="//samples.streamroot.io/web/assets/header.js"></script>
<!-- Builds -->
<script src="//samples.streamroot.io/web/assets/castlabs/clpp.withstyles.min.js"></script>
<script src="//samples.streamroot.io/web/assets/castlabs/clpp_streamroot_hls.plugin.min.js"></script>
<!-- Graphs -->
<script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script>
</head>
<body>
<header></header>
<center>
<div>
<video id="demoplayer" width="512" height="288" crossOrigin="anonymous" controls class="video-js vjs-default-skin vjs-big-play-centered">
</video>
</div>
<div id="streamroot-graphs"></div>
</center>
<script>
var player = clpp.init('#demoplayer', {
autoplay: true,
license: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoiV2ViIiwidXJscyI6WyI6Ly9zYW1wbGVzLnN0cmVhbXJvb3QuaW8iXSwia2lkIjoxMjc2fQ.et8o05h2dictQyuEsufISzQI5cZ6D6E8elzo8P12vYrNkX8FugDFQZ6yu6Gw1wcBkeW7HIAD_x4K1l9Wl3S5Xa3AZdiBVANgCf74TmInF7WsQHKyXwGss5vmx6MEtPugJSBY-iZ7gwA6usaT1yVYA07YFkYXZT6XeEqCVmC2teVyWsisM1lKXIZME7udMX7lmWJbmrT5FUc-y-6IGmXSfexW0VCKDbFjWH4tvq1txMVRCsprSpnMpXnT_sU8rw43ojWaSoFzUer5WhLmpaKkxcFyZXFYxtiBKBcnZkryHlwevxIafgep_Nf5u9wtPe9uvcIWkbRFt3uHeG_Ks4VJqg",
clpp_streamroot_hls: {
streamrootKey: 'demoswebsiteandpartners',
dnaConfig: {}
}
});
player.load([{
type: clpp.statics.types.HLS,
src: 'https://demo-vod.streamroot.io/index.m3u8',
drmProtected: false
}]);
</script>
</body>
</html>