myetv-player 1.0.0 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/codeql.yml +100 -0
- package/README.md +49 -58
- package/SECURITY.md +50 -0
- package/css/myetv-player.css +424 -219
- package/css/myetv-player.min.css +1 -1
- package/dist/myetv-player.js +1759 -1502
- package/dist/myetv-player.min.js +1705 -1469
- package/package.json +7 -1
- package/plugins/README.md +1016 -0
- package/plugins/cloudflare/README.md +1068 -0
- package/plugins/cloudflare/myetv-player-cloudflare-stream-plugin.js +556 -0
- package/plugins/facebook/README.md +1024 -0
- package/plugins/facebook/myetv-player-facebook-plugin.js +437 -0
- package/plugins/gamepad-remote-controller/README.md +816 -0
- package/plugins/gamepad-remote-controller/myetv-player-gamepad-remote-plugin.js +678 -0
- package/plugins/google-adsense-ads/README.md +1 -0
- package/plugins/google-adsense-ads/g-adsense-ads-plugin.js +158 -0
- package/plugins/google-ima-ads/README.md +1 -0
- package/plugins/google-ima-ads/g-ima-ads-plugin.js +355 -0
- package/plugins/twitch/README.md +1185 -0
- package/plugins/twitch/myetv-player-twitch-plugin.js +569 -0
- package/plugins/vast-vpaid-ads/README.md +1 -0
- package/plugins/vast-vpaid-ads/vast-vpaid-ads-plugin.js +346 -0
- package/plugins/vimeo/README.md +1416 -0
- package/plugins/vimeo/myetv-player-vimeo.js +640 -0
- package/plugins/youtube/README.md +851 -0
- package/plugins/youtube/myetv-player-youtube-plugin.js +1714 -210
- package/scss/README.md +160 -0
- package/scss/_controls.scss +184 -30
- package/scss/_menus.scss +840 -672
- package/scss/_responsive.scss +67 -105
- package/scss/_volume.scss +67 -105
- package/src/README.md +559 -0
- package/src/controls.js +17 -5
- package/src/core.js +1237 -1060
- package/src/i18n.js +27 -1
- package/src/quality.js +478 -436
- package/src/subtitles.js +2 -2
package/scss/_menus.scss
CHANGED
|
@@ -5,9 +5,177 @@
|
|
|
5
5
|
@use 'mixins' as *;
|
|
6
6
|
@use 'variables' as *;
|
|
7
7
|
|
|
8
|
+
/* ===================================
|
|
9
|
+
ALL SUBMENUS - ULTRA-COMPACT FIX
|
|
10
|
+
=================================== */
|
|
11
|
+
|
|
12
|
+
/* Apply to ALL submenus */
|
|
13
|
+
.settings-submenu,
|
|
14
|
+
.subtitles-menu,
|
|
15
|
+
.quality-submenu,
|
|
16
|
+
.speed-submenu,
|
|
17
|
+
.yt-subtitles-submenu,
|
|
18
|
+
.yt-quality-submenu {
|
|
19
|
+
/* Ultra-compact: fit to content */
|
|
20
|
+
width: fit-content !important;
|
|
21
|
+
min-width: auto !important;
|
|
22
|
+
max-width: 180px !important;
|
|
23
|
+
/* Always open to the LEFT */
|
|
24
|
+
right: 100% !important;
|
|
25
|
+
left: auto !important;
|
|
26
|
+
margin-right: 5px !important;
|
|
27
|
+
margin-left: 0 !important;
|
|
28
|
+
/* Scrollbar for long lists */
|
|
29
|
+
max-height: 250px !important;
|
|
30
|
+
overflow-y: auto !important;
|
|
31
|
+
overflow-x: hidden !important;
|
|
32
|
+
/* Text handling */
|
|
33
|
+
white-space: nowrap !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* All submenu options (inside submenus) */
|
|
37
|
+
.settings-submenu .settings-suboption,
|
|
38
|
+
.subtitles-menu .subtitle-option,
|
|
39
|
+
.quality-submenu .quality-option,
|
|
40
|
+
.speed-submenu .speed-option,
|
|
41
|
+
.yt-subtitles-submenu .quality-option {
|
|
42
|
+
padding: 8px 10px !important;
|
|
43
|
+
font-size: 12px !important;
|
|
44
|
+
white-space: nowrap !important;
|
|
45
|
+
overflow: hidden !important;
|
|
46
|
+
text-overflow: ellipsis !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* ===================================
|
|
50
|
+
SETTINGS MENU - FONT CONSISTENCY
|
|
51
|
+
=================================== */
|
|
52
|
+
|
|
53
|
+
/* Main settings menu options (not in submenus) - keep consistent size */
|
|
54
|
+
.settings-menu > .settings-option,
|
|
55
|
+
.settings-menu > .subtitles-option {
|
|
56
|
+
font-size: 13px !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.settings-menu > .settings-option span,
|
|
60
|
+
.settings-menu > .subtitles-option span {
|
|
61
|
+
font-size: 13px !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Override any existing .subtitles-option font-size */
|
|
65
|
+
.subtitles-btn,
|
|
66
|
+
.subtitles-control {
|
|
67
|
+
font-size: 13px !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* ===================================
|
|
71
|
+
RESPONSIVE - PROGRESSIVE REDUCTION
|
|
72
|
+
=================================== */
|
|
73
|
+
|
|
74
|
+
/* Tablets and larger phones */
|
|
75
|
+
@media (max-width: 768px) {
|
|
76
|
+
/* Main menu options stay readable */
|
|
77
|
+
.settings-menu > .settings-option,
|
|
78
|
+
.settings-menu > .subtitles-option {
|
|
79
|
+
font-size: 12px !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Submenus get smaller */
|
|
83
|
+
.settings-submenu,
|
|
84
|
+
.subtitles-menu,
|
|
85
|
+
.quality-submenu,
|
|
86
|
+
.speed-submenu,
|
|
87
|
+
.yt-subtitles-submenu,
|
|
88
|
+
.yt-quality-submenu {
|
|
89
|
+
max-width: min(140px, calc(100vw - 180px)) !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.settings-submenu .settings-suboption,
|
|
93
|
+
.subtitles-menu .subtitle-option,
|
|
94
|
+
.quality-submenu .quality-option,
|
|
95
|
+
.speed-submenu .speed-option,
|
|
96
|
+
.yt-subtitles-submenu .quality-option {
|
|
97
|
+
padding: 7px 8px !important;
|
|
98
|
+
font-size: 11px !important;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Small phones */
|
|
103
|
+
@media (max-width: 600px) {
|
|
104
|
+
.settings-menu > .settings-option,
|
|
105
|
+
.settings-menu > .subtitles-option {
|
|
106
|
+
font-size: 11px !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.settings-submenu,
|
|
110
|
+
.subtitles-menu,
|
|
111
|
+
.quality-submenu,
|
|
112
|
+
.speed-submenu,
|
|
113
|
+
.yt-subtitles-submenu,
|
|
114
|
+
.yt-quality-submenu {
|
|
115
|
+
max-width: min(120px, calc(100vw - 160px)) !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.settings-submenu .settings-suboption,
|
|
119
|
+
.subtitles-menu .subtitle-option,
|
|
120
|
+
.quality-submenu .quality-option,
|
|
121
|
+
.speed-submenu .speed-option,
|
|
122
|
+
.yt-subtitles-submenu .quality-option {
|
|
123
|
+
padding: 6px 7px !important;
|
|
124
|
+
font-size: 10px !important;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Very small phones */
|
|
129
|
+
@media (max-width: 450px) {
|
|
130
|
+
.settings-menu > .settings-option,
|
|
131
|
+
.settings-menu > .subtitles-option {
|
|
132
|
+
font-size: 10px !important;
|
|
133
|
+
}
|
|
8
134
|
|
|
135
|
+
.settings-submenu,
|
|
136
|
+
.subtitles-menu,
|
|
137
|
+
.quality-submenu,
|
|
138
|
+
.speed-submenu,
|
|
139
|
+
.yt-subtitles-submenu,
|
|
140
|
+
.yt-quality-submenu {
|
|
141
|
+
max-width: min(100px, calc(100vw - 140px)) !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.settings-submenu .settings-suboption,
|
|
145
|
+
.subtitles-menu .subtitle-option,
|
|
146
|
+
.quality-submenu .quality-option,
|
|
147
|
+
.speed-submenu .speed-option,
|
|
148
|
+
.yt-subtitles-submenu .quality-option {
|
|
149
|
+
padding: 5px 6px !important;
|
|
150
|
+
font-size: 9px !important;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Ultra small phones */
|
|
155
|
+
@media (max-width: 350px) {
|
|
156
|
+
.settings-menu > .settings-option,
|
|
157
|
+
.settings-menu > .subtitles-option {
|
|
158
|
+
font-size: 9px !important;
|
|
159
|
+
}
|
|
9
160
|
|
|
161
|
+
.settings-submenu,
|
|
162
|
+
.subtitles-menu,
|
|
163
|
+
.quality-submenu,
|
|
164
|
+
.speed-submenu,
|
|
165
|
+
.yt-subtitles-submenu,
|
|
166
|
+
.yt-quality-submenu {
|
|
167
|
+
max-width: min(90px, calc(100vw - 120px)) !important;
|
|
168
|
+
}
|
|
10
169
|
|
|
170
|
+
.settings-submenu .settings-suboption,
|
|
171
|
+
.subtitles-menu .subtitle-option,
|
|
172
|
+
.quality-submenu .quality-option,
|
|
173
|
+
.speed-submenu .speed-option,
|
|
174
|
+
.yt-subtitles-submenu .quality-option {
|
|
175
|
+
padding: 4px 5px !important;
|
|
176
|
+
font-size: 8px !important;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
11
179
|
|
|
12
180
|
/* QUALITY BUTTON WITH DUAL DISPLAY */
|
|
13
181
|
.quality-btn {
|
|
@@ -95,24 +263,24 @@
|
|
|
95
263
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
96
264
|
}
|
|
97
265
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
266
|
+
.volume-tooltip::after {
|
|
267
|
+
content: '';
|
|
268
|
+
position: absolute;
|
|
269
|
+
top: 100%;
|
|
270
|
+
left: 50%;
|
|
271
|
+
transform: translateX(-50%);
|
|
272
|
+
width: 0;
|
|
273
|
+
height: 0;
|
|
274
|
+
border-left: 6px solid transparent;
|
|
275
|
+
border-right: 6px solid transparent;
|
|
276
|
+
border-top: 6px solid rgba(0, 0, 0, 0.9);
|
|
277
|
+
}
|
|
110
278
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
279
|
+
.volume-container:hover .volume-tooltip,
|
|
280
|
+
.volume-tooltip.visible {
|
|
281
|
+
opacity: 1;
|
|
282
|
+
visibility: visible;
|
|
283
|
+
}
|
|
116
284
|
|
|
117
285
|
.volume-slider::-webkit-slider-thumb {
|
|
118
286
|
-webkit-appearance: none;
|
|
@@ -127,10 +295,10 @@
|
|
|
127
295
|
transform: translateY(0);
|
|
128
296
|
}
|
|
129
297
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
298
|
+
.volume-slider::-webkit-slider-thumb:hover {
|
|
299
|
+
transform: translateY(0) scale(1.2);
|
|
300
|
+
background: var(--player-primary-color);
|
|
301
|
+
}
|
|
134
302
|
|
|
135
303
|
.volume-slider::-moz-range-thumb {
|
|
136
304
|
width: var(--player-volume-handle-size);
|
|
@@ -145,10 +313,10 @@
|
|
|
145
313
|
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2));
|
|
146
314
|
}
|
|
147
315
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
316
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
317
|
+
background: var(--player-primary-color);
|
|
318
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2)) scale(1.1);
|
|
319
|
+
}
|
|
152
320
|
|
|
153
321
|
.volume-slider::-webkit-slider-runnable-track {
|
|
154
322
|
height: var(--player-volume-height);
|
|
@@ -209,16 +377,16 @@
|
|
|
209
377
|
box-shadow: var(--player-shadow-menu);
|
|
210
378
|
}
|
|
211
379
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
380
|
+
.speed-control:hover .speed-menu,
|
|
381
|
+
.speed-menu:hover,
|
|
382
|
+
.quality-control:hover .quality-menu,
|
|
383
|
+
.quality-menu:hover,
|
|
384
|
+
.subtitles-control:hover .subtitles-menu,
|
|
385
|
+
.subtitles-menu:hover {
|
|
386
|
+
opacity: 1;
|
|
387
|
+
visibility: visible;
|
|
388
|
+
transform: translateY(-4px);
|
|
389
|
+
}
|
|
222
390
|
|
|
223
391
|
.speed-option,
|
|
224
392
|
.quality-option,
|
|
@@ -233,60 +401,60 @@
|
|
|
233
401
|
justify-content: space-between;
|
|
234
402
|
}
|
|
235
403
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
404
|
+
.speed-option:hover,
|
|
405
|
+
.quality-option:hover,
|
|
406
|
+
.subtitles-option:hover {
|
|
407
|
+
background: rgba(255, 255, 255, 0.1);
|
|
408
|
+
color: var(--player-primary-color);
|
|
409
|
+
}
|
|
242
410
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
411
|
+
.speed-option.active,
|
|
412
|
+
.quality-option.active,
|
|
413
|
+
.subtitles-option.active {
|
|
414
|
+
color: var(--player-primary-color);
|
|
415
|
+
font-weight: 600;
|
|
416
|
+
background: rgba(255, 255, 255, 0.05);
|
|
417
|
+
}
|
|
250
418
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
419
|
+
/* DUAL QUALITY INDICATORS */
|
|
420
|
+
.quality-option.selected {
|
|
421
|
+
color: var(--player-primary-color);
|
|
422
|
+
font-weight: 600;
|
|
423
|
+
}
|
|
256
424
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
425
|
+
.quality-option.selected::after {
|
|
426
|
+
content: 'Selected';
|
|
427
|
+
font-size: 12px;
|
|
428
|
+
color: var(--player-primary-color);
|
|
429
|
+
font-weight: 400;
|
|
430
|
+
margin-left: 8px;
|
|
431
|
+
}
|
|
264
432
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
433
|
+
.quality-option.playing {
|
|
434
|
+
background: rgba(255, 255, 255, 0.05);
|
|
435
|
+
}
|
|
268
436
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
437
|
+
.quality-option.playing::after {
|
|
438
|
+
content: 'Playing';
|
|
439
|
+
font-size: 12px;
|
|
440
|
+
color: #4CAF50; /* Green for playing */
|
|
441
|
+
font-weight: 400;
|
|
442
|
+
margin-left: 8px;
|
|
443
|
+
}
|
|
276
444
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
445
|
+
.quality-option.selected.playing::after {
|
|
446
|
+
content: 'Active';
|
|
447
|
+
font-size: 12px;
|
|
448
|
+
color: var(--player-primary-color);
|
|
449
|
+
font-weight: 500;
|
|
450
|
+
margin-left: 8px;
|
|
451
|
+
}
|
|
284
452
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
453
|
+
.subtitles-option.active::after {
|
|
454
|
+
content: '✓';
|
|
455
|
+
font-size: 12px;
|
|
456
|
+
color: var(--player-primary-color);
|
|
457
|
+
}
|
|
290
458
|
|
|
291
459
|
/* CUSTOM SUBTITLES STYLING */
|
|
292
460
|
.video-player::cue {
|
|
@@ -327,9 +495,9 @@
|
|
|
327
495
|
flex-shrink: 1; /* Allow brand logo to shrink */
|
|
328
496
|
}
|
|
329
497
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
498
|
+
.controls-right .brand-logo:hover {
|
|
499
|
+
opacity: 1; /* opaque on hover */
|
|
500
|
+
}
|
|
333
501
|
|
|
334
502
|
.controls-right .brand-logo-link {
|
|
335
503
|
order: -1; /* force link container to appear first */
|
|
@@ -338,9 +506,9 @@
|
|
|
338
506
|
text-decoration: none;
|
|
339
507
|
}
|
|
340
508
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
509
|
+
.controls-right .brand-logo-link .brand-logo {
|
|
510
|
+
margin-right: 0; /* remove margin when inside link */
|
|
511
|
+
}
|
|
344
512
|
|
|
345
513
|
/* SETTINGS DROPDOWN MENU - FOR SMALL SCREENS */
|
|
346
514
|
.settings-control {
|
|
@@ -367,20 +535,20 @@
|
|
|
367
535
|
white-space: nowrap;
|
|
368
536
|
}
|
|
369
537
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
538
|
+
.settings-btn:hover {
|
|
539
|
+
background: var(--player-button-hover);
|
|
540
|
+
transform: scale(1.05);
|
|
541
|
+
}
|
|
374
542
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
543
|
+
.settings-btn:active {
|
|
544
|
+
transform: scale(0.95);
|
|
545
|
+
background: var(--player-button-active);
|
|
546
|
+
}
|
|
379
547
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
548
|
+
.settings-btn .icon::before {
|
|
549
|
+
content: '⚙️'; /* Settings gear emoji */
|
|
550
|
+
font-size: 16px;
|
|
551
|
+
}
|
|
384
552
|
|
|
385
553
|
.settings-menu {
|
|
386
554
|
position: absolute;
|
|
@@ -400,12 +568,12 @@
|
|
|
400
568
|
box-shadow: var(--player-shadow-menu);
|
|
401
569
|
}
|
|
402
570
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
571
|
+
.settings-control:hover .settings-menu,
|
|
572
|
+
.settings-menu:hover {
|
|
573
|
+
opacity: 1;
|
|
574
|
+
visibility: visible;
|
|
575
|
+
transform: translateY(-4px);
|
|
576
|
+
}
|
|
409
577
|
|
|
410
578
|
.settings-option {
|
|
411
579
|
padding: 8px 16px;
|
|
@@ -419,14 +587,14 @@
|
|
|
419
587
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
420
588
|
}
|
|
421
589
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
590
|
+
.settings-option:last-child {
|
|
591
|
+
border-bottom: none;
|
|
592
|
+
}
|
|
425
593
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
594
|
+
.settings-option:hover {
|
|
595
|
+
background: rgba(255, 255, 255, 0.1);
|
|
596
|
+
color: var(--player-primary-color);
|
|
597
|
+
}
|
|
430
598
|
|
|
431
599
|
.settings-option-label {
|
|
432
600
|
display: flex;
|
|
@@ -482,22 +650,22 @@
|
|
|
482
650
|
justify-content: space-between;
|
|
483
651
|
}
|
|
484
652
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
653
|
+
.settings-suboption:hover {
|
|
654
|
+
background: rgba(255, 255, 255, 0.1);
|
|
655
|
+
color: var(--player-primary-color);
|
|
656
|
+
}
|
|
489
657
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
658
|
+
.settings-suboption.active {
|
|
659
|
+
color: var(--player-primary-color);
|
|
660
|
+
font-weight: 600;
|
|
661
|
+
background: rgba(255, 255, 255, 0.05);
|
|
662
|
+
}
|
|
495
663
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
664
|
+
.settings-suboption.active::after {
|
|
665
|
+
content: '✓';
|
|
666
|
+
font-size: 12px;
|
|
667
|
+
color: var(--player-primary-color);
|
|
668
|
+
}
|
|
501
669
|
|
|
502
670
|
/* RESPONSIVE DESIGN - Progressive Degradation with Drop-Down Menu */
|
|
503
671
|
|
|
@@ -760,9 +928,9 @@
|
|
|
760
928
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
761
929
|
}
|
|
762
930
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
931
|
+
.controls-main::-webkit-scrollbar {
|
|
932
|
+
display: none; /* Safari and Chrome */
|
|
933
|
+
}
|
|
766
934
|
|
|
767
935
|
.controls-left,
|
|
768
936
|
.controls-right {
|
|
@@ -781,10 +949,10 @@
|
|
|
781
949
|
display: none; /* Hidden by default, shown only when playlist is detected */
|
|
782
950
|
}
|
|
783
951
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
952
|
+
.controls-right .playlist-prev-btn.playlist-active,
|
|
953
|
+
.controls-right .playlist-next-btn.playlist-active {
|
|
954
|
+
display: flex;
|
|
955
|
+
}
|
|
788
956
|
|
|
789
957
|
/* Playlist button styles */
|
|
790
958
|
.playlist-prev-btn .icon::before {
|
|
@@ -803,10 +971,10 @@
|
|
|
803
971
|
pointer-events: none;
|
|
804
972
|
}
|
|
805
973
|
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
974
|
+
.playlist-prev-btn:disabled .icon,
|
|
975
|
+
.playlist-next-btn:disabled .icon {
|
|
976
|
+
opacity: 0.5;
|
|
977
|
+
}
|
|
810
978
|
|
|
811
979
|
/* Responsive playlist buttons */
|
|
812
980
|
@media (max-width: 768px) {
|
|
@@ -885,9 +1053,9 @@
|
|
|
885
1053
|
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px));
|
|
886
1054
|
}
|
|
887
1055
|
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
1056
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
1057
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px)) scale(1.1);
|
|
1058
|
+
}
|
|
891
1059
|
/* Ensure the track alignment is also correct */
|
|
892
1060
|
.volume-slider::-moz-range-track {
|
|
893
1061
|
height: var(--player-volume-height);
|
|
@@ -906,13 +1074,13 @@
|
|
|
906
1074
|
margin-top: -1px;
|
|
907
1075
|
}
|
|
908
1076
|
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
1077
|
+
.volume-slider::-moz-range-thumb {
|
|
1078
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px));
|
|
1079
|
+
}
|
|
912
1080
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
1081
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
1082
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px)) scale(1.1);
|
|
1083
|
+
}
|
|
916
1084
|
}
|
|
917
1085
|
|
|
918
1086
|
/* FIREFOX VOLUME CONTAINER POSITION FIX */
|
|
@@ -927,9 +1095,9 @@
|
|
|
927
1095
|
transform: translateY(-2px) !important;
|
|
928
1096
|
}
|
|
929
1097
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
1098
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
1099
|
+
transform: translateY(-2px) scale(1.1) !important;
|
|
1100
|
+
}
|
|
933
1101
|
}
|
|
934
1102
|
|
|
935
1103
|
/* RESOLUTION CONTROL SYSTEM - Video resolution modes management */
|
|
@@ -1166,49 +1334,49 @@ video::-webkit-media-text-track-display {
|
|
|
1166
1334
|
}
|
|
1167
1335
|
/* Custom subtitle overlay responsive styles */
|
|
1168
1336
|
.custom-subtitle-overlay {
|
|
1169
|
-
|
|
1337
|
+
font-size: clamp(12px, 4vw, 18px);
|
|
1170
1338
|
}
|
|
1171
1339
|
|
|
1172
1340
|
/* Tablet responsiveness */
|
|
1173
1341
|
@media (max-width: 768px) {
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1342
|
+
.custom-subtitle-overlay {
|
|
1343
|
+
font-size: 16px !important;
|
|
1344
|
+
bottom: 70px !important;
|
|
1345
|
+
max-width: 85% !important;
|
|
1346
|
+
padding: 6px 12px !important;
|
|
1347
|
+
line-height: 1.2 !important;
|
|
1348
|
+
}
|
|
1181
1349
|
}
|
|
1182
1350
|
|
|
1183
1351
|
/* Mobile phone responsiveness */
|
|
1184
1352
|
@media (max-width: 480px) {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1353
|
+
.custom-subtitle-overlay {
|
|
1354
|
+
font-size: 14px !important;
|
|
1355
|
+
bottom: 60px !important;
|
|
1356
|
+
max-width: 90% !important;
|
|
1357
|
+
padding: 5px 10px !important;
|
|
1358
|
+
line-height: 1.15 !important;
|
|
1359
|
+
}
|
|
1192
1360
|
}
|
|
1193
1361
|
|
|
1194
1362
|
/* Very small screens */
|
|
1195
1363
|
@media (max-width: 360px) {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1364
|
+
.custom-subtitle-overlay {
|
|
1365
|
+
font-size: 12px !important;
|
|
1366
|
+
bottom: 50px !important;
|
|
1367
|
+
max-width: 95% !important;
|
|
1368
|
+
padding: 4px 8px !important;
|
|
1369
|
+
}
|
|
1202
1370
|
}
|
|
1203
1371
|
|
|
1204
1372
|
/* Landscape mobile optimization */
|
|
1205
1373
|
@media (max-height: 500px) and (orientation: landscape) {
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1374
|
+
.custom-subtitle-overlay {
|
|
1375
|
+
font-size: 13px !important;
|
|
1376
|
+
bottom: 45px !important;
|
|
1377
|
+
max-width: 85% !important;
|
|
1378
|
+
padding: 4px 10px !important;
|
|
1379
|
+
}
|
|
1212
1380
|
}
|
|
1213
1381
|
|
|
1214
1382
|
/* Scrollable dropdown menus for small player heights */
|
|
@@ -1221,32 +1389,32 @@ video::-webkit-media-text-track-display {
|
|
|
1221
1389
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
1222
1390
|
}
|
|
1223
1391
|
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1392
|
+
/* Custom scrollbar for WebKit browsers */
|
|
1393
|
+
.speed-menu::-webkit-scrollbar,
|
|
1394
|
+
.quality-menu::-webkit-scrollbar,
|
|
1395
|
+
.subtitles-menu::-webkit-scrollbar {
|
|
1396
|
+
width: 6px;
|
|
1397
|
+
}
|
|
1230
1398
|
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1399
|
+
.speed-menu::-webkit-scrollbar-track,
|
|
1400
|
+
.quality-menu::-webkit-scrollbar-track,
|
|
1401
|
+
.subtitles-menu::-webkit-scrollbar-track {
|
|
1402
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1403
|
+
border-radius: 3px;
|
|
1404
|
+
}
|
|
1237
1405
|
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1406
|
+
.speed-menu::-webkit-scrollbar-thumb,
|
|
1407
|
+
.quality-menu::-webkit-scrollbar-thumb,
|
|
1408
|
+
.subtitles-menu::-webkit-scrollbar-thumb {
|
|
1409
|
+
background: var(--player-primary-color);
|
|
1410
|
+
border-radius: 3px;
|
|
1411
|
+
}
|
|
1244
1412
|
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1413
|
+
.speed-menu::-webkit-scrollbar-thumb:hover,
|
|
1414
|
+
.quality-menu::-webkit-scrollbar-thumb:hover,
|
|
1415
|
+
.subtitles-menu::-webkit-scrollbar-thumb:hover {
|
|
1416
|
+
background: var(--player-primary-hover);
|
|
1417
|
+
}
|
|
1250
1418
|
|
|
1251
1419
|
/* Responsive max-height for very small players */
|
|
1252
1420
|
@media (max-height: 400px) {
|
|
@@ -1273,24 +1441,24 @@ video::-webkit-media-text-track-display {
|
|
|
1273
1441
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
1274
1442
|
}
|
|
1275
1443
|
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1444
|
+
/* Custom scrollbar for settings submenu in WebKit browsers */
|
|
1445
|
+
.settings-submenu::-webkit-scrollbar {
|
|
1446
|
+
width: 6px;
|
|
1447
|
+
}
|
|
1280
1448
|
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1449
|
+
.settings-submenu::-webkit-scrollbar-track {
|
|
1450
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1451
|
+
border-radius: 3px;
|
|
1452
|
+
}
|
|
1285
1453
|
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1454
|
+
.settings-submenu::-webkit-scrollbar-thumb {
|
|
1455
|
+
background: var(--player-primary-color);
|
|
1456
|
+
border-radius: 3px;
|
|
1457
|
+
}
|
|
1290
1458
|
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1459
|
+
.settings-submenu::-webkit-scrollbar-thumb:hover {
|
|
1460
|
+
background: var(--player-primary-hover);
|
|
1461
|
+
}
|
|
1294
1462
|
|
|
1295
1463
|
/* Responsive adjustments for settings submenu on very small screens */
|
|
1296
1464
|
@media (max-width: 350px) {
|
|
@@ -1313,14 +1481,14 @@ video::-webkit-media-text-track-display {
|
|
|
1313
1481
|
gap: var(--player-controls-gap);
|
|
1314
1482
|
}
|
|
1315
1483
|
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1484
|
+
/* Horizontal Volume Slider (default) - Base width reduced */
|
|
1485
|
+
.volume-container[data-orientation="horizontal"] .volume-slider {
|
|
1486
|
+
width: 80px; /* Ridotto da var(--player-volume-width) a 80px fissi */
|
|
1487
|
+
height: var(--player-volume-height);
|
|
1488
|
+
background: var(--player-volume-bg);
|
|
1489
|
+
border-radius: calc(var(--player-volume-height) / 2);
|
|
1490
|
+
transition: all 0.3s ease;
|
|
1491
|
+
}
|
|
1324
1492
|
|
|
1325
1493
|
/* Responsive width reduction for horizontal slider */
|
|
1326
1494
|
@media (max-width: 1200px) {
|
|
@@ -1354,16 +1522,16 @@ video::-webkit-media-text-track-display {
|
|
|
1354
1522
|
justify-content: center;
|
|
1355
1523
|
}
|
|
1356
1524
|
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1525
|
+
.volume-container[data-orientation="vertical"] .volume-slider {
|
|
1526
|
+
width: 4px;
|
|
1527
|
+
height: 60px;
|
|
1528
|
+
writing-mode: bt-lr; /* IE */
|
|
1529
|
+
-webkit-appearance: slider-vertical; /* WebKit */
|
|
1530
|
+
background: var(--player-volume-bg);
|
|
1531
|
+
border-radius: 2px;
|
|
1532
|
+
transform: rotate(0deg);
|
|
1533
|
+
transition: all 0.3s ease;
|
|
1534
|
+
}
|
|
1367
1535
|
|
|
1368
1536
|
/* Responsive: Force vertical behavior for horizontal sliders under 550px */
|
|
1369
1537
|
@media (max-width: 550px) {
|
|
@@ -1501,21 +1669,21 @@ video::-webkit-media-text-track-display {
|
|
|
1501
1669
|
transform: translateX(-50%);
|
|
1502
1670
|
}
|
|
1503
1671
|
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1672
|
+
/* Hover state for chapter marker */
|
|
1673
|
+
.chapter-marker:hover {
|
|
1674
|
+
opacity: 1;
|
|
1675
|
+
width: 4px;
|
|
1676
|
+
height: 120%;
|
|
1677
|
+
top: -10%;
|
|
1678
|
+
box-shadow: 0 0 8px var(--player-primary-color);
|
|
1679
|
+
}
|
|
1512
1680
|
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1681
|
+
/* Active chapter marker (currently playing) */
|
|
1682
|
+
.chapter-marker.active {
|
|
1683
|
+
background: var(--player-primary-hover);
|
|
1684
|
+
opacity: 1;
|
|
1685
|
+
width: 4px;
|
|
1686
|
+
}
|
|
1519
1687
|
|
|
1520
1688
|
/* Chapter tooltip */
|
|
1521
1689
|
.chapter-tooltip {
|
|
@@ -1540,19 +1708,19 @@ video::-webkit-media-text-track-display {
|
|
|
1540
1708
|
pointer-events: none;
|
|
1541
1709
|
}
|
|
1542
1710
|
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1711
|
+
/* Tooltip arrow */
|
|
1712
|
+
.chapter-tooltip::after {
|
|
1713
|
+
content: '';
|
|
1714
|
+
position: absolute;
|
|
1715
|
+
top: 100%;
|
|
1716
|
+
left: 50%;
|
|
1717
|
+
transform: translateX(-50%);
|
|
1718
|
+
width: 0;
|
|
1719
|
+
height: 0;
|
|
1720
|
+
border-left: 6px solid transparent;
|
|
1721
|
+
border-right: 6px solid transparent;
|
|
1722
|
+
border-top: 6px solid rgba(0, 0, 0, 0.95);
|
|
1723
|
+
}
|
|
1556
1724
|
|
|
1557
1725
|
/* Chapter tooltip image */
|
|
1558
1726
|
.chapter-tooltip-image {
|
|
@@ -1590,9 +1758,9 @@ video::-webkit-media-text-track-display {
|
|
|
1590
1758
|
width: 2px;
|
|
1591
1759
|
}
|
|
1592
1760
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1761
|
+
.chapter-marker:hover {
|
|
1762
|
+
width: 3px;
|
|
1763
|
+
}
|
|
1596
1764
|
|
|
1597
1765
|
.chapter-tooltip {
|
|
1598
1766
|
min-width: 160px;
|
|
@@ -1623,73 +1791,73 @@ video::-webkit-media-text-track-display {
|
|
|
1623
1791
|
pointer-events: none;
|
|
1624
1792
|
}
|
|
1625
1793
|
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1794
|
+
/* Visible state */
|
|
1795
|
+
.video-poster-overlay.visible {
|
|
1796
|
+
opacity: 1;
|
|
1797
|
+
visibility: visible;
|
|
1798
|
+
pointer-events: auto;
|
|
1799
|
+
}
|
|
1632
1800
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1801
|
+
/* Hidden state */
|
|
1802
|
+
.video-poster-overlay.hidden {
|
|
1803
|
+
opacity: 0;
|
|
1804
|
+
visibility: hidden;
|
|
1805
|
+
pointer-events: none;
|
|
1806
|
+
}
|
|
1639
1807
|
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1808
|
+
/* Hover effect on poster */
|
|
1809
|
+
.video-poster-overlay.visible:hover {
|
|
1810
|
+
opacity: 0.95;
|
|
1811
|
+
}
|
|
1644
1812
|
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1813
|
+
/* Play button overlay on poster - THEMED COLORS 🎨 */
|
|
1814
|
+
.video-poster-overlay::after {
|
|
1815
|
+
content: '';
|
|
1816
|
+
position: absolute;
|
|
1817
|
+
top: 50%;
|
|
1818
|
+
left: 50%;
|
|
1819
|
+
transform: translate(-50%, -50%);
|
|
1820
|
+
width: 80px;
|
|
1821
|
+
height: 80px;
|
|
1822
|
+
background: rgba(0, 0, 0, 0.7);
|
|
1823
|
+
border-radius: 50%;
|
|
1824
|
+
border: 3px solid var(--player-primary-color); /* THEMED BORDER ✨ */
|
|
1825
|
+
opacity: 0;
|
|
1826
|
+
transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
|
|
1827
|
+
pointer-events: none;
|
|
1828
|
+
}
|
|
1661
1829
|
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1830
|
+
/* Show play button on hover with animation and themed glow */
|
|
1831
|
+
.video-poster-overlay.visible:hover::after {
|
|
1832
|
+
opacity: 1;
|
|
1833
|
+
transform: translate(-50%, -50%) scale(1.1);
|
|
1834
|
+
border-color: var(--player-primary-hover); /* THEMED HOVER COLOR 🌟 */
|
|
1835
|
+
box-shadow: 0 0 20px var(--player-primary-color); /* THEMED GLOW 💫 */
|
|
1836
|
+
}
|
|
1669
1837
|
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1838
|
+
/* Play icon triangle - THEMED COLOR 🎨 */
|
|
1839
|
+
.video-poster-overlay::before {
|
|
1840
|
+
content: '';
|
|
1841
|
+
position: absolute;
|
|
1842
|
+
top: 50%;
|
|
1843
|
+
left: 50%;
|
|
1844
|
+
transform: translate(-40%, -50%);
|
|
1845
|
+
width: 0;
|
|
1846
|
+
height: 0;
|
|
1847
|
+
border-style: solid;
|
|
1848
|
+
border-width: 15px 0 15px 25px;
|
|
1849
|
+
border-color: transparent transparent transparent var(--player-primary-color); /* THEMED TRIANGLE ✨ */
|
|
1850
|
+
z-index: 2;
|
|
1851
|
+
opacity: 0;
|
|
1852
|
+
transition: opacity 0.3s ease, border-color 0.3s ease;
|
|
1853
|
+
pointer-events: none;
|
|
1854
|
+
}
|
|
1687
1855
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1856
|
+
/* Show play icon on hover with themed color */
|
|
1857
|
+
.video-poster-overlay.visible:hover::before {
|
|
1858
|
+
opacity: 1;
|
|
1859
|
+
border-color: transparent transparent transparent var(--player-primary-hover); /* THEMED HOVER 🌟 */
|
|
1860
|
+
}
|
|
1693
1861
|
|
|
1694
1862
|
/* Responsive adjustments */
|
|
1695
1863
|
@media (max-width: 768px) {
|
|
@@ -2035,22 +2203,22 @@ video::-webkit-media-text-track-display {
|
|
|
2035
2203
|
position: relative;
|
|
2036
2204
|
}
|
|
2037
2205
|
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2206
|
+
.subtitles-btn.active {
|
|
2207
|
+
background: var(--player-button-active);
|
|
2208
|
+
color: var(--player-primary-color);
|
|
2209
|
+
}
|
|
2042
2210
|
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2211
|
+
.subtitles-btn.active::after {
|
|
2212
|
+
content: '';
|
|
2213
|
+
position: absolute;
|
|
2214
|
+
bottom: 2px;
|
|
2215
|
+
left: 50%;
|
|
2216
|
+
transform: translateX(-50%);
|
|
2217
|
+
width: 20px;
|
|
2218
|
+
height: 2px;
|
|
2219
|
+
background: var(--player-primary-color);
|
|
2220
|
+
border-radius: 1px;
|
|
2221
|
+
}
|
|
2054
2222
|
|
|
2055
2223
|
/* QUALITY BUTTON WITH DUAL DISPLAY */
|
|
2056
2224
|
.quality-btn {
|
|
@@ -2138,24 +2306,24 @@ video::-webkit-media-text-track-display {
|
|
|
2138
2306
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
2139
2307
|
}
|
|
2140
2308
|
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2309
|
+
.volume-tooltip::after {
|
|
2310
|
+
content: '';
|
|
2311
|
+
position: absolute;
|
|
2312
|
+
top: 100%;
|
|
2313
|
+
left: 50%;
|
|
2314
|
+
transform: translateX(-50%);
|
|
2315
|
+
width: 0;
|
|
2316
|
+
height: 0;
|
|
2317
|
+
border-left: 6px solid transparent;
|
|
2318
|
+
border-right: 6px solid transparent;
|
|
2319
|
+
border-top: 6px solid rgba(0, 0, 0, 0.9);
|
|
2320
|
+
}
|
|
2153
2321
|
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2322
|
+
.volume-container:hover .volume-tooltip,
|
|
2323
|
+
.volume-tooltip.visible {
|
|
2324
|
+
opacity: 1;
|
|
2325
|
+
visibility: visible;
|
|
2326
|
+
}
|
|
2159
2327
|
|
|
2160
2328
|
.volume-slider::-webkit-slider-thumb {
|
|
2161
2329
|
-webkit-appearance: none;
|
|
@@ -2170,10 +2338,10 @@ video::-webkit-media-text-track-display {
|
|
|
2170
2338
|
transform: translateY(0);
|
|
2171
2339
|
}
|
|
2172
2340
|
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2341
|
+
.volume-slider::-webkit-slider-thumb:hover {
|
|
2342
|
+
transform: translateY(0) scale(1.2);
|
|
2343
|
+
background: var(--player-primary-color);
|
|
2344
|
+
}
|
|
2177
2345
|
|
|
2178
2346
|
.volume-slider::-moz-range-thumb {
|
|
2179
2347
|
width: var(--player-volume-handle-size);
|
|
@@ -2188,10 +2356,10 @@ video::-webkit-media-text-track-display {
|
|
|
2188
2356
|
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2));
|
|
2189
2357
|
}
|
|
2190
2358
|
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2359
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
2360
|
+
background: var(--player-primary-color);
|
|
2361
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2)) scale(1.1);
|
|
2362
|
+
}
|
|
2195
2363
|
|
|
2196
2364
|
.volume-slider::-webkit-slider-runnable-track {
|
|
2197
2365
|
height: var(--player-volume-height);
|
|
@@ -2252,16 +2420,16 @@ video::-webkit-media-text-track-display {
|
|
|
2252
2420
|
box-shadow: var(--player-shadow-menu);
|
|
2253
2421
|
}
|
|
2254
2422
|
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2423
|
+
.speed-control:hover .speed-menu,
|
|
2424
|
+
.speed-menu:hover,
|
|
2425
|
+
.quality-control:hover .quality-menu,
|
|
2426
|
+
.quality-menu:hover,
|
|
2427
|
+
.subtitles-control:hover .subtitles-menu,
|
|
2428
|
+
.subtitles-menu:hover {
|
|
2429
|
+
opacity: 1;
|
|
2430
|
+
visibility: visible;
|
|
2431
|
+
transform: translateY(-4px);
|
|
2432
|
+
}
|
|
2265
2433
|
|
|
2266
2434
|
.speed-option,
|
|
2267
2435
|
.quality-option,
|
|
@@ -2276,60 +2444,60 @@ video::-webkit-media-text-track-display {
|
|
|
2276
2444
|
justify-content: space-between;
|
|
2277
2445
|
}
|
|
2278
2446
|
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2447
|
+
.speed-option:hover,
|
|
2448
|
+
.quality-option:hover,
|
|
2449
|
+
.subtitles-option:hover {
|
|
2450
|
+
background: rgba(255, 255, 255, 0.1);
|
|
2451
|
+
color: var(--player-primary-color);
|
|
2452
|
+
}
|
|
2285
2453
|
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2454
|
+
.speed-option.active,
|
|
2455
|
+
.quality-option.active,
|
|
2456
|
+
.subtitles-option.active {
|
|
2457
|
+
color: var(--player-primary-color);
|
|
2458
|
+
font-weight: 600;
|
|
2459
|
+
background: rgba(255, 255, 255, 0.05);
|
|
2460
|
+
}
|
|
2293
2461
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2462
|
+
/* DUAL QUALITY INDICATORS */
|
|
2463
|
+
.quality-option.selected {
|
|
2464
|
+
color: var(--player-primary-color);
|
|
2465
|
+
font-weight: 600;
|
|
2466
|
+
}
|
|
2299
2467
|
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2468
|
+
.quality-option.selected::after {
|
|
2469
|
+
content: 'Selected';
|
|
2470
|
+
font-size: 12px;
|
|
2471
|
+
color: var(--player-primary-color);
|
|
2472
|
+
font-weight: 400;
|
|
2473
|
+
margin-left: 8px;
|
|
2474
|
+
}
|
|
2307
2475
|
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2476
|
+
.quality-option.playing {
|
|
2477
|
+
background: rgba(255, 255, 255, 0.05);
|
|
2478
|
+
}
|
|
2311
2479
|
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2480
|
+
.quality-option.playing::after {
|
|
2481
|
+
content: 'Playing';
|
|
2482
|
+
font-size: 12px;
|
|
2483
|
+
color: #4CAF50; /* Green for playing */
|
|
2484
|
+
font-weight: 400;
|
|
2485
|
+
margin-left: 8px;
|
|
2486
|
+
}
|
|
2319
2487
|
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2488
|
+
.quality-option.selected.playing::after {
|
|
2489
|
+
content: 'Active';
|
|
2490
|
+
font-size: 12px;
|
|
2491
|
+
color: var(--player-primary-color);
|
|
2492
|
+
font-weight: 500;
|
|
2493
|
+
margin-left: 8px;
|
|
2494
|
+
}
|
|
2327
2495
|
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2496
|
+
.subtitles-option.active::after {
|
|
2497
|
+
content: '✓';
|
|
2498
|
+
font-size: 12px;
|
|
2499
|
+
color: var(--player-primary-color);
|
|
2500
|
+
}
|
|
2333
2501
|
|
|
2334
2502
|
/* CUSTOM SUBTITLES STYLING */
|
|
2335
2503
|
.video-player::cue {
|
|
@@ -2370,9 +2538,9 @@ video::-webkit-media-text-track-display {
|
|
|
2370
2538
|
flex-shrink: 1; /* Allow brand logo to shrink */
|
|
2371
2539
|
}
|
|
2372
2540
|
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2541
|
+
.controls-right .brand-logo:hover {
|
|
2542
|
+
opacity: 1; /* opaque on hover */
|
|
2543
|
+
}
|
|
2376
2544
|
|
|
2377
2545
|
.controls-right .brand-logo-link {
|
|
2378
2546
|
order: -1; /* force link container to appear first */
|
|
@@ -2381,9 +2549,9 @@ video::-webkit-media-text-track-display {
|
|
|
2381
2549
|
text-decoration: none;
|
|
2382
2550
|
}
|
|
2383
2551
|
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2552
|
+
.controls-right .brand-logo-link .brand-logo {
|
|
2553
|
+
margin-right: 0; /* remove margin when inside link */
|
|
2554
|
+
}
|
|
2387
2555
|
|
|
2388
2556
|
/* SETTINGS DROPDOWN MENU - NUOVO SISTEMA PER SCHERMI PICCOLI */
|
|
2389
2557
|
.settings-control {
|
|
@@ -2410,20 +2578,20 @@ video::-webkit-media-text-track-display {
|
|
|
2410
2578
|
white-space: nowrap;
|
|
2411
2579
|
}
|
|
2412
2580
|
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2581
|
+
.settings-btn:hover {
|
|
2582
|
+
background: var(--player-button-hover);
|
|
2583
|
+
transform: scale(1.05);
|
|
2584
|
+
}
|
|
2417
2585
|
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2586
|
+
.settings-btn:active {
|
|
2587
|
+
transform: scale(0.95);
|
|
2588
|
+
background: var(--player-button-active);
|
|
2589
|
+
}
|
|
2422
2590
|
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2591
|
+
.settings-btn .icon::before {
|
|
2592
|
+
content: '⚙️'; /* Settings gear emoji */
|
|
2593
|
+
font-size: 16px;
|
|
2594
|
+
}
|
|
2427
2595
|
|
|
2428
2596
|
.settings-menu {
|
|
2429
2597
|
position: absolute;
|
|
@@ -2443,12 +2611,12 @@ video::-webkit-media-text-track-display {
|
|
|
2443
2611
|
box-shadow: var(--player-shadow-menu);
|
|
2444
2612
|
}
|
|
2445
2613
|
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2614
|
+
.settings-control:hover .settings-menu,
|
|
2615
|
+
.settings-menu:hover {
|
|
2616
|
+
opacity: 1;
|
|
2617
|
+
visibility: visible;
|
|
2618
|
+
transform: translateY(-4px);
|
|
2619
|
+
}
|
|
2452
2620
|
|
|
2453
2621
|
.settings-option {
|
|
2454
2622
|
padding: 8px 16px;
|
|
@@ -2462,14 +2630,14 @@ video::-webkit-media-text-track-display {
|
|
|
2462
2630
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
2463
2631
|
}
|
|
2464
2632
|
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2633
|
+
.settings-option:last-child {
|
|
2634
|
+
border-bottom: none;
|
|
2635
|
+
}
|
|
2468
2636
|
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2637
|
+
.settings-option:hover {
|
|
2638
|
+
background: rgba(255, 255, 255, 0.1);
|
|
2639
|
+
color: var(--player-primary-color);
|
|
2640
|
+
}
|
|
2473
2641
|
|
|
2474
2642
|
.settings-option-label {
|
|
2475
2643
|
display: flex;
|
|
@@ -2525,24 +2693,24 @@ video::-webkit-media-text-track-display {
|
|
|
2525
2693
|
justify-content: space-between;
|
|
2526
2694
|
}
|
|
2527
2695
|
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2696
|
+
.settings-suboption:hover {
|
|
2697
|
+
background: rgba(255, 255, 255, 0.1);
|
|
2698
|
+
color: var(--player-primary-color);
|
|
2699
|
+
}
|
|
2532
2700
|
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2701
|
+
.settings-suboption.active {
|
|
2702
|
+
color: var(--player-primary-color);
|
|
2703
|
+
font-weight: 600;
|
|
2704
|
+
background: rgba(255, 255, 255, 0.05);
|
|
2705
|
+
}
|
|
2538
2706
|
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2707
|
+
.settings-suboption.active::after {
|
|
2708
|
+
content: '✓';
|
|
2709
|
+
font-size: 12px;
|
|
2710
|
+
color: var(--player-primary-color);
|
|
2711
|
+
}
|
|
2544
2712
|
|
|
2545
|
-
/* RESPONSIVE DESIGN - PROGRESSIVE DEGRADATION
|
|
2713
|
+
/* RESPONSIVE DESIGN - PROGRESSIVE DEGRADATION WITH DROP-DOWN MENU */
|
|
2546
2714
|
|
|
2547
2715
|
/* Large tablets and small desktops */
|
|
2548
2716
|
@media (max-width: 768px) {
|
|
@@ -2663,21 +2831,21 @@ video::-webkit-media-text-track-display {
|
|
|
2663
2831
|
}
|
|
2664
2832
|
}
|
|
2665
2833
|
|
|
2666
|
-
/*
|
|
2834
|
+
/* VERY SMALL SCREENS - ENABLE MENU SETTINGS DROPDOWN */
|
|
2667
2835
|
@media (max-width: 350px) {
|
|
2668
|
-
/*
|
|
2836
|
+
/* Show the Settings menu only on very small screens */
|
|
2669
2837
|
.settings-control {
|
|
2670
2838
|
display: block !important;
|
|
2671
2839
|
}
|
|
2672
2840
|
|
|
2673
|
-
/*
|
|
2841
|
+
/* Hide individual controls and move them to the menu */
|
|
2674
2842
|
.pip-btn,
|
|
2675
2843
|
.speed-control,
|
|
2676
2844
|
.subtitles-control {
|
|
2677
2845
|
display: none !important;
|
|
2678
2846
|
}
|
|
2679
2847
|
|
|
2680
|
-
/*
|
|
2848
|
+
/* Reduce the spaces further */
|
|
2681
2849
|
.controls-left,
|
|
2682
2850
|
.controls-right {
|
|
2683
2851
|
gap: 4px;
|
|
@@ -2711,10 +2879,10 @@ video::-webkit-media-text-track-display {
|
|
|
2711
2879
|
}
|
|
2712
2880
|
|
|
2713
2881
|
.volume-slider {
|
|
2714
|
-
width: 30px; /*
|
|
2882
|
+
width: 30px; /* Even smaller volume slider */
|
|
2715
2883
|
}
|
|
2716
2884
|
|
|
2717
|
-
/*
|
|
2885
|
+
/* Reduce the settings menu for ultra-small screens */
|
|
2718
2886
|
.settings-menu {
|
|
2719
2887
|
min-width: 160px;
|
|
2720
2888
|
font-size: 12px;
|
|
@@ -2773,7 +2941,7 @@ video::-webkit-media-text-track-display {
|
|
|
2773
2941
|
width: 25px;
|
|
2774
2942
|
}
|
|
2775
2943
|
|
|
2776
|
-
/* Menu settings ultra-
|
|
2944
|
+
/* Menu settings ultra-compact */
|
|
2777
2945
|
.settings-menu {
|
|
2778
2946
|
min-width: 140px;
|
|
2779
2947
|
font-size: 11px;
|
|
@@ -2803,9 +2971,9 @@ video::-webkit-media-text-track-display {
|
|
|
2803
2971
|
-ms-overflow-style: none; /* Internet Explorer 10+ */
|
|
2804
2972
|
}
|
|
2805
2973
|
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2974
|
+
.controls-main::-webkit-scrollbar {
|
|
2975
|
+
display: none; /* Safari and Chrome */
|
|
2976
|
+
}
|
|
2809
2977
|
|
|
2810
2978
|
.controls-left,
|
|
2811
2979
|
.controls-right {
|
|
@@ -2824,10 +2992,10 @@ video::-webkit-media-text-track-display {
|
|
|
2824
2992
|
display: none; /* Hidden by default, shown only when playlist is detected */
|
|
2825
2993
|
}
|
|
2826
2994
|
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2995
|
+
.controls-right .playlist-prev-btn.playlist-active,
|
|
2996
|
+
.controls-right .playlist-next-btn.playlist-active {
|
|
2997
|
+
display: flex;
|
|
2998
|
+
}
|
|
2831
2999
|
|
|
2832
3000
|
/* Playlist button styles */
|
|
2833
3001
|
.playlist-prev-btn .icon::before {
|
|
@@ -2846,10 +3014,10 @@ video::-webkit-media-text-track-display {
|
|
|
2846
3014
|
pointer-events: none;
|
|
2847
3015
|
}
|
|
2848
3016
|
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
3017
|
+
.playlist-prev-btn:disabled .icon,
|
|
3018
|
+
.playlist-next-btn:disabled .icon {
|
|
3019
|
+
opacity: 0.5;
|
|
3020
|
+
}
|
|
2853
3021
|
|
|
2854
3022
|
/* Responsive playlist buttons */
|
|
2855
3023
|
@media (max-width: 768px) {
|
|
@@ -2928,9 +3096,9 @@ video::-webkit-media-text-track-display {
|
|
|
2928
3096
|
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px));
|
|
2929
3097
|
}
|
|
2930
3098
|
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
3099
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
3100
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 2px)) scale(1.1);
|
|
3101
|
+
}
|
|
2934
3102
|
/* Ensure the track alignment is also correct */
|
|
2935
3103
|
.volume-slider::-moz-range-track {
|
|
2936
3104
|
height: var(--player-volume-height);
|
|
@@ -2949,13 +3117,13 @@ video::-webkit-media-text-track-display {
|
|
|
2949
3117
|
margin-top: -1px;
|
|
2950
3118
|
}
|
|
2951
3119
|
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
3120
|
+
.volume-slider::-moz-range-thumb {
|
|
3121
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px));
|
|
3122
|
+
}
|
|
2955
3123
|
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
3124
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
3125
|
+
transform: translateY(calc((var(--player-volume-height) - var(--player-volume-handle-size)) / 2 - 1.5px)) scale(1.1);
|
|
3126
|
+
}
|
|
2959
3127
|
}
|
|
2960
3128
|
|
|
2961
3129
|
/* FIREFOX VOLUME CONTAINER POSITION FIX */
|
|
@@ -2970,9 +3138,9 @@ video::-webkit-media-text-track-display {
|
|
|
2970
3138
|
transform: translateY(-2px) !important;
|
|
2971
3139
|
}
|
|
2972
3140
|
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
3141
|
+
.volume-slider::-moz-range-thumb:hover {
|
|
3142
|
+
transform: translateY(-2px) scale(1.1) !important;
|
|
3143
|
+
}
|
|
2976
3144
|
}
|
|
2977
3145
|
|
|
2978
3146
|
/* RESOLUTION CONTROL SYSTEM - Video resolution modes management */
|
|
@@ -3209,49 +3377,49 @@ video::-webkit-media-text-track-display {
|
|
|
3209
3377
|
}
|
|
3210
3378
|
/* Custom subtitle overlay responsive styles */
|
|
3211
3379
|
.custom-subtitle-overlay {
|
|
3212
|
-
|
|
3380
|
+
font-size: clamp(12px, 4vw, 18px);
|
|
3213
3381
|
}
|
|
3214
3382
|
|
|
3215
3383
|
/* Tablet responsiveness */
|
|
3216
3384
|
@media (max-width: 768px) {
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3385
|
+
.custom-subtitle-overlay {
|
|
3386
|
+
font-size: 16px !important;
|
|
3387
|
+
bottom: 70px !important;
|
|
3388
|
+
max-width: 85% !important;
|
|
3389
|
+
padding: 6px 12px !important;
|
|
3390
|
+
line-height: 1.2 !important;
|
|
3391
|
+
}
|
|
3224
3392
|
}
|
|
3225
3393
|
|
|
3226
3394
|
/* Mobile phone responsiveness */
|
|
3227
3395
|
@media (max-width: 480px) {
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3396
|
+
.custom-subtitle-overlay {
|
|
3397
|
+
font-size: 14px !important;
|
|
3398
|
+
bottom: 60px !important;
|
|
3399
|
+
max-width: 90% !important;
|
|
3400
|
+
padding: 5px 10px !important;
|
|
3401
|
+
line-height: 1.15 !important;
|
|
3402
|
+
}
|
|
3235
3403
|
}
|
|
3236
3404
|
|
|
3237
3405
|
/* Very small screens */
|
|
3238
3406
|
@media (max-width: 360px) {
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3407
|
+
.custom-subtitle-overlay {
|
|
3408
|
+
font-size: 12px !important;
|
|
3409
|
+
bottom: 50px !important;
|
|
3410
|
+
max-width: 95% !important;
|
|
3411
|
+
padding: 4px 8px !important;
|
|
3412
|
+
}
|
|
3245
3413
|
}
|
|
3246
3414
|
|
|
3247
3415
|
/* Landscape mobile optimization */
|
|
3248
3416
|
@media (max-height: 500px) and (orientation: landscape) {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3417
|
+
.custom-subtitle-overlay {
|
|
3418
|
+
font-size: 13px !important;
|
|
3419
|
+
bottom: 45px !important;
|
|
3420
|
+
max-width: 85% !important;
|
|
3421
|
+
padding: 4px 10px !important;
|
|
3422
|
+
}
|
|
3255
3423
|
}
|
|
3256
3424
|
|
|
3257
3425
|
/* Scrollable dropdown menus for small player heights */
|
|
@@ -3264,32 +3432,32 @@ video::-webkit-media-text-track-display {
|
|
|
3264
3432
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
3265
3433
|
}
|
|
3266
3434
|
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3435
|
+
/* Custom scrollbar for WebKit browsers */
|
|
3436
|
+
.speed-menu::-webkit-scrollbar,
|
|
3437
|
+
.quality-menu::-webkit-scrollbar,
|
|
3438
|
+
.subtitles-menu::-webkit-scrollbar {
|
|
3439
|
+
width: 6px;
|
|
3440
|
+
}
|
|
3273
3441
|
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3442
|
+
.speed-menu::-webkit-scrollbar-track,
|
|
3443
|
+
.quality-menu::-webkit-scrollbar-track,
|
|
3444
|
+
.subtitles-menu::-webkit-scrollbar-track {
|
|
3445
|
+
background: rgba(255, 255, 255, 0.1);
|
|
3446
|
+
border-radius: 3px;
|
|
3447
|
+
}
|
|
3280
3448
|
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3449
|
+
.speed-menu::-webkit-scrollbar-thumb,
|
|
3450
|
+
.quality-menu::-webkit-scrollbar-thumb,
|
|
3451
|
+
.subtitles-menu::-webkit-scrollbar-thumb {
|
|
3452
|
+
background: var(--player-primary-color);
|
|
3453
|
+
border-radius: 3px;
|
|
3454
|
+
}
|
|
3287
3455
|
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3456
|
+
.speed-menu::-webkit-scrollbar-thumb:hover,
|
|
3457
|
+
.quality-menu::-webkit-scrollbar-thumb:hover,
|
|
3458
|
+
.subtitles-menu::-webkit-scrollbar-thumb:hover {
|
|
3459
|
+
background: var(--player-primary-hover);
|
|
3460
|
+
}
|
|
3293
3461
|
|
|
3294
3462
|
/* Responsive max-height for very small players */
|
|
3295
3463
|
@media (max-height: 400px) {
|
|
@@ -3316,24 +3484,24 @@ video::-webkit-media-text-track-display {
|
|
|
3316
3484
|
scrollbar-color: var(--player-primary-color) rgba(255, 255, 255, 0.1);
|
|
3317
3485
|
}
|
|
3318
3486
|
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3487
|
+
/* Custom scrollbar for settings submenu in WebKit browsers */
|
|
3488
|
+
.settings-submenu::-webkit-scrollbar {
|
|
3489
|
+
width: 6px;
|
|
3490
|
+
}
|
|
3323
3491
|
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3492
|
+
.settings-submenu::-webkit-scrollbar-track {
|
|
3493
|
+
background: rgba(255, 255, 255, 0.1);
|
|
3494
|
+
border-radius: 3px;
|
|
3495
|
+
}
|
|
3328
3496
|
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3497
|
+
.settings-submenu::-webkit-scrollbar-thumb {
|
|
3498
|
+
background: var(--player-primary-color);
|
|
3499
|
+
border-radius: 3px;
|
|
3500
|
+
}
|
|
3333
3501
|
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3502
|
+
.settings-submenu::-webkit-scrollbar-thumb:hover {
|
|
3503
|
+
background: var(--player-primary-hover);
|
|
3504
|
+
}
|
|
3337
3505
|
|
|
3338
3506
|
/* Responsive adjustments for settings submenu on very small screens */
|
|
3339
3507
|
@media (max-width: 350px) {
|
|
@@ -3356,14 +3524,14 @@ video::-webkit-media-text-track-display {
|
|
|
3356
3524
|
gap: var(--player-controls-gap);
|
|
3357
3525
|
}
|
|
3358
3526
|
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3527
|
+
/* Horizontal Volume Slider (default) - Base width reduced */
|
|
3528
|
+
.volume-container[data-orientation="horizontal"] .volume-slider {
|
|
3529
|
+
width: 80px; /* Ridotto da var(--player-volume-width) a 80px fissi */
|
|
3530
|
+
height: var(--player-volume-height);
|
|
3531
|
+
background: var(--player-volume-bg);
|
|
3532
|
+
border-radius: calc(var(--player-volume-height) / 2);
|
|
3533
|
+
transition: all 0.3s ease;
|
|
3534
|
+
}
|
|
3367
3535
|
|
|
3368
3536
|
/* Responsive width reduction for horizontal slider */
|
|
3369
3537
|
@media (max-width: 1200px) {
|
|
@@ -3397,16 +3565,16 @@ video::-webkit-media-text-track-display {
|
|
|
3397
3565
|
justify-content: center;
|
|
3398
3566
|
}
|
|
3399
3567
|
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3568
|
+
.volume-container[data-orientation="vertical"] .volume-slider {
|
|
3569
|
+
width: 4px;
|
|
3570
|
+
height: 60px;
|
|
3571
|
+
writing-mode: bt-lr; /* IE */
|
|
3572
|
+
-webkit-appearance: slider-vertical; /* WebKit */
|
|
3573
|
+
background: var(--player-volume-bg);
|
|
3574
|
+
border-radius: 2px;
|
|
3575
|
+
transform: rotate(0deg);
|
|
3576
|
+
transition: all 0.3s ease;
|
|
3577
|
+
}
|
|
3410
3578
|
|
|
3411
3579
|
/* Responsive: Force vertical behavior for horizontal sliders under 550px */
|
|
3412
3580
|
@media (max-width: 550px) {
|
|
@@ -3544,21 +3712,21 @@ video::-webkit-media-text-track-display {
|
|
|
3544
3712
|
transform: translateX(-50%);
|
|
3545
3713
|
}
|
|
3546
3714
|
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3715
|
+
/* Hover state for chapter marker */
|
|
3716
|
+
.chapter-marker:hover {
|
|
3717
|
+
opacity: 1;
|
|
3718
|
+
width: 4px;
|
|
3719
|
+
height: 120%;
|
|
3720
|
+
top: -10%;
|
|
3721
|
+
box-shadow: 0 0 8px var(--player-primary-color);
|
|
3722
|
+
}
|
|
3555
3723
|
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3724
|
+
/* Active chapter marker (currently playing) */
|
|
3725
|
+
.chapter-marker.active {
|
|
3726
|
+
background: var(--player-primary-hover);
|
|
3727
|
+
opacity: 1;
|
|
3728
|
+
width: 4px;
|
|
3729
|
+
}
|
|
3562
3730
|
|
|
3563
3731
|
/* Chapter tooltip */
|
|
3564
3732
|
.chapter-tooltip {
|
|
@@ -3583,19 +3751,19 @@ video::-webkit-media-text-track-display {
|
|
|
3583
3751
|
pointer-events: none;
|
|
3584
3752
|
}
|
|
3585
3753
|
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3754
|
+
/* Tooltip arrow */
|
|
3755
|
+
.chapter-tooltip::after {
|
|
3756
|
+
content: '';
|
|
3757
|
+
position: absolute;
|
|
3758
|
+
top: 100%;
|
|
3759
|
+
left: 50%;
|
|
3760
|
+
transform: translateX(-50%);
|
|
3761
|
+
width: 0;
|
|
3762
|
+
height: 0;
|
|
3763
|
+
border-left: 6px solid transparent;
|
|
3764
|
+
border-right: 6px solid transparent;
|
|
3765
|
+
border-top: 6px solid rgba(0, 0, 0, 0.95);
|
|
3766
|
+
}
|
|
3599
3767
|
|
|
3600
3768
|
/* Chapter tooltip image */
|
|
3601
3769
|
.chapter-tooltip-image {
|
|
@@ -3633,9 +3801,9 @@ video::-webkit-media-text-track-display {
|
|
|
3633
3801
|
width: 2px;
|
|
3634
3802
|
}
|
|
3635
3803
|
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3804
|
+
.chapter-marker:hover {
|
|
3805
|
+
width: 3px;
|
|
3806
|
+
}
|
|
3639
3807
|
|
|
3640
3808
|
.chapter-tooltip {
|
|
3641
3809
|
min-width: 160px;
|
|
@@ -3666,73 +3834,73 @@ video::-webkit-media-text-track-display {
|
|
|
3666
3834
|
pointer-events: none;
|
|
3667
3835
|
}
|
|
3668
3836
|
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3837
|
+
/* Visible state */
|
|
3838
|
+
.video-poster-overlay.visible {
|
|
3839
|
+
opacity: 1;
|
|
3840
|
+
visibility: visible;
|
|
3841
|
+
pointer-events: auto;
|
|
3842
|
+
}
|
|
3675
3843
|
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3844
|
+
/* Hidden state */
|
|
3845
|
+
.video-poster-overlay.hidden {
|
|
3846
|
+
opacity: 0;
|
|
3847
|
+
visibility: hidden;
|
|
3848
|
+
pointer-events: none;
|
|
3849
|
+
}
|
|
3682
3850
|
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3851
|
+
/* Hover effect on poster */
|
|
3852
|
+
.video-poster-overlay.visible:hover {
|
|
3853
|
+
opacity: 0.95;
|
|
3854
|
+
}
|
|
3687
3855
|
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3856
|
+
/* Play button overlay on poster - THEMED COLORS 🎨 */
|
|
3857
|
+
.video-poster-overlay::after {
|
|
3858
|
+
content: '';
|
|
3859
|
+
position: absolute;
|
|
3860
|
+
top: 50%;
|
|
3861
|
+
left: 50%;
|
|
3862
|
+
transform: translate(-50%, -50%);
|
|
3863
|
+
width: 80px;
|
|
3864
|
+
height: 80px;
|
|
3865
|
+
background: rgba(0, 0, 0, 0.7);
|
|
3866
|
+
border-radius: 50%;
|
|
3867
|
+
border: 3px solid var(--player-primary-color); /* THEMED BORDER ✨ */
|
|
3868
|
+
opacity: 0;
|
|
3869
|
+
transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
|
|
3870
|
+
pointer-events: none;
|
|
3871
|
+
}
|
|
3704
3872
|
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3873
|
+
/* Show play button on hover with animation and themed glow */
|
|
3874
|
+
.video-poster-overlay.visible:hover::after {
|
|
3875
|
+
opacity: 1;
|
|
3876
|
+
transform: translate(-50%, -50%) scale(1.1);
|
|
3877
|
+
border-color: var(--player-primary-hover); /* THEMED HOVER COLOR 🌟 */
|
|
3878
|
+
box-shadow: 0 0 20px var(--player-primary-color); /* THEMED GLOW 💫 */
|
|
3879
|
+
}
|
|
3712
3880
|
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3881
|
+
/* Play icon triangle - THEMED COLOR 🎨 */
|
|
3882
|
+
.video-poster-overlay::before {
|
|
3883
|
+
content: '';
|
|
3884
|
+
position: absolute;
|
|
3885
|
+
top: 50%;
|
|
3886
|
+
left: 50%;
|
|
3887
|
+
transform: translate(-40%, -50%);
|
|
3888
|
+
width: 0;
|
|
3889
|
+
height: 0;
|
|
3890
|
+
border-style: solid;
|
|
3891
|
+
border-width: 15px 0 15px 25px;
|
|
3892
|
+
border-color: transparent transparent transparent var(--player-primary-color); /* THEMED TRIANGLE ✨ */
|
|
3893
|
+
z-index: 2;
|
|
3894
|
+
opacity: 0;
|
|
3895
|
+
transition: opacity 0.3s ease, border-color 0.3s ease;
|
|
3896
|
+
pointer-events: none;
|
|
3897
|
+
}
|
|
3730
3898
|
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3899
|
+
/* Show play icon on hover with themed color */
|
|
3900
|
+
.video-poster-overlay.visible:hover::before {
|
|
3901
|
+
opacity: 1;
|
|
3902
|
+
border-color: transparent transparent transparent var(--player-primary-hover); /* THEMED HOVER 🌟 */
|
|
3903
|
+
}
|
|
3736
3904
|
|
|
3737
3905
|
/* Responsive adjustments */
|
|
3738
3906
|
@media (max-width: 768px) {
|
|
@@ -4067,4 +4235,4 @@ video::-webkit-media-text-track-display {
|
|
|
4067
4235
|
/* Clickable watermark cursor */
|
|
4068
4236
|
.video-watermark[style*="cursor: pointer"] {
|
|
4069
4237
|
cursor: pointer !important;
|
|
4070
|
-
}
|
|
4238
|
+
}
|