-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathindex.html
47 lines (47 loc) · 1.2 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
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Publish Image Capture Test'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
.stream-section {
position: relative;
}
#capture-canvas {
position: absolute;
top: 160px;
left: 10px;
width: 180px;
}
</style>
</head>
<body>
{{> top-bar }}
<div id="app">
{{> settings-link}}
{{> test-info testTitle='Publish Image Capture Test'}}
<div class="stream-section">
{{> status-field-publisher}}
{{> statistics-field packets_field='Packets Sent'}}
<div id="video-container" class="centered">
<div class="centered">
<video id="red5pro-publisher" class="red5pro-publisher"
controls autoplay playsinline muted>
</video>
</div>
</div>
<div class="centered">
<p>
<button id="capture-button" class="control ui-button">Take Snapshot</button>
</p>
<canvas id="capture-canvas"></canvas>
</div>
</div>
</div>
{{> footer}}
{{> body-scripts}}
<script src="index.js"></script>
</body>
</html>