@playkit-js/playkit-js-ivq 3.7.4 → 3.7.5-canary.0-961c84d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/demo/index.html +59 -0
- package/demo/style.css +9 -0
- package/dist/playkit-ivq.js +1 -1
- package/dist/playkit-ivq.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/demo/index.html
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<meta name="theme-color" content="#000000" />
|
|
7
|
+
<meta name="description" content="IVQ Plugin Demo Page" />
|
|
8
|
+
<title>IVQ Plugin</title>
|
|
9
|
+
<link rel="stylesheet" type="text/css" href="./style.css" />
|
|
10
|
+
<script src="https://unpkg.com/@playkit-js/kaltura-player-js@canary/dist/kaltura-ovp-player.js"></script>
|
|
11
|
+
<script src="https://unpkg.com/@playkit-js/ui-managers@canary/dist/playkit-ui-managers.js"></script>
|
|
12
|
+
<script src="https://unpkg.com/@playkit-js/playkit-js-kaltura-cuepoints@canary/dist/playkit-kaltura-cuepoints.js" type="text/javascript"></script>
|
|
13
|
+
<script src="https://unpkg.com/@playkit-js/playkit-js-timeline@canary/dist/playkit-timeline.js"></script>
|
|
14
|
+
<script src="../playkit-ivq.js"></script>
|
|
15
|
+
</head>
|
|
16
|
+
<body>
|
|
17
|
+
<label for="width-selector" style="color: rgb(218, 197, 197)">Player size:</label>
|
|
18
|
+
<select id="width-selector">
|
|
19
|
+
<option value="280">TINY</option>
|
|
20
|
+
<option value="380">EXTRA_SMALL</option>
|
|
21
|
+
<option value="480">SMALL</option>
|
|
22
|
+
<option value="768" selected>MEDIUM</option>
|
|
23
|
+
<option value="1024">LARGE</option>
|
|
24
|
+
<option value="1280">EXTRA_LARGE</option>
|
|
25
|
+
</select>
|
|
26
|
+
|
|
27
|
+
<script type="text/javascript">
|
|
28
|
+
document.getElementById('width-selector').addEventListener('change', function () {
|
|
29
|
+
const width = this.value + 'px';
|
|
30
|
+
document.getElementById('player-placeholder').style.width = width;
|
|
31
|
+
});
|
|
32
|
+
</script>
|
|
33
|
+
<div id="player-placeholder"></div>
|
|
34
|
+
<script type="text/javascript">
|
|
35
|
+
const config = {
|
|
36
|
+
log: {
|
|
37
|
+
level: 'DEBUG'
|
|
38
|
+
},
|
|
39
|
+
targetId: 'player-placeholder',
|
|
40
|
+
provider: {
|
|
41
|
+
env: {
|
|
42
|
+
cdnUrl: 'https://cfvod.nvq2.ovp.kaltura.com',
|
|
43
|
+
serviceUrl: 'https://api.nvq2.ovp.kaltura.com/api_v3'
|
|
44
|
+
},
|
|
45
|
+
partnerId: 242
|
|
46
|
+
},
|
|
47
|
+
plugins: {
|
|
48
|
+
uiManagers: {},
|
|
49
|
+
kalturaCuepoints: {},
|
|
50
|
+
timeline: {},
|
|
51
|
+
ivq: {}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const player = KalturaPlayer.setup(config);
|
|
56
|
+
player.loadMedia({entryId: '0_htcm44ba'});
|
|
57
|
+
</script>
|
|
58
|
+
</body>
|
|
59
|
+
</html>
|