-
Notifications
You must be signed in to change notification settings - Fork 5
/
kaltura.html
81 lines (76 loc) · 2.25 KB
/
kaltura.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Kaltura 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>
<!-- Kaltura Player build -->
<script src="//cdnapisec.kaltura.com/p/2395571/embedPlaykitJs/uiconf_id/44975631"></script>
<!-- Streamroot Plugin -->
<script src="//cdn.streamroot.io/playkit-dna-plugin/1/stable/playkit-dna-plugin.js"></script>
<!-- Graphs -->
<script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script>
</head>
<body>
<header></header>
<center>
<div
id="kaltura_player_768626319"
style="width: 512px;height: 288px"
></div>
<div id="streamroot-graphs"></div>
<script type="text/javascript">
try {
var kalturaPlayer = KalturaPlayer.setup({
targetId: "kaltura_player_768626319",
provider: {
partnerId: 2395571,
uiConfId: 44975631
},
plugins: {
streamroot: {
key: "demoswebsiteandpartners",
dnaConfig: {}
}
},
playback: {
options: {
html5: {
hls: {
maxBufferSize: 0,
maxBufferLength: 30,
liveSyncDuration: 30,
liveMaxLatencyDuration: Infinity
},
dash: {
streaming: {
bufferingGoal: 30
},
manifest: {
dash: {
defaultPresentationDelay: 30
}
}
}
}
}
}
});
kalturaPlayer.loadMedia({
entryId: "1_4kj96eo8"
});
} catch (e) {
console.error(e.message);
}
</script>
</center>
</body>
</html>