-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (46 loc) · 1.4 KB
/
index.html
File metadata and controls
48 lines (46 loc) · 1.4 KB
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
<!DOCTYPE html>
<!--
*
* Copyright (C) 2014, bitmovin GmbH, All Rights Reserved
*
* Created on: 2015-02-06 14:00:00
* Author: bitmovin GmbH <dash-player@bitmovin.net>
*
* This source code and its use and distribution, is subject to the terms
* and conditions of the applicable license agreement.
*
-->
<html lang="en">
<head>
<meta charset="utf-8">
<!-- bitdash player -->
<script type="text/javascript" src="https://bitmovin-a.akamaihd.net/bitdash/stable/bitdash.min.js"></script>
</head>
<body>
<center>
<h1>Demo Page for jznight.synology.me</h1>
<div id="wrapper">
<div id="player"></div>
</div>
</center>
<script type="text/javascript">
var conf = {
key: "996ee4ce-34f7-4604-8827-d7973b513458",
source: {
mpd: '/media/dash.mpd?md5=Dfn0XjvoIKVEZVwDiKNeYw&exires=1441186886',
hls: '/media/hls.m3u8?md5=Dfn0XjvoIKVEZVwDiKNeYw&exires=1441186886',
progressive: '/media/out_720.mp4',
poster: '101.png'
}
};
var player = bitdash('player');
player.setup(conf).then(function(value) {
// Success
console.log('Successfully created bitdash player instance');
}, function(reason) {
// Error!
console.log('Error while creating bitdash player instance');
});
</script>
</body>
</html>