This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (110 loc) · 2.54 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
.videoplayer {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
video {
background: #000;
}
.backbutton {
z-index: 201;
}
.button {
background: #2d00f3;
display: inline-block;
color: #fff;
padding: 20px;
}
</style>
</head>
<body>
</body>
<!-- <script data-main="./dist/__example__/index.js" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.js"></script> -->
<script src="./dist/__example__/index.js"></script>
<script>
const antie = {
framework: {
deviceConfiguration: {
pageStrategy: 'html5',
modules: {
base: '../devices/browserdevice',
modifiers: []
},
logging: {
level: 'none'
},
streaming: {
video: {
mediaURIFormat: '%href%',
supported: [
{
protocols: ['http'],
encodings: ['h264'],
transferFormat: ['hls', 'plain'],
maximumBitRate: 3600,
maximumVideoLines: 1080
}
]
},
audio: {
mediaURIFormat: '%href%',
supported: [
{
protocols: ['http'],
encodings: ['aac'],
maximumBitRate: 192
}
]
}
},
input: {
map: {
'13': 'ENTER',
'37': 'LEFT',
'38': 'UP',
'39': 'RIGHT',
'40': 'DOWN',
'112': 'SUBTITLE',
'113': 'PLAY',
'415': 'PLAY',
'114': 'PLAY_PAUSE',
'19': 'PLAY_PAUSE',
'402': 'PLAY_PAUSE',
'115': 'STOP',
'413': 'STOP',
'116': 'FAST_FWD',
'417': 'FAST_FWD',
'117': 'REWIND',
'412': 'REWIND',
'166': 'BACK',
'8': 'BACK',
'20': 'INFO'
}
},
accessibility: {
captions: {
supported: ['application/ttaf+xml']
}
},
layouts: [],
networking: {
supportsJSONP: true
},
capabilities: [],
statLabels: {}
}
}
};
</script>
<div id="root"></div>
</html>