forked from red5pro/streaming-html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (80 loc) · 2.22 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
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Publish Shared Object'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
.settings-area {
padding: 5px;
background-color: #eeee;
}
.settings-field, .settings-field > input {
font-size: 1em;
}
.so-container {
width: 50%;
min-width: 320px;
margin: 0 auto;
}
#so-field {
width: 100%;
min-height: 240px;
}
.color-picker-container {
text-align: center;
padding-bottom: 20px;
vertical-align: middle;
display: flex;
align-items: center;
justify-content: center;
color: #3b3b3b;
}
#color-picker {
margin-left: 10px;
}
@media (max-width:510px) {
.so-container {
width: 85%;
min-width: auto;
}
}
</style>
</head>
<body>
{{> top-bar }}
{{> navigation isTestPage=true }}
<div id="app">
{{> settings-link}}
{{> test-info testTitle='Publish Shared Object'}}
<div class="stream-section">
{{> status-field-publisher}}
{{> statistics-field packets_field='Packets Sent'}}
<div class="centered">
<video id="red5pro-publisher" class="red5pro-publisher"
controls autoplay playsinline muted>
</video>
</div>
<div class="settings-area">
<p class="settings-field settings-collapsable">
<label class="settings-label" for="message-input">Message:</label>
<input id="input-field" name="input-field" type="text"></input>
</p>
<p><button class="ui-button" id="send-button">Send</button></p>
<hr class="paddedHR">
<p class="color-picker-container">
<label for="color">Set the text color of messages for all users:</label>
<input type="color" id="color-picker" name="color" disabled
value="#3b3b3b">
</p>
<p class="so-container">
<textarea id="so-field" disabled></textarea>
</p>
</div>
</div>
</div>
{{> body-scripts}}
<script src="index.js"></script>
</body>
</html>