-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
481 lines (458 loc) · 23.5 KB
/
index.html
File metadata and controls
481 lines (458 loc) · 23.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- html matetags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Seo -->
<meta name="title" content="Play Onyx" />
<meta name="description" content="A Web Media Player Which You need for your daily tasks" />
<meta name="copyright" content="MainRoute Core" />
<meta name="keywords" content="Plaer. web player, spotifyalternativ, yt play, playit" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mainroute-core.github.io/Play-Onyx/" />
<meta property="og:title" content="Play Onyx" />
<meta property="og:description" content="A Web Media Player Which You need for your daily tasks" />
<meta property="og:image"
content="http://res.cloudinary.com/dpu5ywrox/image/upload/v1768760068/tavazlv3d1rlywnmpy3o.png" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://mainroute-core.github.io/Play-Onyx/" />
<meta property="twitter:title" content="Play Onyx" />
<meta property="twitter:description" content="A Web Media Player Which You need for your daily tasks" />
<meta property="twitter:image"
content="http://res.cloudinary.com/dpu5ywrox/image/upload/v1768760068/tavazlv3d1rlywnmpy3o.png" />
<!-- PWA Content -->
<link href="./manifest.json" rel="manifest" />
<link href=" ./src/logo.png" rel="apple-touch-icon" sizes="180x180" />
<link href=" ./src/logo.png" rel="android-chrome-192x192" sizes="192x192" />
<link href=" ./src/logo.png" rel="android-chrome-512x512" sizes="512x512" />
<link href=" ./src/logo.png" rel="icon" sizes="32x32" />
<link href=" ./src/logo.png" rel="icon" sizes="16x16" />
<link href=" ./src/logo.png" rel="icon" />
<script>
navigator.serviceWorker.register('sw.js', {
type: 'module'
})
.then(reg => console.log('Service Worker Registered'))
.catch(err => console.log('Registration failed', err));
</script>
<!-- StyleSheets and Preconnects -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./src/style.css">
<title>Play Onyx</title>
</head>
<body data-theme="dark">
<nav class="nav-rail">
<div class="nav-fab" onclick="$('#file-in').click()" title="Import Media">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
</svg>
</div>
<div class="nav-item" data-tab="playing" onclick="app.nav('playing')">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z" />
</svg>
<span class="nav-label">Playing</span>
</div>
<div class="nav-item active" data-tab="library" onclick="app.nav('library')">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path
d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12z" />
</svg>
<span class="nav-label">Library</span>
</div>
<div class="nav-item" data-tab="audio" onclick="app.nav('audio')">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z" />
</svg>
<span class="nav-label">Audio</span>
</div>
<div class="nav-item" data-tab="video" onclick="app.nav('video')">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path
d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z" />
</svg>
<span class="nav-label">Video</span>
</div>
<div style="flex: 1"></div>
<div class="nav-item" onclick="app.openModal('settings-modal')">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path
d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L3.15 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z" />
</svg>
<span class="nav-label">Settings</span>
</div>
<div class="nav-item">
<img class="appImg" src="./src/logo.png" title="Play Onyx" alt="Play Onyx" srcset="" />
<span class="nav-label">Play Onyx</span>
</div>
</nav>
<main class="stage">
<div id="view-library" class="view-section active">
<div class="lib-header">
<div>
<h2 style="margin: 0; font-size: 28px" id="lib-title">Library</h2>
<span style="color: var(--md-sys-color-outline); font-size: 14px"><span id="lib-count">0</span>
items</span>
</div>
<div style="display: flex; gap: 10px; flex: 1; justify-content: flex-end">
<select id="sort-select" class="search-bar" style="width: 120px; cursor: pointer"
onchange="app.sortLib(this.value)">
<option value="date">Newest</option>
<option value="name">Name</option>
<option value="size">Size</option>
</select>
<input type="text" class="search-bar" id="search" placeholder="Search files..." />
</div>
</div>
<div class="import-zone" id="drop-zone" onclick="$('#file-in').click()">
<div class="import-icon">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
</svg>
</div>
<div style="display: flex; flex-direction: column; align-items: center">
<span style="font-weight: 500">Add Media</span>
<span style="font-size: 12px; opacity: 0.7">Drop files here or click</span>
</div>
</div>
<div style="flex: 2; overflow-y: auto">
<div class="lib-grid" id="lib-grid"></div>
</div>
</div>
<div id="view-player" class="view-section">
<video id="video-el" playsinline crossorigin="anonymous"></video>
<canvas id="visualizer"></canvas>
<canvas id="wave-vis"></canvas>
<!-- NEW ZIGZAG VISUALIZER -->
<div id="empty-msg" class="empty-state">
<svg width="80" height="80" fill="var(--md-sys-color-surface-variant)" viewBox="0 0 24 24">
<path
d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03A3.003 3.003 0 0 1 11 18c-1.66 0-3-1.34-3-3z" />
</svg>
<span style="font-size: 18px; font-weight: 500">Select media to play</span>
</div>
<div class="bgfixname">Play Onyx</div>
</div>
</main>
<aside class="queue-panel">
<div class="queue-header">
<span>Next Up</span>
<button class="btn-icon" onclick="queue.clear()" title="Clear Queue">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z" />
</svg>
</button>
</div>
<div class="q-list" id="queue-cont"></div>
</aside>
<div class="player-bar">
<div class="progress-cont" id="seek-bar">
<div class="progress-track">
<div class="progress-fill" id="seek-fill"></div>
</div>
</div>
<div class="track-meta">
<div class="track-img" id="curr-thumb"></div>
<div style="overflow: hidden">
<div class="title-wrap">
<div class="title-scroll" id="curr-title">
<span>No Media</span>
</div>
</div>
<div style="font-size: 12px; color: var(--md-sys-color-outline)">
<span id="curr-time">00:00</span> /
<span id="total-time">00:00</span>
</div>
</div>
<button class="btn-icon" title="Details" onclick="app.openModal('meta-modal')">
<svg width="18" height="18" fill="currentColor" viewBox="0 0 24 24">
<path
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z" />
</svg>
</button>
</div>
<div class="ctrl-group">
<button class="btn-icon" id="btn-shuffle" onclick="
player.shuffle = !player.shuffle;
ui.renderCtrls();
">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z" />
</svg>
</button>
<button class="btn-icon" onclick="player.prev()">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M6 6h2v12H6zm3.5 6l8.5 6V6z" />
</svg>
</button>
<button class="btn-icon btn-fab" id="btn-play" onclick="player.toggle()">
<svg width="28" height="28" fill="currentColor" viewBox="0 0 24 24">
<path d="M8 5v14l11-7z" />
</svg>
</button>
<button class="btn-icon" onclick="player.next()">
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
<path d="M6 18l8.5-6L6 6v12zM16 6v12h2V6h-2z" />
</svg>
</button>
<button class="btn-icon" id="btn-loop" onclick="
player.loop = !player.loop;
ui.renderCtrls();
">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z" />
</svg>
</button>
</div>
<div class="ctrl-group" style="justify-content: flex-end">
<button class="btn-icon" onclick="app.openModal('eq-modal')">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z" />
</svg>
</button>
<button class="btn-icon" onclick="app.openModal('vid-modal')">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03A3.003 3.003 0 0 1 11 18c-1.66 0-3-1.34-3-3z" />
</svg>
</button>
<button class="btn-icon" onclick="player.togglePiP()">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path
d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z" />
</svg>
</button>
<div style="width: 80px; padding: 0 8px">
<input type="range" id="vol-slider" min="0" max="1" step="0.05" oninput="player.volume(this.value)" />
</div>
<button class="btn-icon" onclick="
document.fullscreenElement
? document.exitFullscreen()
: document.body.requestFullscreen()
">
<svg width="22" height="22" fill="currentColor" viewBox="0 0 24 24">
<path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" />
</svg>
</button>
<button class="btn-icon" id="btn-q-toggle" onclick="ui.toggleQueue()" title="Toggle Queue"
style="color: var(--md-sys-color-primary)">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z" />
</svg>
</button>
</div>
</div>
<div class="modal-mask" id="settings-modal" onclick="app.closeModal(event)">
<div class="modal" style="width: 480px; max-height: 90vh; overflow-y: auto">
<div class="info-header">
<div class="info-body">
<img src="./src/logo.png" alt="logo" class="track-img" />
<div>
<h2 style="margin: 0; font-size: 20px">Play Onyx</h2>
<span style="font-size: 12px; opacity: 0.6">Version 1.2.0 (Stable)</span>
</div>
</div>
<span onclick="app.closeModal(null, true)"
style="cursor: pointer; font-size: 24px; line-height: 1">×</span>
</div>
<div class="srt-box">
<h3>Keyboard Shortcuts</h3>
<div class="srt-box-grid">
<div class="srt-box-item"><b>Space/Numpad 5</b> Play/Pause</div>
<div class="srt-box-item">
<b>ArrowRight/Numpad 6</b> Forward +5s
</div>
<div class="srt-box-item">
<b>ArrowLeft/Numpad 4</b> Backward -5s
</div>
<div class="srt-box-item"><b>ArrowUp/Numpad 8</b> Increase Vol</div>
<div class="srt-box-item">
<b>ArrowDown/Numpad 2</b> Decrease Vol
</div>
<div class="srt-box-item">
<b>Shift+I/Numpad 1</b> Media MetaData
</div>
<div class="srt-box-item"><b>Shift+E/Numpad 7</b> Audio Studio</div>
<div class="srt-box-item"><b>Shift+V/Numpad 9</b> Video Studio</div>
<div class="srt-box-item"><b>Shift+M/Numpad 3</b> PiP Mode</div>
<div class="srt-box-item"><b>Shift+S/Numpad 0</b> Settings</div>
<div class="srt-box-item"><b>Shift+O</b> Add Files</div>
</div>
</div>
<div style="margin-bottom: 24px">
<h3 style="font-size: 14px; margin: 0 0 12px 0; opacity: 0.9">
Developer Information
</h3>
<div style="
font-size: 13px;
line-height: 1.6;
color: var(--md-sys-color-on-surface-variant);
">
<div style="
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
">
<svg width="16" height="16" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z" />
</svg>
<b>MainRoute Core</b>
</div>
<p style="margin: 0 0 12px 0; font-size: 12px">
Dedicated to building high-performance web tools for daily digital
tasks. Play Onyx is an open-source initiative under the
MainRoute Core media suite.
</p>
<div style="display: flex; gap: 10px">
<a href="https://mainroute-core.github.io/" target="_blank" class="btn-full" style="
text-decoration: none;
text-align: center;
font-size: 12px;
padding: 8px;
">MainRoute Core</a>
<a href="https://github.com/MainRoute-Core/Play-Onyx" target="_blank"
class="btn-full" style="
text-decoration: none;
text-align: center;
font-size: 12px;
padding: 8px;
">GitHub Repository</a>
</div>
</div>
</div>
<div style="
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
">
<div class="setting-row">
<span>Theme</span>
<button class="btn-full" style="width: auto" onclick="app.toggleTheme()">
Switch Theme
</button>
</div>
<button class="btn-full" onclick="app.clearDB()" style="margin-bottom: 8px">
Clear Media Database
</button>
<div style="
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 8px;
">
<button class="btn-full" onclick="settings.export()">
Export JSON
</button>
<button class="btn-full" onclick="$('#import-json').click()">
Import JSON
</button>
</div>
<button class="btn-full" style="
border-color: var(--md-sys-color-error);
color: var(--md-sys-color-error);
" onclick="settings.reset()">
Factory Reset System
</button>
</div>
<div style="
text-align: center;
margin-top: 24px;
opacity: 0.4;
font-size: 10px;
letter-spacing: 1px;
">
© 2025-Present MainRoute Core. ALL RIGHTS RESERVED.
</div>
</div>
</div>
<div class="modal-mask" id="eq-modal" onclick="app.closeModal(event)">
<div class="modal">
<h2>Audio Studio</h2>
<div class="setting-row">
<span>Bass</span><input type="range" min="-15" max="15" oninput="audio.setEq('low', this.value)"
id="eq-low" />
</div>
<div class="setting-row">
<span>Mids</span><input type="range" min="-15" max="15" oninput="audio.setEq('mid', this.value)"
id="eq-mid" />
</div>
<div class="setting-row">
<span>Treble</span><input type="range" min="-15" max="15" oninput="audio.setEq('high', this.value)"
id="eq-high" />
</div>
<div style="
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 8px;
margin-top: 16px;
">
<button class="btn-full" onclick="audio.preset('rock')">Rock</button>
<button class="btn-full" onclick="audio.preset('pop')">Pop</button>
<button class="btn-full" onclick="audio.preset('vocal')">
Vocal
</button>
<button class="btn-full" onclick="audio.preset('bass')">Bass+</button>
<button class="btn-full" onclick="audio.preset('jazz')">Jazz</button>
<button class="btn-full" onclick="audio.preset('flat')">Flat</button>
</div>
<div class="setting-row" style="margin-top: 20px">
<span>Speed (x<span id="speed-val">1.0</span>)</span>
<input type="range" style="width: 50%" min="0.5" max="2.0" step="0.1" value="1"
oninput="player.setSpeed(this.value)" />
</div>
</div>
</div>
<div class="modal-mask" id="vid-modal" onclick="app.closeModal(event)">
<div class="modal">
<h2>Video Studio</h2>
<div class="setting-row">
<span>Brightness</span><input type="range" min="0" max="2" step="0.1" value="1"
oninput="player.filter('brightness', this.value)" />
</div>
<div class="setting-row">
<span>Contrast</span><input type="range" min="0" max="2" step="0.1" value="1"
oninput="player.filter('contrast', this.value)" />
</div>
<div class="setting-row">
<span>Saturate</span><input type="range" min="0" max="3" step="0.1" value="1"
oninput="player.filter('saturate', this.value)" />
</div>
<div class="setting-row">
<span>Hue</span><input type="range" min="0" max="360" step="10" value="0"
oninput="player.filter('hue', this.value)" />
</div>
<button class="btn-full" onclick="$('#sub-in').click()" style="margin-top: 16px">
Load Subtitle (.srt)
</button>
</div>
</div>
<div class="modal-mask" id="meta-modal" onclick="app.closeModal(event)">
<div class="modal">
<h2>
Metadata
<span onclick="app.closeModal(null, true)" style="float: right; cursor: pointer">×</span>
</h2>
<div id="meta-body" style="
line-height: 1.6;
color: var(--md-sys-color-on-surface-variant);
"></div>
</div>
</div>
<div id="toast" class="toast">Action</div>
<div id="ctx-menu"></div>
<input type="file" id="file-in" multiple accept="video/*,audio/*" style="display: none"
onchange="app.handleFiles(this)" />
<input type="file" id="import-json" accept=".json" style="display: none" onchange="settings.import(this)" />
<input type="file" id="sub-in" accept=".vtt,.srt" style="display: none" onchange="player.loadSub(this)" />
<script src="./src/app.js"></script>
</body>
</html>