-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.html
32 lines (25 loc) · 926 Bytes
/
player.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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://e.video-cdn.net/v2/embed.js"></script>
<script type="text/javascript">//<![CDATA[
window.onload = function () {
console.log(document.cookie);
document.cookie = 'test=test2';
var element = document.getElementById('lazyLoading');
var player = document.createElement('div');
player.setAttribute('mi24-video-player', '');
player.setAttribute('config-type', 'vmpro');
player.setAttribute('player-id', 'E2bGZMZK6H_RP5B1tjdWxc');
player.setAttribute('video-id', 'DF-_8TdddESYeoY8T7uZ7r');
player.setAttribute('api-url', '//d.video-cdn.net/play');
element.appendChild(player);
VideoPlayerCollection.addPlayerById('lazyLoading');
console.log(document.cookie);
}//]]>
</script>
</head>
<body>
<div id="lazyLoading"></div>
</body>
</html>