forked from albinchristo/Channels
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaffizzi_embedclappr.html
50 lines (48 loc) · 2.06 KB
/
affizzi_embedclappr.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
<html lang="es">
<head>
<meta name="robots" content="noindex" />
<script src="//cdn.jsdelivr.net/npm/@clappr/player@0.4.0/dist/clappr.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/mux.js@5.6.7/dist/mux.min.js"></script>
<script src='//cdn.jsdelivr.net/npm/level-selector@latest/dist/level-selector.min.js'></script>
<script src='//cdn.jsdelivr.net/npm/clappr-chromecast-plugin@latest/dist/clappr-chromecast-plugin.min.js'></script>
<script src='//cdn.jsdelivr.net/npm/clappr-pip@latest/dist/clappr-pip.min.js'></script>
<script src='//cdn.jsdelivr.net/npm/clappr-playback-rate-plugin@latest/dist/clappr-playback-rate-plugin.min.js'></script>
<script src="//cdn.jsdelivr.net/npm/shaka-player@2.5.10/dist/shaka-player.compiled.min.js"></script>
<script src="//cdn.jsdelivr.net/gh/clappr/dash-shaka-playback@latest/dist/dash-shaka-playback.external.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<style>
.player-poster[data-poster] {
background-size: cover;
}
body{
margin:0;
padding:0;
}
</style>
</head>
<div id="player"></div>
<script>
var player = new Clappr.Player({
source: 'https://edge2-zapopan.izzigo.tv/live1/out/u/dash/AFIZZIONADOS-HD/default.mpd',
mimeType: 'application/dash+xml',
height: '100%',
width: '100%',
plugins: [LevelSelector, DashShakaPlayback, ChromecastPlugin, ClapprPip.PipButton, ClapprPip.PipPlugin, Clappr.MediaControl],
events: {onReady: function() {var plugin = this.getPlugin('click_to_pause'); plugin && plugin.disable();},},
chromecast: {
appId: '9DFB77C0',
contentType: 'video/mp4',
},
shakaConfiguration: {
drm: {
clearKeys: {
'e56d7c1ed73a004c3ebe5698f6c6f6b1': 'c39150ba26986a8a30bd88c960ee0a98'
}
},
preferredAudioLanguage: 'pt-BR',
},
shakaOnBeforeLoad: function (shaka_player) {},
parentId: '#player'
});
</script>