-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
485 lines (477 loc) · 30.3 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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Video player similar to YouTube's player for playing videos"
/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>YouTube Player</title>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap"
rel="stylesheet"
/>
<!-- <link rel="stylesheet" href="./src/styles/main.scss" /> -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=fetch"></script>
<script defer type="module" src="/src/main.ts"></script>
</head>
<body>
<div id="backdrop" class="file-picker" hidden>
<input type="file" id="input" class="file-picker" multiple tabindex="-1" />
<div id="container" class="file-picker">
<div id="icon" class="file-picker">
<svg
width="200"
height="200"
fill="none"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.0016 2.18C6.48159 2.18 2.00159 6.66 2.00159 12.18C2.00159 17.7 6.48159 22.18 12.0016 22.18C17.5216 22.18 22.0016 17.7 22.0016 12.18C22.0016 6.66 17.5216 2.18 12.0016 2.18Z"
fill="white"
></path>
<path d="M16.56 12L9.6 16.08L9.6 7.92L16.56 12Z" fill="#ff4c4c"></path>
</svg>
</div>
<h1 id="label" class="file-picker">Drop files anywhere to play</h1>
</div>
</div>
<header class="header">
<div class="header-inner-container">
<div class="start">
<button class="icon-button menu-btn" disabled>
<svg focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>
</svg>
</button>
<a class="youtube-icon" href="/" tabindex="-1" aria-disabled="true">
<svg
width="90px"
height="20px"
focusable="false"
viewBox="0 0 90 20"
preserveAspectRatio="xMidYMid meet"
>
<g viewBox="0 0 90 20" preserveAspectRatio="xMidYMid meet">
<g>
<path
d="M27.9727 3.12324C27.6435 1.89323 26.6768 0.926623 25.4468 0.597366C23.2197 2.24288e-07 14.285 0 14.285 0C14.285 0 5.35042 2.24288e-07 3.12323 0.597366C1.89323 0.926623 0.926623 1.89323 0.597366 3.12324C2.24288e-07 5.35042 0 10 0 10C0 10 2.24288e-07 14.6496 0.597366 16.8768C0.926623 18.1068 1.89323 19.0734 3.12323 19.4026C5.35042 20 14.285 20 14.285 20C14.285 20 23.2197 20 25.4468 19.4026C26.6768 19.0734 27.6435 18.1068 27.9727 16.8768C28.5701 14.6496 28.5701 10 28.5701 10C28.5701 10 28.5677 5.35042 27.9727 3.12324Z"
fill="#FF0000"
></path>
<path
d="M11.4253 14.2854L18.8477 10.0004L11.4253 5.71533V14.2854Z"
fill="white"
></path>
</g>
<g style="fill: var(--wordmark-text-color)">
<g id="youtube-paths">
<path
d="M34.6024 13.0036L31.3945 1.41846H34.1932L35.3174 6.6701C35.6043 7.96361 35.8136 9.06662 35.95 9.97913H36.0323C36.1264 9.32532 36.3381 8.22937 36.665 6.68892L37.8291 1.41846H40.6278L37.3799 13.0036V18.561H34.6001V13.0036H34.6024Z"
></path>
<path
d="M41.4697 18.1937C40.9053 17.8127 40.5031 17.22 40.2632 16.4157C40.0257 15.6114 39.9058 14.5437 39.9058 13.2078V11.3898C39.9058 10.0422 40.0422 8.95805 40.315 8.14196C40.5878 7.32588 41.0135 6.72851 41.592 6.35457C42.1706 5.98063 42.9302 5.79248 43.871 5.79248C44.7976 5.79248 45.5384 5.98298 46.0981 6.36398C46.6555 6.74497 47.0647 7.34234 47.3234 8.15137C47.5821 8.96275 47.7115 10.0422 47.7115 11.3898V13.2078C47.7115 14.5437 47.5845 15.6161 47.3329 16.4251C47.0812 17.2365 46.672 17.8292 46.1075 18.2031C45.5431 18.5771 44.7764 18.7652 43.8098 18.7652C42.8126 18.7675 42.0342 18.5747 41.4697 18.1937ZM44.6353 16.2323C44.7905 15.8231 44.8705 15.1575 44.8705 14.2309V10.3292C44.8705 9.43077 44.7929 8.77225 44.6353 8.35833C44.4777 7.94206 44.2026 7.7351 43.8074 7.7351C43.4265 7.7351 43.156 7.94206 43.0008 8.35833C42.8432 8.77461 42.7656 9.43077 42.7656 10.3292V14.2309C42.7656 15.1575 42.8408 15.8254 42.9914 16.2323C43.1419 16.6415 43.4123 16.8461 43.8074 16.8461C44.2026 16.8461 44.4777 16.6415 44.6353 16.2323Z"
></path>
<path
d="M56.8154 18.5634H54.6094L54.3648 17.03H54.3037C53.7039 18.1871 52.8055 18.7656 51.6061 18.7656C50.7759 18.7656 50.1621 18.4928 49.767 17.9496C49.3719 17.4039 49.1743 16.5526 49.1743 15.3955V6.03751H51.9942V15.2308C51.9942 15.7906 52.0553 16.188 52.1776 16.4256C52.2999 16.6631 52.5045 16.783 52.7914 16.783C53.036 16.783 53.2712 16.7078 53.497 16.5573C53.7228 16.4067 53.8874 16.2162 53.9979 15.9858V6.03516H56.8154V18.5634Z"
></path>
<path
d="M64.4755 3.68758H61.6768V18.5629H58.9181V3.68758H56.1194V1.42041H64.4755V3.68758Z"
></path>
<path
d="M71.2768 18.5634H69.0708L68.8262 17.03H68.7651C68.1654 18.1871 67.267 18.7656 66.0675 18.7656C65.2373 18.7656 64.6235 18.4928 64.2284 17.9496C63.8333 17.4039 63.6357 16.5526 63.6357 15.3955V6.03751H66.4556V15.2308C66.4556 15.7906 66.5167 16.188 66.639 16.4256C66.7613 16.6631 66.9659 16.783 67.2529 16.783C67.4974 16.783 67.7326 16.7078 67.9584 16.5573C68.1842 16.4067 68.3488 16.2162 68.4593 15.9858V6.03516H71.2768V18.5634Z"
></path>
<path
d="M80.609 8.0387C80.4373 7.24849 80.1621 6.67699 79.7812 6.32186C79.4002 5.96674 78.8757 5.79035 78.2078 5.79035C77.6904 5.79035 77.2059 5.93616 76.7567 6.23014C76.3075 6.52412 75.9594 6.90747 75.7148 7.38489H75.6937V0.785645H72.9773V18.5608H75.3056L75.5925 17.3755H75.6537C75.8724 17.7988 76.1993 18.1304 76.6344 18.3774C77.0695 18.622 77.554 18.7443 78.0855 18.7443C79.038 18.7443 79.7412 18.3045 80.1904 17.4272C80.6396 16.5476 80.8653 15.1765 80.8653 13.3092V11.3266C80.8653 9.92722 80.7783 8.82892 80.609 8.0387ZM78.0243 13.1492C78.0243 14.0617 77.9867 14.7767 77.9114 15.2941C77.8362 15.8115 77.7115 16.1808 77.5328 16.3971C77.3564 16.6158 77.1165 16.724 76.8178 16.724C76.585 16.724 76.371 16.6699 76.1734 16.5594C75.9759 16.4512 75.816 16.2866 75.6937 16.0702V8.96062C75.7877 8.6196 75.9524 8.34209 76.1852 8.12337C76.4157 7.90465 76.6697 7.79646 76.9401 7.79646C77.2271 7.79646 77.4481 7.90935 77.6034 8.13278C77.7609 8.35855 77.8691 8.73485 77.9303 9.26636C77.9914 9.79787 78.022 10.5528 78.022 11.5335V13.1492H78.0243Z"
></path>
<path
d="M84.8657 13.8712C84.8657 14.6755 84.8892 15.2776 84.9363 15.6798C84.9833 16.0819 85.0821 16.3736 85.2326 16.5594C85.3831 16.7428 85.6136 16.8345 85.9264 16.8345C86.3474 16.8345 86.639 16.6699 86.7942 16.343C86.9518 16.0161 87.0365 15.4705 87.0506 14.7085L89.4824 14.8519C89.4965 14.9601 89.5035 15.1106 89.5035 15.3011C89.5035 16.4582 89.186 17.3237 88.5534 17.8952C87.9208 18.4667 87.0247 18.7536 85.8676 18.7536C84.4777 18.7536 83.504 18.3185 82.9466 17.446C82.3869 16.5735 82.1094 15.2259 82.1094 13.4008V11.2136C82.1094 9.33452 82.3987 7.96105 82.9772 7.09558C83.5558 6.2301 84.5459 5.79736 85.9499 5.79736C86.9165 5.79736 87.6597 5.97375 88.1771 6.32888C88.6945 6.684 89.059 7.23433 89.2707 7.98457C89.4824 8.7348 89.5882 9.76961 89.5882 11.0913V13.2362H84.8657V13.8712ZM85.2232 7.96811C85.0797 8.14449 84.9857 8.43377 84.9363 8.83593C84.8892 9.2381 84.8657 9.84722 84.8657 10.6657V11.5641H86.9283V10.6657C86.9283 9.86133 86.9001 9.25221 86.846 8.83593C86.7919 8.41966 86.6931 8.12803 86.5496 7.95635C86.4062 7.78702 86.1851 7.7 85.8864 7.7C85.5854 7.70235 85.3643 7.79172 85.2232 7.96811Z"
></path>
</g>
</g>
</g>
</svg>
<span class="country-code"></span>
</a>
</div>
<div class="center">
<div class="search-container" role="search" has-focus="false">
<form id="search-form" class="search-form" action="https://youtube.com/results">
<div class="container">
<div class="search-input" slot="search-input">
<input
id="search-input"
autocapitalize="none"
autocomplete="off"
autocorrect="off"
name="search_query"
tabindex="0"
type="text"
spellcheck="false"
placeholder="Search"
aria-label="Search"
aria-haspopup="false"
aria-autocomplete="list"
dir="ltr"
class="ytd-searchbox"
/>
</div>
</div>
<button class="search-button" data-tooltip aria-label="Search" tabindex="-1">
<svg focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
></path>
</svg>
</button>
</form>
</div>
<div id="voice-search-button">
<button
class="icon-button voice-search"
aria-label="Search with your voice"
data-tooltip
disabled
>
<svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet">
<path
d="M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"
></path>
</svg>
</button>
</div>
</div>
<div class="end">
<div class="button-group">
<button
class="icon-button"
aria-label="Choose Files"
id="choose-file-button"
data-tooltip
>
<svg focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z"
></path>
</svg>
</button>
<button class="icon-button" data-tooltip aria-label="Apps" disabled>
<svg focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"
></path>
</svg></button
><button class="icon-button" aria-label="Notifications" data-tooltip disabled>
<svg focusable="false" viewBox="0 0 24 24" aria-hidden="true">
<path
d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"
></path>
</svg>
</button>
<button class="icon-button avatar-btn" disabled>
<svg
width="32"
height="32"
fill="none"
viewBox="0 0 32 32"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M 16.0379,0.07547 C 24.8533,0.07547 32,7.22204 32,16.0377 32,24.8534 24.8533,32 16.0377,32 7.22204,32 0.07547,24.8534 0.07547,16.0377 0.07547,7.22204 7.22204,0.07547 16.0379,0.07547 Z"
class="bg"
></path>
<path
class="path"
d="m 5.28287,26.8251 c 0,0 4.447742,4.46748 10.847742,4.402174 C 22.530611,31.161964 26.7168,26.8685 26.7168,26.8685 c 0,0 -2.880065,-6.057553 -10.651495,-6.090206 C 8.293878,20.745644 5.28287,26.8251 5.28287,26.8251 Z"
></path>
<circle class="path" cx="15.983673" cy="12.257545" r="5.6653061"></circle>
</svg>
</button>
</div>
</div>
</div>
</header>
<main id="watch-page" class="watch-page">
<div id="columns" class="watch-page">
<div id="primary" class="watch-page">
<!-- Video Player -->
<div class="paused" id="video-player">
<div id="container" class="video-player">
<video class="video-stream html5-main-video"></video>
<!-- Player Gradients -->
<div class="player-gradient bottom"></div>
<!-- Video preview -->
<div class="video-preview" id="main">
<div class="video-preview hidden" id="container">
<div id="video-container" class="video-preview">
<!-- <img src="images/thumbnail.png" id="video" class="video-preview" /> -->
<video id="video" class="video-preview"></video>
</div>
<div id="text" class="video-preview">34:43</div>
</div>
</div>
<!-- Player Controls -->
<div id="video-controls" class="video-controls" hidden>
<div class="progress-bar-container">
<div id="background" class="progress-bar"></div>
<div id="played" class="progress-bar"></div>
<div id="hover" class="progress-bar"></div>
<div id="scrubber" class="progress-bar"></div>
</div>
<div class="video-controls" id="container">
<div class="video-controls left">
<button class="control-button play-button" id="paused">
<div class="play-pause-icon">
<span class="play-pause-path start"></span>
<span class="play-pause-path middle"></span>
<span class="play-pause-path end"></span>
</div>
<svg viewBox="0 0 36 36" class="replay-icon">
<path
d="M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"
></path>
</svg>
</button>
<button class="control-button next-button">
<svg viewBox="0 0 36 36">
<path
d="M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"
></path>
</svg>
</button>
<button class="control-button mute-button" id="unset">
<svg viewBox="0 0 36 36">
<g id="zero">
<path
d="m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"
></path>
</g>
<g id="half">
<path d="m 8,21 h 4 l 5,5 V 10 l -5,5 H 8 Z" />
<path
d="m 19,14 v 8 c 1.48,-0.68 2.5,-2.23 2.5,-4 0,-1.74 -1.02,-3.26 -2.5,-4 z"
/>
</g>
<g id="full">
<path
d="m 19,11.29 c 2.89,0.86 5,3.54 5,6.71 0,3.17 -2.11,5.85 -5,6.71 v 2.06 c 4.01,-0.91 7,-4.49 7,-8.77 0,-4.28 -2.99,-7.86 -7,-8.77 z"
/>
</g>
</svg>
</button>
<div id="volume-adjust" class="volume-adjust">
<input
type="range"
id="range"
min="0"
max="20"
class="volume-adjust"
/>
<div id="background" class="volume-adjust"></div>
<div id="volume" class="volume-adjust"></div>
<div id="scrubber" class="volume-adjust"></div>
</div>
<div class="time-display">
<span class="time-current">0:00</span>
<span class="time-separator">/</span>
<span class="time-duration">0:00</span>
</div>
<button class="control-button fullscreen-scroll-button">
<svg viewBox="0 0 24 24">
<path
d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"
></path>
</svg>
</button>
</div>
<div class="video-controls right">
<button class="control-button settings-button">
<svg version="1.1" viewBox="0 0 36 36">
<path
d="m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z"
></path>
</svg>
</button>
<button class="control-button miniplayer-button">
<svg version="1.1" viewBox="0 0 36 36">
<path
d="M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z"
fill="#fff"
></path>
</svg>
</button>
<button class="control-button cinema-button">
<svg version="1.1" viewBox="0 0 36 36">
<path
class="cinema-on-icon"
d="m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z"
fill-rule="evenodd"
></path>
<path
class="cinema-off-icon"
d="m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z"
fill-rule="evenodd"
></path>
</svg>
</button>
<button class="control-button fullscreen-button">
<svg class="fullscreen-on-icon" version="1.1" viewBox="0 0 36 36">
<path
class="corner-1"
d="m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"
></path>
<path
class="corner-2"
d="m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"
></path>
<path
class="corner-3"
d="m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"
></path>
<path
class="corner-4"
d="M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"
></path>
</svg>
<svg class="fullscreen-off-icon" version="1.1" viewBox="0 0 36 36">
<path
class="corner-1"
d="m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"
></path>
<path
class="corner-2"
d="m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"
></path>
<path
class="corner-3"
d="m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"
></path>
<path
class="corner-4"
d="m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"
></path>
</svg>
</button>
</div>
</div>
</div>
<!-- Initial player screen -->
<div id="initial-player-container">
<div id="initial-player-container-inner">
<button id="large-play-button" tabindex="-1">
<svg height="100%" version="1.1" viewBox="0 0 68 48" width="100%">
<path
class="ytp-large-play-button-bg"
d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"
fill="#232222"
></path>
<path d="M 45,24 27,14 27,34" fill="#fff"></path>
</svg>
</button>
</div>
</div>
</div>
</div>
<!-- Video Player Ends -->
<!-- Video Info Starts -->
<div id="video-info" class="video-info">
<div id="container" class="video-info">
<h1 id="video-title" class="video-info">YouTube Video Player</h1>
<div id="info-text" class="video-info">
<div id="count" class="video-info">No views</div>
<span id="dot" class="video-info">•</span>
<div id="video-date" class="video-info">18 Jun 2021</div>
</div>
<div id="divider" class="video-info"></div>
</div>
</div>
<!-- Video Info Ends -->
</div>
<!-- Secondary Section Starts -->
<div id="secondary" class="watch-page">
<!-- Watch Skeleton -->
<div class="watch-skeleton" hidden>
<div id="upnext" class="skeleton-bg-color"></div>
</div>
<!-- Playlist Panel -->
<div class="playlist-panel">
<div class="playlist-header">
<div class="contents">
<div class="details">
<h3 class="title">Playlist</h3>
<div class="subtitle">
<span id="current-playlist-item">0</span>
<span> / </span>
<span id="playlist-item-count">0</span>
</div>
</div>
<button
class="icon-button choose-video"
id="add-to-playlist"
aria-label="Choose videos"
title="Choose videos"
>
<svg
xmlns="http://www.w3.org/2000/svg"
enable-background="new 0 0 24 24"
viewBox="0 0 24 24"
>
<path
d="M14,10H3v2h11V10z M14,6H3v2h11V6z M18,14v-4h-2v4h-4v2h4v4h2v-4h4v-2H18z M3,16h7v-2H3V16z"
/>
</svg>
</button>
</div>
</div>
<div id="playlist-panel-items">
<div id="playlist-placeholder">
<span
>Choose videos to create a Playlist for this session, You can choose one
or multiple videos at once.</span
>
</div>
</div>
</div>
</div>
</div>
</main>
<!-------- Templates -------->
<!-- Skeleton Video Tile -->
<template id="watch-skeleton-tile">
<article class="watch-skeleton">
<div class="video-skeleton">
<div class="video-details">
<div class="thumbnail skeleton-bg-color"></div>
<div class="details flex-1">
<div class="video-title text-shell skeleton-bg-color"></div>
<div class="video-meta text-shell skeleton-bg-color"></div>
</div>
</div>
</div>
</article>
</template>
<!-- Playlist video tile -->
<template id="playlist-tile">
<div id="container">
<div id="index-container">
<svg viewBox="0 0 48 48" preserveAspectRatio="xMidYMid meet">
<path d="M0 18H10v4h24v-4zM8 30h26v-4H10v4z"></path>
</svg>
<span>▶</span>
</div>
<div id="thumbnail-container">
<img id="thumbnail" />
<span id="duration"></span>
</div>
<div id="meta">
<h4 id="video-title"></h4>
<p id="channel-name" title="Your Videos">Your Videos</p>
</div>
</div>
</template>
</body>
</html>