-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
552 lines (532 loc) · 30.4 KB
/
index.html
File metadata and controls
552 lines (532 loc) · 30.4 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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1920, height=1080, initial-scale=1.0">
<title>EZ Play TV</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet">
<!-- Stylesheets -->
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/screens.css">
<link rel="stylesheet" href="css/movies-player.css">
</head>
<body>
<!-- ================================================== -->
<!-- SETUP SCREEN -->
<!-- ================================================== -->
<div id="setup-screen" class="screen active">
<div class="setup-container">
<div class="setup-logo">
<div class="logo">
<img src="images/icon-130x130.png" alt="EZ Play TV" class="logo-img">
<span class="logo-text">EZ Play TV</span>
</div>
</div>
<h1 class="setup-title">Welcome to EZ Play TV</h1>
<p class="setup-subtitle">Enter your Stalker Portal details to get started</p>
<div class="setup-form">
<div class="input-group">
<label>Portal URL</label>
<div class="input-field focusable" tabindex="0">
<svg 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-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z" />
</svg>
<input type="text" id="portal-url" placeholder="http://example.com:8080">
</div>
</div>
<div class="input-group">
<label>MAC Address</label>
<div class="input-field focusable" tabindex="0">
<svg viewBox="0 0 24 24">
<path
d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z" />
</svg>
<input type="text" id="mac-address" placeholder="00:1A:79:XX:XX:XX">
</div>
</div>
<div class="input-group">
<label>Account Name (Optional)</label>
<div class="input-field focusable" tabindex="0">
<svg viewBox="0 0 24 24">
<path
d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" />
</svg>
<input type="text" id="account-name" placeholder="My IPTV">
</div>
</div>
</div>
<button class="setup-btn focusable" tabindex="0" onclick="Actions.saveAccount()">Connect</button>
</div>
</div>
<!-- ================================================== -->
<!-- PROFILE SCREEN -->
<!-- ================================================== -->
<div id="profile-screen" class="screen">
<header class="profile-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('home')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
<h1 class="profile-title">Accounts</h1>
</header>
<div class="profile-content">
<div class="accounts-section">
<h2 class="section-title">Your IPTV Providers</h2>
<div class="accounts-list" id="accounts-list"></div>
</div>
</div>
</div>
<!-- ================================================== -->
<!-- HOME SCREEN -->
<!-- ================================================== -->
<div id="home-screen" class="screen">
<header class="home-header">
<div class="logo">
<img src="images/icon-80x80.png" alt="EZ Play TV" class="logo-img">
<span class="logo-text">EZ Play TV</span>
</div>
<div class="header-right">
<div class="profile-name" id="home-profile-name"></div>
<div class="avatar focusable" tabindex="0" onclick="ScreenManager.show('profile')">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="32"
height="32">
<path fill-rule="evenodd"
d="M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z"
clip-rule="evenodd" />
</svg>
</div>
</div>
</header>
<div class="home-content">
<div class="category-cards">
<div class="category-card focusable" tabindex="0" id="livetv-card" autofocus
onclick="ScreenManager.show('channels')">
<div class="card-content">
<div class="card-icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M6 20.25h12m-7.5-3v3m3-3v3m-10.125-3h17.25c.621 0 1.125-.504 1.125-1.125V4.875c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125Z" />
</svg>
</div>
<h3 class="card-title">Live TV's</h3>
<p class="card-subtitle" id="home-channels-count">+5000 Channels</p>
</div>
</div>
<div class="category-card focusable" tabindex="0" onclick="ScreenManager.show('movies')">
<div class="card-content">
<div class="card-icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z" />
<path stroke-linecap="round" stroke-linejoin="round" d="m6.2 5.3 3.1 3.9" />
<path stroke-linecap="round" stroke-linejoin="round" d="m12.4 3.4 3.1 4" />
<path stroke-linecap="round" stroke-linejoin="round"
d="M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z" />
</svg>
</div>
<h3 class="card-title">Movies</h3>
<p class="card-subtitle" id="home-movies-count">+1200 Movies</p>
</div>
</div>
<div class="category-card focusable" tabindex="0" onclick="ScreenManager.show('series')">
<div class="card-content">
<div class="card-icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h1.5C5.496 19.5 6 18.996 6 18.375m-3.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-1.5A1.125 1.125 0 0 1 18 18.375M20.625 4.5H3.375m17.25 0c.621 0 1.125.504 1.125 1.125M20.625 4.5h-1.5C18.504 4.5 18 5.004 18 5.625m3.75 0v1.5c0 .621-.504 1.125-1.125 1.125M3.375 4.5c-.621 0-1.125.504-1.125 1.125M3.375 4.5h1.5C5.496 4.5 6 5.004 6 5.625m-3.75 0v1.5c0 .621.504 1.125 1.125 1.125m0 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m1.5-3.75C5.496 8.25 6 7.746 6 7.125v-1.5M4.875 8.25C5.496 8.25 6 8.754 6 9.375v1.5m0-5.25v5.25m0-5.25C6 5.004 6.504 4.5 7.125 4.5h9.75c.621 0 1.125.504 1.125 1.125m1.125 2.625h1.5m-1.5 0A1.125 1.125 0 0 1 18 7.125v-1.5m1.125 2.625c-.621 0-1.125.504-1.125 1.125v1.5m2.625-2.625c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125M18 5.625v5.25M7.125 12h9.75m-9.75 0A1.125 1.125 0 0 1 6 10.875M7.125 12C6.504 12 6 12.504 6 13.125m0-2.25C6 11.496 5.496 12 4.875 12M18 10.875c0 .621-.504 1.125-1.125 1.125M18 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m-12 5.25v-5.25m0 5.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125m-12 0v-1.5c0-.621-.504-1.125-1.125-1.125M18 18.375v-5.25m0 5.25v-1.5c0-.621.504-1.125 1.125-1.125M18 13.125v1.5c0 .621.504 1.125 1.125 1.125M18 13.125c0-.621.504-1.125 1.125-1.125M6 13.125v1.5c0 .621-.504 1.125-1.125 1.125M6 13.125C6 12.504 5.496 12 4.875 12m-1.5 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M19.125 12h1.5m0 0c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h1.5m14.25 0h1.5" />
</svg>
</div>
<h3 class="card-title">Series</h3>
<p class="card-subtitle" id="home-series-count">+800 Series</p>
</div>
</div>
<div class="category-card focusable" tabindex="0" onclick="ScreenManager.show('favorites')">
<div class="card-content">
<div class="card-icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round"
d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z" />
</svg>
</div>
<h3 class="card-title">Favorites</h3>
<p class="card-subtitle">My List</p>
</div>
</div>
</div>
<div class="home-right">
<div class="clock-widget">
<div class="clock-time" id="clock-time">12:51</div>
<div class="clock-date" id="clock-date">Wednesday, Jan 2</div>
</div>
</div>
</div>
</div>
<!-- ================================================== -->
<!-- FAVORITES SCREEN -->
<!-- ================================================== -->
<div id="favorites-screen" class="screen">
<aside class="favorites-sidebar">
<div class="sidebar-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('home')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
<h2 class="sidebar-title">Favorites</h2>
</div>
<div class="favorites-tabs">
<button class="tab-btn focusable active" tabindex="0"
onclick="UI.renderFavoritesScreen('channels')">Channels</button>
<button class="tab-btn focusable" tabindex="0"
onclick="UI.renderFavoritesScreen('movies')">Movies</button>
<button class="tab-btn focusable" tabindex="0"
onclick="UI.renderFavoritesScreen('series')">Series</button>
</div>
</aside>
<main class="favorites-main">
<header class="favorites-header">
<div class="header-info">
<span class="time-display" id="favorites-time">12:51</span>
</div>
</header>
<div class="favorites-grid" id="favorites-grid"></div>
</main>
</div>
<!-- ================================================== -->
<!-- CHANNELS SCREEN -->
<!-- ================================================== -->
<div id="channels-screen" class="screen">
<aside class="channels-sidebar">
<div class="sidebar-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('home')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
<h2 class="sidebar-title">Live TV's</h2>
</div>
<div class="country-list" id="country-list"></div>
</aside>
<main class="channels-main">
<div class="channels-content">
<header class="channels-header">
<div class="search-bar focusable" tabindex="0">
<svg viewBox="0 0 24 24">
<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" />
</svg>
<input type="text" placeholder="Search channels..." id="channels-search">
</div>
<div class="header-info">
<span class="time-display" id="channels-time">12:51</span>
</div>
</header>
<div class="channels-grid" id="channels-grid"></div>
</div>
<div class="mini-player focusable" onclick="ScreenManager.show('player')" tabindex="0">
<div class="mini-player-video">
<img id="mini-player-poster" src="" style="display: none;" alt="Now Playing">
<div class="play-icon" id="mini-player-play-icon" style="display: none;">
<svg viewBox="0 0 24 24" width="80" height="80">
<circle cx="12" cy="12" r="11" fill="rgba(0,0,0,0.6)" />
<path d="M9.5 7.5v9l7-4.5z" fill="white" />
</svg>
</div>
</div>
<div class="mini-player-content">
<p class="mini-player-label"></p>
<h3 class="mini-player-title"></h3>
<p class="mini-player-description"></p>
<div class="mini-player-progress" style="display: none;">
<span class="progress-time">00:00:00</span>
<div class="progress-bar">
<div class="progress-fill" style="width: 0%"></div>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- ================================================== -->
<!-- MOVIES SCREEN -->
<!-- ================================================== -->
<div id="movies-screen" class="screen">
<aside class="movies-sidebar">
<div class="sidebar-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('home')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
<h2 class="sidebar-title">Movies</h2>
</div>
<div class="genre-list" id="genre-list"></div>
</aside>
<main class="movies-main">
<header class="movies-header">
<div class="search-bar focusable" tabindex="0">
<svg viewBox="0 0 24 24">
<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" />
</svg>
<input type="text" placeholder="Search movies..." id="movies-search">
</div>
<div class="header-info">
<span class="time-display" id="movies-time">12:51</span>
</div>
</header>
<div class="movies-grid" id="movies-grid"></div>
</main>
</div>
<!-- ================================================== -->
<!-- SERIES SCREEN -->
<!-- ================================================== -->
<div id="series-screen" class="screen">
<aside class="series-sidebar">
<div class="sidebar-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('home')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
<h2 class="sidebar-title">Series</h2>
</div>
<div class="series-genre-list" id="series-genre-list"></div>
</aside>
<main class="series-main">
<header class="series-header">
<div class="search-bar focusable" tabindex="0">
<svg viewBox="0 0 24 24">
<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" />
</svg>
<input type="text" placeholder="Search series..." id="series-search">
</div>
<div class="header-info">
<span class="time-display" id="series-time">12:51</span>
</div>
</header>
<div class="series-grid" id="series-grid"></div>
</main>
</div>
<!-- ================================================== -->
<!-- MOVIE DETAILS SCREEN -->
<!-- ================================================== -->
<div id="movie-details-screen" class="screen">
<div class="movie-backdrop"><img id="detail-backdrop" src="" alt="Movie Backdrop"></div>
<div class="movie-details-content">
<div class="details-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('movies')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
</div>
<div class="movie-details-left">
<div class="movie-cover"><img id="detail-poster" src="" alt="Movie Poster"></div>
</div>
<div class="movie-details-right">
<div class="movie-details-badges">
<span class="badge badge-imdb">IMDb</span>
<span class="badge badge-hd">HD</span>
</div>
<h1 class="movie-details-title" id="detail-title">Movie Title</h1>
<p class="movie-details-tagline" id="detail-tagline">Movie tagline</p>
<div class="movie-details-meta">
<span id="detail-year">2024</span>
<span id="detail-duration">2h 30m</span>
<span class="movie-details-rating" id="detail-rating">
<svg viewBox="0 0 24 24">
<path
d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" />
</svg>
8.5
</span>
</div>
<div class="movie-details-genres" id="detail-genres"></div>
<p class="movie-details-description" id="detail-description">Movie description goes here.</p>
<div class="movie-details-cast">
<p class="cast-label">Starring</p>
<p class="cast-names" id="detail-cast">Actor 1, Actor 2, Actor 3</p>
</div>
<div class="movie-details-actions">
<button class="btn-play focusable" tabindex="0" onclick="Actions.playMovie()">
<svg viewBox="0 0 24 24">
<path d="M8 5v14l11-7z" />
</svg>
Play Movie
</button>
<button class="btn-secondary focusable" tabindex="0" id="movie-favorite-btn"
onclick="Actions.toggleMovieFavorite()">
<svg viewBox="0 0 24 24" id="movie-favorite-icon">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
<span id="movie-favorite-text">Favorite</span>
</button>
</div>
</div>
</div>
</div>
<!-- ================================================== -->
<!-- SERIES DETAILS SCREEN -->
<!-- ================================================== -->
<div id="series-details-screen" class="screen">
<div class="movie-backdrop"><img id="series-details-backdrop" src="" alt="Series Backdrop"></div>
<div class="movie-details-content">
<div class="details-header">
<button class="back-btn focusable" tabindex="0" onclick="ScreenManager.show('series')">
<svg viewBox="0 0 24 24">
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
</svg>
</button>
</div>
<div class="movie-details-left">
<div class="movie-cover"><img id="series-details-poster" src="" alt="Series Poster"></div>
</div>
<div class="movie-details-right">
<div class="movie-details-badges">
<span class="badge badge-imdb">IMDb</span>
<span class="badge badge-hd">HD</span>
</div>
<h1 class="movie-details-title" id="series-details-title">Series Title</h1>
<div class="movie-details-meta">
<span id="series-details-year">2024</span>
<span id="series-details-seasons">1 Season</span>
<span class="movie-details-rating" id="series-details-rating">
<svg viewBox="0 0 24 24">
<path
d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" />
</svg>
8.5
</span>
</div>
<p class="movie-details-description" id="series-details-description">Series description goes here...</p>
<h3 class="episodes-section-title">Episodes</h3>
<div class="episodes-list" id="series-episodes-list">
<!-- Episodes will be populated here -->
</div>
<div class="movie-details-actions" style="margin-top: 20px;">
<button class="btn-secondary focusable" id="series-fav-btn" tabindex="0">
<svg viewBox="0 0 24 24" id="series-favorite-icon">
<path
d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" />
</svg>
<span id="series-favorite-text">Add to Favorites</span>
</button>
</div>
</div>
</div>
</div>
<!-- ================================================== -->
<!-- PLAYER SCREEN -->
<!-- ================================================== -->
<div id="player-screen" class="screen">
<div class="player-video">
<video id="video-player" autoplay playsinline></video>
</div>
<div class="player-overlay">
<div class="player-header">
<div class="player-weather">
</div>
<div class="player-datetime">
<div class="player-day" id="player-day">Wednesday</div>
<div class="player-date-time" id="player-datetime">01/02/2024 12:51:27</div>
</div>
</div>
<div class="player-content">
<!-- Channel Overlay (for Live TV) -->
<div class="channel-overlay" id="channel-overlay">
<div class="channel-info-section">
<div class="channel-display">
<div class="channel-logo-large" id="player-channel-logo"></div>
<div class="channel-details">
<div class="channel-number" id="player-channel-number">001</div>
<div class="channel-name-large" id="player-channel-name">Channel Name</div>
</div>
</div>
</div>
<div class="epg-panel" id="player-epg-panel">
<div class="epg-items" id="player-epg-items">
<div class="epg-item epg-current">
<span class="epg-time">20:45 - 22:45</span>
<span class="epg-title">Program Title</span>
</div>
<div class="epg-item">
<span class="epg-time">22:55 - 05:42</span>
<span class="epg-title">Next Program</span>
</div>
</div>
<div class="epg-progress-bar" id="player-epg-progress">
<div class="epg-progress-fill" style="width: 45%"></div>
</div>
</div>
</div>
<!-- VOD Overlay (for Movies/Series) -->
<div class="vod-overlay" id="vod-overlay" style="display:none">
<div class="vod-info">
<h1 class="vod-title" id="player-vod-title">Movie Title</h1>
<p class="vod-meta" id="player-vod-meta">2024 • 2h 15m</p>
</div>
<div class="vod-controls">
<div class="vod-progress-container">
<span class="vod-time-current" id="player-time-current">00:00</span>
<div class="vod-progress-bar">
<div class="vod-progress-fill" id="player-progress-fill" style="width:0%"></div>
</div>
<span class="vod-time-duration" id="player-time-duration">00:00</span>
</div>
<div class="vod-buttons">
<button class="vod-btn focusable" tabindex="0" onclick="Actions.playerSeekBackward()">
<svg viewBox="0 0 24 24">
<path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z" />
</svg>
<span>-10s</span>
</button>
<button class="vod-btn vod-btn-play focusable" tabindex="0"
onclick="Actions.playerTogglePlayPause()">
<svg viewBox="0 0 24 24" id="player-play-icon">
<path d="M8 5v14l11-7z" />
</svg>
</button>
<button class="vod-btn focusable" tabindex="0" onclick="Actions.playerSeekForward()">
<svg viewBox="0 0 24 24">
<path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z" />
</svg>
<span>+30s</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ================================================== -->
<!-- SCRIPTS -->
<!-- ================================================== -->
<!-- HLS.js and mpegts.js for video playback -->
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/mpegts.js@latest/dist/mpegts.min.js"></script>
<!-- JavaScript Modules -->
<script src="js/data.js"></script>
<script src="js/accounts.js"></script>
<script src="js/favorites.js"></script>
<script src="js/stalker-luna-service.js"></script>
<script src="js/stalker-api.js"></script>
<script src="js/player.js"></script>
<script src="js/content-manager.js"></script>
<script src="js/screens.js"></script>
<script src="js/navigation.js"></script>
<script src="js/ui.js"></script>
<script src="js/actions.js"></script>
<script src="js/app.js"></script>
</body>
</html>