-
Notifications
You must be signed in to change notification settings - Fork 5
/
dash-drm-6.html
43 lines (40 loc) · 1.19 KB
/
dash-drm-6.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<title>DASH Widevine Big Buck Bunny (Azure)</title>
<link rel="stylesheet" type="text/css" href="css/player.css">
<meta name="robots" content="noindex">
</head>
<body>
<script src="https://cdn.radiantmediatechs.com/rmp/8.4.10/js/rmp.min.js"></script>
<div id="rmp"></div>
<script>
var src = {
dash: 'https://amssamples.streaming.mediaservices.windows.net/622b189f-ec39-43f2-93a2-201ac4e31ce1/BigBuckBunny.ism/manifest(format=mpd-time-csf)'
};
var settings = {
licenseKey: 'your-license-key',
src: src,
autoplay: true,
capLevelToPlayerSize: false,
ignoreDevicePixelRatio: false,
disableKeyboardControl: true,
delayToFade: 5000,
contentMetadata: {
title: 'DASH Widevine Big Buck Bunny (Azure)',
},
shakaDrm: {
servers: {
'com.widevine.alpha': 'https://amssamples.keydelivery.mediaservices.windows.net/Widevine/?KID=1ab45440-532c-4399-94dc-5c5ad9584bac'
}
},
skin: 'tv'
};
window.rmp = new RadiantMP('rmp');
window.rmp.init(settings);
</script>
<script src="js/player.js"></script>
</body>
</html>