forked from red5pro/streaming-html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (83 loc) · 2.44 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
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='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-title title='Stand-Alone Shared Object'}}
<div class="stream-section">
{{> status-field-subscriber}}
<div class="settings-area">
<p class="settings-field settings-collapsable">
<label class="settings-label" for="connect-field">Shared Object Name:</label>
<input type="text" id="connect-field" value="sharedChatTest" />
</p>
<p>
<button id="connect-button" disabled class="ui-button">Connect</button>
<button id="disconnect-button" class="hidden ui-button">Disconnect</button>
</p>
<hr class="paddedHR">
<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" disabled>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>