-
Notifications
You must be signed in to change notification settings - Fork 5
/
azuremp.html
59 lines (49 loc) · 1.87 KB
/
azuremp.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Azure Media Player DNA Wrapper</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>
<!--Azure Media Player build -->
<link href="//amp.azure.net/libs/amp/latest/skins/amp-default/azuremediaplayer.min.css" rel="stylesheet">
<script src="//amp.azure.net/libs/amp/latest/azuremediaplayer.min.js"></script>
<!-- Streamroot wrapper -->
<script src="//cdn.streamroot.io/azuremp-dna-wrapper/1/stable/azuremp-dna-wrapper.js"></script>
<script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script>
<!-- Graphs -->
<script src="//tools.streamroot.io/usage-graphs/stable/graphs.js"></script>
</head>
<body>
<header></header>
<center>
<div>
<video id="demoplayer" class="azuremediaplayer amp-default-skin" />
</div>
<div id="streamroot-graphs"></div>
<script>
var player = amp('demoplayer', {
width: '512',
height: '288',
controls: true,
autoplay: true,
});
var dnaConfig = {};
var wrapper = new AzureMPDnaWrapper(player, "demoswebsiteandpartners", dnaConfig);
player.muted(true);
window.player = player;
player.src([{
src: 'https://amssamples.streaming.mediaservices.windows.net/bc57e088-27ec-44e0-ac20-a85ccbcd50da/TearsOfSteel.ism/manifest',
type: 'application/vnd.ms-sstr+xml',
}]);
</script>
</center>
</body>
</html>