-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
325 lines (320 loc) · 7.92 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<!DOCTYPE html>
<html>
<head>
<title>kemino</title>
<!-- icon & metadata -->
<link rel="icon" type="image/png" href="./assets/images/favicon.png" />
<link rel="apple-touch-icon" href="./assets/images/favicon.png" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="theme-color" content="#" />
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta name="google" content="notranslate" />
<meta name="description" content="kemino" />
<meta name="keywords" content="kemino" />
<meta name="author" content="kemino" />
<!-- viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- fonts -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700"
rel="stylesheet"
/>
<style type="text/css">
@font-face {
font-family: "San Francisco";
src: url("./assets/fonts/SF-Pro-Display-Regular.otf");
}
@font-face {
font-family: "San Francisco Bold";
src: url("./assets/fonts/SF-Pro-Display-Semibold.otf");
}
</style>
<!-- styles -->
<link
rel="stylesheet"
type="text/css"
href="./assets/css/animation.min.css"
/>
<link rel="stylesheet" type="text/css" href="./assets/css/style.css" />
<!-- scripts -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-converter"></script>
<script
type="text/javascript"
src="./assets/js/jquery-337.min.js"
></script>
<script type="text/javascript" src="./assets/js/ac.min.js"></script>
<script type="text/javascript" src="./assets/js/user.js"></script>
<script type="text/javascript" src="./assets/js/kemino.js"></script>
</head>
<body>
<div id="preloader">
<div class="preloader-container">
<div class="loading">
<div class="loading-text" id="loadingStatus">kemino</div>
<div class="loading-spinner"></div>
</div>
</div>
</div>
<div id="config-screen">
<div class="config-container">
<h2>kemino</h2>
<form id="config-form" novalidate>
<label for="username">Username</label>
<input
type="text"
id="username"
name="username"
maxlength="10"
autocomplete="username"
autocapitalize="off"
autofocus
placeholder="Enter username..."
required
/>
<span id="username-error" class="error-message"></span>
<div class="profile-picture-section">
<div class="profile-picture-labels">
<label for="profile-picture">Profile Picture</label>
<button type="button" id="upload-button">
Choose File
</button>
</div>
<div id="profile-picture-preview"></div>
<input
type="file"
id="profile-picture"
name="profile-picture"
accept="image/*"
required
/>
</div>
<label for="max-viewer-count">Peak Viewers</label>
<input type="number" id="max-viewer-count"
name="max-viewer-count" maxlength="6" autocomplete="off"
autocapitalize="off" placeholder="Enter peak viewers..."/
pattern="[0-9]*" oninput="javascript: if (this.value.length
> this.maxLength) this.value = this.value.slice(0,
this.maxLength);" min="1500" max="500000" value="1500"
required />
<div class="buttons">
<button type="submit" id="ok-button">Begin</button>
</div>
</form>
</div>
</div>
<div id="camera-container">
<video id="camera" autoplay playsinline></video>
</div>
<div id="overlay">
<div class="button-grid">
<button
class="grid-button"
data-button="exclamatory"
style="background-color: #ffa500"
>
Exclamatory<br />
<span>😡😠😂</span>
</button>
<button
class="grid-button"
data-button="agree"
style="background-color: #32cd32"
>
Agree<br />
<span>👍</span>
</button>
<button
class="grid-button"
data-button="disagree"
style="background-color: #ff4500"
>
Disagree<br />
<span>😡</span>
</button>
<button
class="grid-button"
data-button="compliment-girl"
style="background-color: #ff69b4"
>
Compliments for Girl<br />
<span>👧</span>
</button>
<button
class="grid-button"
data-button="compliment-guy"
style="background-color: #1e90ff"
>
Compliments for Boy<br />
<span>👦</span>
</button>
<button
class="grid-button"
data-button="compliment-couple"
style="background-color: #9370db"
>
Compliments for Couple<br />
<span>👫</span>
</button>
<button
class="grid-button"
data-button="go-away"
style="background-color: #ff1493"
>
Tell him/her go away<br />
<span>😡</span>
</button>
<button
class="grid-button"
data-button="laughing"
style="background-color: #800080"
>
Laugh in chat<br />
<span>😂</span>
</button>
<button
class="grid-button"
data-button="question"
style="background-color: #3adfc3"
>
Questioning<br />
<span>❓</span>
</button>
</div>
<div id="comments">
<div id="padding"></div>
</div>
<div id="reactions"></div>
<div id="bottom">
<div id="commentsButton">
<img
id="commentsButtonThreeDots"
src="./assets/images/add-elipsis.png"
class="icon"
alt="Elipsis"
/>
</div>
<div id="videoPlusIcon">
<img
src="./assets/images/add-createvideo.png"
class="icon"
alt="Video Plus"
/>
</div>
<div id="addPeopleIcon">
<img
src="./assets/images/add-person.png"
class="icon"
alt="Add People"
/>
</div>
<div id="questionIcon">
<img
src="./assets/images/add-comment.png"
class="icon"
alt="Questions"
/>
</div>
<div id="airplaneIcon">
<img
src="./assets/images/add-airplane.png"
class="icon"
alt="Airplane"
/>
</div>
</div>
<div id="top">
<div id="top-left">
<div id="activeUser">
<div id="userIcon">
<img
src="./assets/images/profile.png"
alt="User Icon"
/>
</div>
<div id="userName"></div>
<div id="userDropDownIcon">
<img
src="./assets/images/add-arrow.png"
class="icon"
id="userDropDownImage"
alt="User Drop Down"
/>
</div>
</div>
</div>
<div id="top-right">
<div id="liveIndicator">LIVE</div>
<div id="viewerCount">
<div id="viewerCountIcon">
<img
src="./assets/images/add-viewer.png"
class="viewerCountIcon"
alt="Viewer Count"
/>
</div>
<span id="viewerCountNumber">0</span>
</div>
<div id="closeStreamIcon">
<img
src="./assets/images/add-close.png"
class="icon"
alt="Close Stream"
/>
</div>
</div>
</div>
<div id="right">
<div id="imageIcon">
<img
src="./assets/images/add-photo.png"
class="icon"
alt="Image"
/>
</div>
<div id="microphoneIcon">
<img
src="./assets/images/add-microphone.png"
class="icon"
alt="Microphone"
/>
</div>
<div id="cameraIcon">
<img
src="./assets/images/add-video.png"
class="icon"
alt="Camera"
/>
</div>
<div id="flipCameraIcon">
<img
src="./assets/images/add-flip.png"
class="icon"
alt="Flip Camera"
/>
</div>
<div id="filtersIcon">
<img
src="./assets/images/add-smiley.png"
class="icon"
alt="Filters"
/>
</div>
</div>
</div>
</body>
</html>