-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathindex.html
75 lines (73 loc) · 1.83 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
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Subscriber 360 Test'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
#red5pro-subscriber {
position: absolute;
left: 0;
}
#canvas-container {
position: absolute;
display: inline-block;
left: 0;
width: 100%;
height: 480px;
background-color: #000;
}
#button-control-container {
position: absolute;
box-sizing: border-box;
padding: 20px;
width: 100%;
text-align: right;
z-index: 101;
bottom: 60px;
}
#canvas {
width: 100%;
height: 100%;
}
.ui-button {
padding: 20px 0px!important;
}
.z-order-below {
z-index: 0;
}
.z-order-above {
z-index: 1;
}
.fixed-height {
height: 480px;
}
.red5pro-media-control-bar {
z-index: 100;
}
</style>
</head>
<body>
{{> top-bar }}
<div id="app">
{{> settings-link}}
{{> test-info testTitle='Subscriber 360 Test'}}
{{> status-field-subscriber}}
{{> statistics-field packets_field='Packets Received'}}
<div class="centered fixed-height" style="position: relative">
<video id="red5pro-subscriber"
controls="controls" autoplay="autoplay" playsinline
class="red5pro-subscriber red5pro-media red5pro-media-background z-order-above"
width="640" height="480">
</video>
</div>
</div>
{{> footer}}
{{> body-scripts}}
{{> mobile-subscriber-util}}
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/103/three.min.js"></script>
<script src="renderer-360.js"></script>
<script src="index.js"></script>
</body>
</html>