-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathradiant.html
58 lines (50 loc) · 1.6 KB
/
radiant.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
55
56
57
58
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Radiant Media Player 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.edge-delivery.lumen.com/web/assets/demo-pages.css">
<!-- Makes the header -->
<script src="//samples.edge-delivery.lumen.com/web/assets/header.js"></script>
<!-- Builds -->
<script src="//cdn.radiantmediatechs.com/rmp/5.7.8/js/rmp.min.js"></script>
<!-- Graphs -->
<script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script>
</head>
<body>
<header></header>
<center>
<div>
<div id="demoplayer"></div>
</div>
<div id="streamroot-graphs"></div>
</center>
<script>
var dnaConfig = {};
var playerConfig = {
"licenseKey": "Kl8lYzhpdmsyeWVpP3JvbTVkYXNpczMwZGIwQSVfKg==",
"src": {
"hls": "https://demo-vod.streamroot.io/index.m3u8"
},
"streamrootConfig": {
"dnaConfig": dnaConfig,
"type": "hlsjs",
"streamrootKey": "demoswebsiteandpartners"
}
};
var elementID = 'video';
var player = new RadiantMP(elementID);
player.init(playerConfig);
window.player = player;
window.playerConfig = playerConfig;
</script>
</body>
</html>