@gcorevideo/player 2.21.1 → 2.21.3

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.
Files changed (35) hide show
  1. package/assets/media-control/media-control.ejs +0 -5
  2. package/assets/media-control/media-control.scss +44 -54
  3. package/assets/media-control/width370.scss +3 -5
  4. package/assets/subtitles/combobox.ejs +7 -9
  5. package/assets/subtitles/style.scss +8 -15
  6. package/dist/core.js +4 -1
  7. package/dist/index.css +733 -750
  8. package/dist/index.js +135 -159
  9. package/dist/plugins/index.css +1401 -1418
  10. package/dist/plugins/index.js +124 -155
  11. package/lib/playback/BasePlayback.d.ts +1 -0
  12. package/lib/playback/BasePlayback.d.ts.map +1 -1
  13. package/lib/playback/BasePlayback.js +3 -0
  14. package/lib/playback.types.d.ts +5 -0
  15. package/lib/playback.types.d.ts.map +1 -1
  16. package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -1
  17. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  18. package/lib/plugins/bottom-gear/BottomGear.js +2 -1
  19. package/lib/plugins/media-control/MediaControl.d.ts +0 -1
  20. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  21. package/lib/plugins/media-control/MediaControl.js +7 -5
  22. package/lib/plugins/playback-rate/PlaybackRate.d.ts +1 -0
  23. package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
  24. package/lib/plugins/playback-rate/PlaybackRate.js +1 -0
  25. package/lib/plugins/subtitles/Subtitles.d.ts +21 -19
  26. package/lib/plugins/subtitles/Subtitles.d.ts.map +1 -1
  27. package/lib/plugins/subtitles/Subtitles.js +121 -151
  28. package/package.json +1 -1
  29. package/src/playback/BasePlayback.ts +4 -0
  30. package/src/playback.types.ts +6 -0
  31. package/src/plugins/bottom-gear/BottomGear.ts +3 -1
  32. package/src/plugins/media-control/MediaControl.ts +37 -20
  33. package/src/plugins/playback-rate/PlaybackRate.ts +1 -0
  34. package/src/plugins/subtitles/Subtitles.ts +144 -179
  35. package/tsconfig.tsbuildinfo +1 -1
package/dist/index.css CHANGED
@@ -122,219 +122,390 @@
122
122
  .gplayer-lite-btn::-moz-focus-inner {
123
123
  border: 0;
124
124
  padding: 0;
125
- }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
126
- order: 99;
127
- height: 20px;
125
+ }:root {
126
+ --primary-background-color: #000;
127
+ --secondary-background-color: #262626;
128
+ --primary-text-color: #fff;
129
+ --secondary-text-color: #fff4f2;
130
+ --hover-text-color: #f9b090;
131
+ --speedtest-red: #df564d;
132
+ --speedtest-orange: #df934d;
133
+ --speedtest-yellow: #dfd04d;
134
+ --speedtest-light-green: #c2df4d;
135
+ --speedtest-green: #73df4d;
128
136
  }
129
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
137
+
138
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box {
139
+ position: absolute;
140
+ display: inline-block;
141
+ bottom: 52px;
142
+ right: 16px;
143
+ padding: 0 10px 12px;
144
+ margin: 0;
145
+ line-height: 20px;
146
+ font-size: 12px;
147
+ font-weight: 500;
148
+ background: var(--primary-background-color);
149
+ color: #fff;
150
+ z-index: 20000;
151
+ overflow: auto;
152
+ max-height: calc(100vh - 60px);
153
+ max-width: calc(100vw - 10px);
154
+ }
155
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top {
156
+ position: absolute;
157
+ top: 0;
158
+ left: 0;
159
+ z-index: 99990;
160
+ width: 100%;
161
+ height: 32px;
162
+ background: var(--primary-background-color);
163
+ }
164
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button {
165
+ float: right;
166
+ margin-right: 12px;
167
+ margin-top: 10px;
168
+ display: block;
169
+ width: 12px;
170
+ height: 12px;
171
+ }
172
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button svg path {
173
+ fill: var(--primary-text-color);
174
+ }
175
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button:hover svg path {
176
+ fill: var(--hover-text-color);
177
+ }
178
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-main {
179
+ overflow: hidden;
180
+ margin-top: 44px;
181
+ }
182
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.wide {
183
+ width: 820px;
184
+ }
185
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul, .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box li {
186
+ list-style-type: none;
187
+ }
188
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul div, .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box li div {
189
+ padding-left: 2px;
190
+ padding-right: 2px;
191
+ background: var(--primary-background-color);
192
+ }
193
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
194
+ display: inline-block;
195
+ float: left;
196
+ padding: 5px;
197
+ width: 200px;
198
+ }
199
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li {
200
+ position: relative;
201
+ padding: 0 5px;
202
+ text-align: left;
203
+ }
204
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.canvas-wrapper {
205
+ padding: 0;
206
+ }
207
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.canvas-wrapper canvas {
208
+ width: 100%;
209
+ }
210
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li:nth-child(2n) {
211
+ background: var(--secondary-background-color);
212
+ }
213
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li:nth-child(2n) div {
214
+ background: var(--secondary-background-color);
215
+ }
216
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.title {
217
+ text-align: center;
218
+ font-weight: bold;
219
+ padding-bottom: 4px;
220
+ font-size: 14px;
221
+ }
222
+ .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li div {
223
+ margin: 0;
224
+ position: absolute;
225
+ right: 0;
226
+ top: 0;
227
+ }
228
+
229
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow {
230
+ width: 250px;
231
+ }
232
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow ul {
233
+ width: 100%;
234
+ }
235
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary {
236
+ padding: 0 5px;
237
+ height: auto;
238
+ }
239
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block {
240
+ width: 100%;
241
+ flex-direction: column;
242
+ }
243
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block .speedtest-summary-subblock {
244
+ width: 100%;
245
+ }
246
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block .speedtest-summary-subblock-content {
247
+ width: 100%;
248
+ }
249
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-header {
250
+ padding-top: 12px;
251
+ height: 38px;
252
+ text-align: center;
253
+ }
254
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-quality-header {
255
+ text-align: center;
256
+ }
257
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer {
258
+ height: 80px;
259
+ }
260
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer-about-link {
261
+ bottom: 0;
262
+ left: 0;
263
+ }
264
+ .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer .speedtest-footer-refresh {
265
+ inset: 50% auto auto 50%;
266
+ transform: translate(-50%, -50%);
267
+ }
268
+
269
+ .speed-test-button {
270
+ margin: 10px 0 0;
271
+ color: #000;
272
+ }
273
+
274
+ .speed-test {
275
+ position: absolute;
276
+ top: 0;
277
+ left: 0;
278
+ width: 100%;
279
+ height: 100%;
280
+ z-index: 9999;
281
+ }
282
+ .speed-test .speed-test-header {
283
+ width: 100%;
284
+ height: 32px;
285
+ }
286
+ .speed-test .speed-test-header .close-speed-test {
287
+ float: right;
288
+ margin-right: 5px;
289
+ line-height: 32px;
290
+ cursor: pointer;
291
+ color: var(--primary-text-color);
292
+ }
293
+ .speed-test .speed-test-header .close-speed-test:hover {
294
+ color: var(--hover-text-color);
295
+ }
296
+
297
+ .settings-button {
298
+ float: right;
299
+ margin: 0 12px 0 0;
300
+ height: 40px;
301
+ width: 24px;
302
+ border: none;
303
+ padding: 0;
304
+ }
305
+
306
+ .settings-options-list {
130
307
  position: absolute;
131
308
  right: 16px;
132
309
  bottom: 52px;
133
- display: none;
310
+ background: var(--primary-background-color);
134
311
  width: 250px;
135
- min-height: 48px;
312
+ height: 48px;
136
313
  z-index: 9999;
137
314
  border-radius: 4px;
138
315
  }
139
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
140
- padding: 8px 0;
141
- }
142
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
316
+ .settings-options-list svg {
143
317
  float: left;
144
318
  margin-right: 10px;
145
319
  }
146
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
320
+ .settings-options-list .settings-speedtest-option {
321
+ color: var(--primary-text-color);
147
322
  margin: 0;
148
323
  text-align: left;
324
+ height: 24px;
149
325
  line-height: 22px;
150
- padding: 5px 14px;
326
+ padding: 14px;
151
327
  width: 250px;
152
328
  font-size: 12px;
153
329
  }
154
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
155
- float: right;
156
- margin-right: -14px;
330
+ .settings-options-list .settings-speedtest-option:hover {
331
+ color: var(--hover-text-color);
157
332
  }
158
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
159
- float: right;
160
- margin-right: 8px;
333
+ .settings-options-list .settings-speedtest-option:hover svg path {
334
+ fill: var(--hover-text-color);
161
335
  }
162
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
163
- height: 20px;
164
- }*, :focus, :visited {
165
- outline: none !important;
336
+ .settings-options-list .settings-speedtest-option svg path {
337
+ fill: var(--primary-text-color);
166
338
  }
167
339
 
168
- .gear-wrapper .go-back {
169
- font-weight: 600;
340
+ .speedtest-summary {
341
+ width: 100%;
342
+ border-top: 1px solid var(--secondary-background-color) !important;
343
+ border-bottom: 1px solid var(--secondary-background-color) !important;
344
+ display: flex !important;
345
+ flex-direction: column;
346
+ align-items: stretch;
347
+ justify-content: space-between;
348
+ }
349
+ .speedtest-summary .speedtest-summary-header {
350
+ width: 100%;
351
+ padding-top: 4px;
352
+ text-align: left;
353
+ height: 32px;
170
354
  font-size: 14px;
355
+ font-weight: 500;
171
356
  line-height: 20px;
357
+ }
358
+ .speedtest-summary .speedtest-summary-block {
359
+ position: relative;
360
+ display: flex;
361
+ flex-direction: row;
172
362
  width: 100%;
173
- text-align: left;
174
- padding: 12px;
175
363
  }
176
- .gear-wrapper .go-back .arrow-left-icon {
177
- float: left;
178
- padding-top: 2px;
179
- padding-right: 2px;
364
+ .speedtest-summary .speedtest-summary-block .speedtest-summary-subblock {
365
+ width: 50%;
366
+ margin-top: 4px;
367
+ margin-bottom: 12px;
180
368
  }
181
- .gear-wrapper .go-back .arrow-left-icon svg {
182
- height: 16px;
369
+ .speedtest-summary .speedtest-summary-block .speedtest-summary-subblock-content {
370
+ padding: 2px;
371
+ width: 248px;
372
+ max-width: 100%;
183
373
  }
184
- .gear-wrapper ul.gear-sub-menu {
374
+
375
+ .speedtest-quality {
185
376
  width: 100%;
186
- list-style-type: none;
187
- background-color: transparent;
188
- min-width: 60px;
189
- border-top: 2px solid rgb(36, 36, 36);
377
+ height: 36px;
378
+ display: flex !important;
379
+ flex-direction: column !important;
380
+ justify-content: space-between !important;
190
381
  }
191
- .gear-wrapper ul.gear-sub-menu li {
382
+ .speedtest-quality .speedtest-quality-header {
192
383
  font-size: 12px;
384
+ height: 20px;
385
+ border-left: 2px solid var(--secondary-background-color) !important;
386
+ background-color: var(--secondary-background-color);
193
387
  text-align: left;
194
388
  }
195
- .gear-wrapper ul.gear-sub-menu li[data-title] {
196
- background-color: #c3c2c2;
197
- padding: 5px;
198
- }
199
- .gear-wrapper ul.gear-sub-menu li a {
200
- display: block;
201
- text-decoration: none;
202
- height: 32px;
203
- padding: 5px 10px;
204
- line-height: 22px;
205
- color: #fffffe;
389
+ .speedtest-quality-content {
390
+ width: 100%;
391
+ margin-top: 8px;
392
+ height: 8px;
393
+ display: flex !important;
394
+ flex-direction: row !important;
395
+ align-items: stretch !important;
396
+ justify-content: space-between;
206
397
  }
207
- .gear-wrapper ul.gear-sub-menu li a:hover {
208
- color: white;
209
- background-color: rgba(0, 0, 0, 0.4);
398
+ .speedtest-quality-content-item {
399
+ width: 18.8%;
400
+ background-color: #fff;
210
401
  }
211
- .gear-wrapper ul.gear-sub-menu li a:hover a {
212
- color: white;
213
- text-decoration: none;
402
+ .speedtest-quality-content-item.speedtest-quality-value-1 {
403
+ background-color: var(--speedtest-red);
214
404
  }
215
- .gear-wrapper ul.gear-sub-menu li a .check-icon {
216
- width: 30px;
217
- height: 20px;
218
- float: left;
219
- display: block;
405
+ .speedtest-quality-content-item.speedtest-quality-value-2 {
406
+ background-color: var(--speedtest-orange);
220
407
  }
221
- .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
222
- display: none;
408
+ .speedtest-quality-content-item.speedtest-quality-value-3 {
409
+ background-color: var(--speedtest-yellow);
223
410
  }
224
- .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
225
- display: inline;
226
- }.clips.bar-container[data-seekbar] {
227
- clip-path: url("#myClip");
228
- }div.player-error-screen, [data-player] div.player-error-screen {
229
- color: #CCCACA;
230
- position: absolute;
231
- top: 0;
232
- height: 100%;
233
- width: 100%;
234
- background-color: rgba(0, 0, 0, 0.7);
235
- z-index: 2000;
236
- display: flex;
237
- flex-direction: column;
238
- justify-content: center;
411
+ .speedtest-quality-content-item.speedtest-quality-value-4 {
412
+ background-color: var(--speedtest-light-green);
239
413
  }
240
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
241
- font-size: 14px;
242
- color: #CCCACA;
243
- margin-top: 45px;
414
+ .speedtest-quality-content-item.speedtest-quality-value-5 {
415
+ background-color: var(--speedtest-green);
244
416
  }
245
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
246
- font-weight: bold;
247
- line-height: 30px;
248
- font-size: 18px;
417
+
418
+ .speedtest-footer {
419
+ position: relative;
420
+ float: left;
421
+ width: 100%;
422
+ height: 30px;
423
+ line-height: 16px;
249
424
  }
250
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
251
- width: 90%;
252
- margin: 0 auto;
425
+ .speedtest-footer-about-link {
426
+ position: absolute;
427
+ bottom: 0;
428
+ left: 0;
429
+ color: var(--secondary-text-color);
430
+ text-decoration: underline !important;
253
431
  }
254
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
255
- font-size: 13px;
256
- margin-top: 15px;
432
+ .speedtest-footer-about-link:hover {
433
+ color: var(--hover-text-color);
257
434
  }
258
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
259
- cursor: pointer;
260
- width: 30px;
261
- margin: 15px auto 0;
262
- }.big-mute-icon-wrapper[data-big-mute] {
435
+ .speedtest-footer .speedtest-footer-refresh {
263
436
  position: absolute;
264
- z-index: 9998;
265
- background-color: transparent;
437
+ bottom: 0;
438
+ right: 0;
439
+ color: var(--secondary-text-color);
440
+ font-size: 14px;
441
+ font-weight: 400;
442
+ line-height: 16px;
443
+ height: 16px;
266
444
  display: flex;
267
- justify-content: center;
268
- width: 100%;
269
- height: calc(100% - 50px);
270
- margin: 0 auto;
271
- opacity: 0.75;
272
- transition: opacity 0.1s ease;
273
- pointer-events: auto;
274
- }
275
- .big-mute-icon-wrapper[data-big-mute].hide {
276
- display: none;
445
+ align-items: center;
446
+ gap: 4px;
277
447
  }
278
- .big-mute-icon-wrapper[data-big-mute]:hover {
279
- cursor: pointer;
448
+ .speedtest-footer .speedtest-footer-refresh svg path {
449
+ fill: var(--secondary-text-color);
280
450
  }
281
-
282
- .big-mute-icon[data-big-mute-icon] {
283
- display: flex;
284
- align-items: center;
285
- justify-content: center;
286
- align-self: center;
287
- width: 120px;
288
- height: 120px;
289
- border: 2px solid white;
290
- border-radius: 50%;
291
- filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
292
- filter: alpha(opacity=60);
293
- opacity: 1;
294
- box-shadow: 0 0 1px 0 white;
295
- background: rgba(240, 243, 247, 0.9411764706);
296
- z-index: 10000;
451
+ .speedtest-footer .speedtest-footer-refresh:hover {
452
+ color: var(--hover-text-color);
297
453
  }
298
- .big-mute-icon[data-big-mute-icon] svg {
299
- margin-left: 5px;
300
- width: 80px;
301
- height: 80px;
454
+ .speedtest-footer .speedtest-footer-refresh:hover svg path {
455
+ fill: var(--hover-text-color);
302
456
  }
303
- .big-mute-icon[data-big-mute-icon] svg path {
304
- fill: #1f1e1e !important;
457
+
458
+ .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box {
459
+ position: fixed;
460
+ height: auto;
461
+ width: auto;
462
+ inset: 0;
463
+ min-width: 100vw;
464
+ padding-bottom: 4px;
465
+ padding-left: 4px;
466
+ padding-right: 4px;
305
467
  }
306
- .big-mute-icon[data-big-mute-icon]:hover {
307
- background: rgba(240, 243, 247, 0.8784313725);
468
+ .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top {
469
+ position: fixed;
308
470
  }
309
- .big-mute-icon[data-big-mute-icon]:hover svg path {
310
- fill: #151515 !important;
311
- }.context-menu {
312
- z-index: 999;
313
- position: absolute;
314
- top: 0;
315
- left: 0;
316
- text-align: center;
471
+ .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
472
+ width: 50%;
317
473
  }
318
- .context-menu .context-menu-list {
319
- font-family: "Proxima Nova", sans-serif;
320
- font-size: 12px;
321
- line-height: 12px;
322
- list-style-type: none;
323
- text-align: left;
324
- padding: 5px;
325
- margin-left: auto;
326
- margin-right: auto;
327
- background-color: rgba(0, 0, 0, 0.75);
328
- border: 1px solid #666;
329
- border-radius: 4px;
474
+
475
+ @media only screen and (orientation: portrait) {
476
+ .mobile .speedtest-summary {
477
+ padding: 0 5px;
478
+ height: auto;
479
+ }
480
+ .mobile .speedtest-summary-block {
481
+ width: 100%;
482
+ flex-direction: column;
483
+ }
484
+ .mobile .speedtest-summary-block .speedtest-summary-subblock {
485
+ width: 100%;
486
+ }
487
+ .mobile .speedtest-summary-block .speedtest-summary-subblock-content {
488
+ width: 100%;
489
+ }
490
+ .mobile .speedtest-summary-header {
491
+ padding-top: 12px;
492
+ height: 38px;
493
+ text-align: center;
494
+ }
495
+ .mobile .speedtest-quality-header {
496
+ text-align: center;
497
+ }
498
+ .mobile .speedtest-footer .speedtest-footer-refresh {
499
+ inset: 50% auto auto 50%;
500
+ transform: translate(-50%, -50%);
501
+ }
330
502
  }
331
- .context-menu .context-menu-list .context-menu-list-item {
332
- color: white;
333
- padding: 5px;
334
- cursor: pointer;
335
- }.level-disabled {
336
- opacity: 0.5;
337
- pointer-events: none;
503
+ @media only screen and (orientation: landscape) {
504
+ .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
505
+ width: 25%;
506
+ }
507
+ }.clips.bar-container[data-seekbar] {
508
+ clip-path: url("#myClip");
338
509
  }*,
339
510
  :focus,
340
511
  :visited {
@@ -499,425 +670,218 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
499
670
  letter-spacing: 0.8px;
500
671
  font-weight: 500;
501
672
  color: #fffffe;
502
- margin-left: 21px;
503
- }
504
- .dvr-controls[data-dvr-controls] .live-info::before {
505
- width: 10px;
506
- height: 10px;
507
- border-radius: 50%;
508
- margin-right: 8px;
509
- background-color: #ed4f4a;
510
- }
511
- .dvr-controls[data-dvr-controls] .live-button {
512
- height: 40px;
513
- opacity: 1;
514
- font-size: 14px;
515
- letter-spacing: 0.8px;
516
- font-weight: 500;
517
- margin-left: 20px;
518
- }
519
- .dvr-controls[data-dvr-controls] .live-button::before {
520
- width: 10px;
521
- height: 10px;
522
- border-radius: 50%;
523
- margin-right: 8px;
524
- background-color: #cacaca;
525
- }
526
-
527
- .dvr .dvr-controls[data-dvr-controls] .live-info {
528
- display: none;
529
- }
530
- .dvr .dvr-controls[data-dvr-controls] .live-button {
531
- display: block;
532
- }
533
- .dvr.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
534
- background-color: #005aff;
535
- }
536
-
537
- .media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
538
- background-color: #ff0101;
539
- }:root {
540
- --primary-background-color: #000;
541
- --secondary-background-color: #262626;
542
- --primary-text-color: #fff;
543
- --secondary-text-color: #fff4f2;
544
- --hover-text-color: #f9b090;
545
- --speedtest-red: #df564d;
546
- --speedtest-orange: #df934d;
547
- --speedtest-yellow: #dfd04d;
548
- --speedtest-light-green: #c2df4d;
549
- --speedtest-green: #73df4d;
550
- }
551
-
552
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box {
553
- position: absolute;
554
- display: inline-block;
555
- bottom: 52px;
556
- right: 16px;
557
- padding: 0 10px 12px;
558
- margin: 0;
559
- line-height: 20px;
560
- font-size: 12px;
561
- font-weight: 500;
562
- background: var(--primary-background-color);
563
- color: #fff;
564
- z-index: 20000;
565
- overflow: auto;
566
- max-height: calc(100vh - 60px);
567
- max-width: calc(100vw - 10px);
568
- }
569
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top {
570
- position: absolute;
571
- top: 0;
572
- left: 0;
573
- z-index: 99990;
574
- width: 100%;
575
- height: 32px;
576
- background: var(--primary-background-color);
577
- }
578
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button {
579
- float: right;
580
- margin-right: 12px;
581
- margin-top: 10px;
582
- display: block;
583
- width: 12px;
584
- height: 12px;
585
- }
586
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button svg path {
587
- fill: var(--primary-text-color);
588
- }
589
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top .close-button:hover svg path {
590
- fill: var(--hover-text-color);
591
- }
592
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-main {
593
- overflow: hidden;
594
- margin-top: 44px;
595
- }
596
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.wide {
597
- width: 820px;
598
- }
599
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul, .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box li {
600
- list-style-type: none;
601
- }
602
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul div, .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box li div {
603
- padding-left: 2px;
604
- padding-right: 2px;
605
- background: var(--primary-background-color);
606
- }
607
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
608
- display: inline-block;
609
- float: left;
610
- padding: 5px;
611
- width: 200px;
612
- }
613
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li {
614
- position: relative;
615
- padding: 0 5px;
616
- text-align: left;
617
- }
618
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.canvas-wrapper {
619
- padding: 0;
620
- }
621
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.canvas-wrapper canvas {
622
- width: 100%;
623
- }
624
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li:nth-child(2n) {
625
- background: var(--secondary-background-color);
626
- }
627
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li:nth-child(2n) div {
628
- background: var(--secondary-background-color);
629
- }
630
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li.title {
631
- text-align: center;
632
- font-weight: bold;
633
- padding-bottom: 4px;
634
- font-size: 14px;
635
- }
636
- .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul li div {
637
- margin: 0;
638
- position: absolute;
639
- right: 0;
640
- top: 0;
641
- }
642
-
643
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow {
644
- width: 250px;
645
- }
646
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow ul {
647
- width: 100%;
648
- }
649
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary {
650
- padding: 0 5px;
651
- height: auto;
652
- }
653
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block {
654
- width: 100%;
655
- flex-direction: column;
656
- }
657
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block .speedtest-summary-subblock {
658
- width: 100%;
659
- }
660
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-block .speedtest-summary-subblock-content {
661
- width: 100%;
662
- }
663
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-summary-header {
664
- padding-top: 12px;
665
- height: 38px;
666
- text-align: center;
667
- }
668
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-quality-header {
669
- text-align: center;
670
- }
671
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer {
672
- height: 80px;
673
+ margin-left: 21px;
673
674
  }
674
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer-about-link {
675
- bottom: 0;
676
- left: 0;
675
+ .dvr-controls[data-dvr-controls] .live-info::before {
676
+ width: 10px;
677
+ height: 10px;
678
+ border-radius: 50%;
679
+ margin-right: 8px;
680
+ background-color: #ed4f4a;
677
681
  }
678
- .desktop .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box.narrow .speedtest-footer .speedtest-footer-refresh {
679
- inset: 50% auto auto 50%;
680
- transform: translate(-50%, -50%);
682
+ .dvr-controls[data-dvr-controls] .live-button {
683
+ height: 40px;
684
+ opacity: 1;
685
+ font-size: 14px;
686
+ letter-spacing: 0.8px;
687
+ font-weight: 500;
688
+ margin-left: 20px;
681
689
  }
682
-
683
- .speed-test-button {
684
- margin: 10px 0 0;
685
- color: #000;
690
+ .dvr-controls[data-dvr-controls] .live-button::before {
691
+ width: 10px;
692
+ height: 10px;
693
+ border-radius: 50%;
694
+ margin-right: 8px;
695
+ background-color: #cacaca;
686
696
  }
687
697
 
688
- .speed-test {
689
- position: absolute;
690
- top: 0;
691
- left: 0;
692
- width: 100%;
693
- height: 100%;
694
- z-index: 9999;
695
- }
696
- .speed-test .speed-test-header {
697
- width: 100%;
698
- height: 32px;
698
+ .dvr .dvr-controls[data-dvr-controls] .live-info {
699
+ display: none;
699
700
  }
700
- .speed-test .speed-test-header .close-speed-test {
701
- float: right;
702
- margin-right: 5px;
703
- line-height: 32px;
704
- cursor: pointer;
705
- color: var(--primary-text-color);
701
+ .dvr .dvr-controls[data-dvr-controls] .live-button {
702
+ display: block;
706
703
  }
707
- .speed-test .speed-test-header .close-speed-test:hover {
708
- color: var(--hover-text-color);
704
+ .dvr.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
705
+ background-color: #005aff;
709
706
  }
710
707
 
711
- .settings-button {
712
- float: right;
713
- margin: 0 12px 0 0;
714
- height: 40px;
715
- width: 24px;
716
- border: none;
717
- padding: 0;
708
+ .media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
709
+ background-color: #ff0101;
710
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
711
+ order: 99;
712
+ height: 20px;
718
713
  }
719
-
720
- .settings-options-list {
714
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
721
715
  position: absolute;
722
716
  right: 16px;
723
717
  bottom: 52px;
724
- background: var(--primary-background-color);
718
+ display: none;
725
719
  width: 250px;
726
- height: 48px;
720
+ min-height: 48px;
727
721
  z-index: 9999;
728
722
  border-radius: 4px;
729
723
  }
730
- .settings-options-list svg {
724
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
725
+ padding: 8px 0;
726
+ }
727
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
731
728
  float: left;
732
729
  margin-right: 10px;
733
730
  }
734
- .settings-options-list .settings-speedtest-option {
735
- color: var(--primary-text-color);
731
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
736
732
  margin: 0;
737
733
  text-align: left;
738
- height: 24px;
739
734
  line-height: 22px;
740
- padding: 14px;
735
+ padding: 5px 14px;
741
736
  width: 250px;
742
737
  font-size: 12px;
743
738
  }
744
- .settings-options-list .settings-speedtest-option:hover {
745
- color: var(--hover-text-color);
739
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
740
+ float: right;
741
+ margin-right: -14px;
746
742
  }
747
- .settings-options-list .settings-speedtest-option:hover svg path {
748
- fill: var(--hover-text-color);
743
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
744
+ float: right;
745
+ margin-right: 8px;
749
746
  }
750
- .settings-options-list .settings-speedtest-option svg path {
751
- fill: var(--primary-text-color);
747
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
748
+ height: 20px;
749
+ }*, :focus, :visited {
750
+ outline: none !important;
752
751
  }
753
752
 
754
- .speedtest-summary {
755
- width: 100%;
756
- border-top: 1px solid var(--secondary-background-color) !important;
757
- border-bottom: 1px solid var(--secondary-background-color) !important;
758
- display: flex !important;
759
- flex-direction: column;
760
- align-items: stretch;
761
- justify-content: space-between;
762
- }
763
- .speedtest-summary .speedtest-summary-header {
764
- width: 100%;
765
- padding-top: 4px;
766
- text-align: left;
767
- height: 32px;
753
+ .gear-wrapper .go-back {
754
+ font-weight: 600;
768
755
  font-size: 14px;
769
- font-weight: 500;
770
756
  line-height: 20px;
771
- }
772
- .speedtest-summary .speedtest-summary-block {
773
- position: relative;
774
- display: flex;
775
- flex-direction: row;
776
757
  width: 100%;
758
+ text-align: left;
759
+ padding: 12px;
777
760
  }
778
- .speedtest-summary .speedtest-summary-block .speedtest-summary-subblock {
779
- width: 50%;
780
- margin-top: 4px;
781
- margin-bottom: 12px;
761
+ .gear-wrapper .go-back .arrow-left-icon {
762
+ float: left;
763
+ padding-top: 2px;
764
+ padding-right: 2px;
782
765
  }
783
- .speedtest-summary .speedtest-summary-block .speedtest-summary-subblock-content {
784
- padding: 2px;
785
- width: 248px;
786
- max-width: 100%;
766
+ .gear-wrapper .go-back .arrow-left-icon svg {
767
+ height: 16px;
787
768
  }
788
-
789
- .speedtest-quality {
769
+ .gear-wrapper ul.gear-sub-menu {
790
770
  width: 100%;
791
- height: 36px;
792
- display: flex !important;
793
- flex-direction: column !important;
794
- justify-content: space-between !important;
771
+ list-style-type: none;
772
+ background-color: transparent;
773
+ min-width: 60px;
774
+ border-top: 2px solid rgb(36, 36, 36);
795
775
  }
796
- .speedtest-quality .speedtest-quality-header {
776
+ .gear-wrapper ul.gear-sub-menu li {
797
777
  font-size: 12px;
798
- height: 20px;
799
- border-left: 2px solid var(--secondary-background-color) !important;
800
- background-color: var(--secondary-background-color);
801
778
  text-align: left;
802
779
  }
803
- .speedtest-quality-content {
804
- width: 100%;
805
- margin-top: 8px;
806
- height: 8px;
807
- display: flex !important;
808
- flex-direction: row !important;
809
- align-items: stretch !important;
810
- justify-content: space-between;
780
+ .gear-wrapper ul.gear-sub-menu li[data-title] {
781
+ background-color: #c3c2c2;
782
+ padding: 5px;
811
783
  }
812
- .speedtest-quality-content-item {
813
- width: 18.8%;
814
- background-color: #fff;
784
+ .gear-wrapper ul.gear-sub-menu li a {
785
+ display: block;
786
+ text-decoration: none;
787
+ height: 32px;
788
+ padding: 5px 10px;
789
+ line-height: 22px;
790
+ color: #fffffe;
815
791
  }
816
- .speedtest-quality-content-item.speedtest-quality-value-1 {
817
- background-color: var(--speedtest-red);
792
+ .gear-wrapper ul.gear-sub-menu li a:hover {
793
+ color: white;
794
+ background-color: rgba(0, 0, 0, 0.4);
818
795
  }
819
- .speedtest-quality-content-item.speedtest-quality-value-2 {
820
- background-color: var(--speedtest-orange);
796
+ .gear-wrapper ul.gear-sub-menu li a:hover a {
797
+ color: white;
798
+ text-decoration: none;
821
799
  }
822
- .speedtest-quality-content-item.speedtest-quality-value-3 {
823
- background-color: var(--speedtest-yellow);
800
+ .gear-wrapper ul.gear-sub-menu li a .check-icon {
801
+ width: 30px;
802
+ height: 20px;
803
+ float: left;
804
+ display: block;
824
805
  }
825
- .speedtest-quality-content-item.speedtest-quality-value-4 {
826
- background-color: var(--speedtest-light-green);
806
+ .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
807
+ display: none;
827
808
  }
828
- .speedtest-quality-content-item.speedtest-quality-value-5 {
829
- background-color: var(--speedtest-green);
809
+ .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
810
+ display: inline;
811
+ }*,
812
+ :focus,
813
+ :visited {
814
+ outline: none !important;
830
815
  }
831
816
 
832
- .speedtest-footer {
817
+ .media-control-subtitles[data-subtitles] {
833
818
  position: relative;
834
- float: left;
835
- width: 100%;
836
- height: 30px;
837
- line-height: 16px;
819
+ order: 85;
838
820
  }
839
- .speedtest-footer-about-link {
840
- position: absolute;
841
- bottom: 0;
842
- left: 0;
843
- color: var(--secondary-text-color);
844
- text-decoration: underline !important;
821
+ .media-control-subtitles[data-subtitles] button {
822
+ background-color: transparent;
823
+ color: #fff;
824
+ -webkit-font-smoothing: antialiased;
825
+ border: none;
826
+ cursor: pointer;
845
827
  }
846
- .speedtest-footer-about-link:hover {
847
- color: var(--hover-text-color);
828
+ .media-control-subtitles[data-subtitles] button .subtitle-text svg {
829
+ fill: white;
848
830
  }
849
- .speedtest-footer .speedtest-footer-refresh {
850
- position: absolute;
851
- bottom: 0;
852
- right: 0;
853
- color: var(--secondary-text-color);
854
- font-size: 14px;
855
- font-weight: 400;
856
- line-height: 16px;
857
- height: 16px;
858
- display: flex;
859
- align-items: center;
860
- gap: 4px;
831
+ .media-control-subtitles[data-subtitles] button:hover {
832
+ color: #c9c9c9;
861
833
  }
862
- .speedtest-footer .speedtest-footer-refresh svg path {
863
- fill: var(--secondary-text-color);
834
+ .media-control-subtitles[data-subtitles] button.changing {
835
+ animation: pulse 0.5s infinite alternate;
864
836
  }
865
- .speedtest-footer .speedtest-footer-refresh:hover {
866
- color: var(--hover-text-color);
837
+ .media-control-subtitles[data-subtitles] ul {
838
+ width: 80px;
839
+ list-style-type: none;
840
+ position: absolute;
841
+ bottom: 25px;
842
+ border: 1px solid black;
843
+ display: none;
844
+ background-color: #e6e6e6;
845
+ padding: 8px 0;
867
846
  }
868
- .speedtest-footer .speedtest-footer-refresh:hover svg path {
869
- fill: var(--hover-text-color);
847
+ .media-control-subtitles[data-subtitles] li a {
848
+ color: #444;
849
+ padding: 2px 10px;
850
+ display: block;
851
+ text-decoration: none;
870
852
  }
871
-
872
- .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box {
873
- position: fixed;
874
- height: auto;
875
- width: auto;
876
- inset: 0;
877
- min-width: 100vw;
878
- padding-bottom: 4px;
879
- padding-left: 4px;
880
- padding-right: 4px;
853
+ .media-control-subtitles[data-subtitles] li a:hover {
854
+ background-color: #555;
855
+ color: white;
881
856
  }
882
- .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box-top {
883
- position: fixed;
857
+ .media-control-subtitles[data-subtitles] li a:hover a {
858
+ color: white;
859
+ text-decoration: none;
884
860
  }
885
- .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
886
- width: 50%;
861
+ .media-control-subtitles[data-subtitles] li.current a {
862
+ color: #f00;
863
+ background-color: #555;
887
864
  }
888
865
 
889
- @media only screen and (orientation: portrait) {
890
- .mobile .speedtest-summary {
891
- padding: 0 5px;
892
- height: auto;
893
- }
894
- .mobile .speedtest-summary-block {
895
- width: 100%;
896
- flex-direction: column;
897
- }
898
- .mobile .speedtest-summary-block .speedtest-summary-subblock {
899
- width: 100%;
900
- }
901
- .mobile .speedtest-summary-block .speedtest-summary-subblock-content {
902
- width: 100%;
903
- }
904
- .mobile .speedtest-summary-header {
905
- padding-top: 12px;
906
- height: 38px;
907
- text-align: center;
866
+ @keyframes pulse {
867
+ 0% {
868
+ color: #fff;
908
869
  }
909
- .mobile .speedtest-quality-header {
910
- text-align: center;
870
+ 50% {
871
+ color: #ff0101;
911
872
  }
912
- .mobile .speedtest-footer .speedtest-footer-refresh {
913
- inset: 50% auto auto 50%;
914
- transform: translate(-50%, -50%);
873
+ 100% {
874
+ color: #B80000;
915
875
  }
916
876
  }
917
- @media only screen and (orientation: landscape) {
918
- .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
919
- width: 25%;
920
- }
877
+ ::cue {
878
+ visibility: hidden !important;
879
+ font-size: 0 !important;
880
+ }
881
+
882
+ .ios-fullscreen::cue {
883
+ visibility: visible !important;
884
+ font-size: 1em !important;
921
885
  }.player-poster[data-poster] {
922
886
  display: flex;
923
887
  justify-content: center;
@@ -952,136 +916,125 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
952
916
  }
953
917
  .player-poster[data-poster] .play-wrapper[data-poster] svg path {
954
918
  fill: #fff;
955
- }.share_plugin[data-share] {
956
- pointer-events: auto;
957
- z-index: 5;
958
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
959
- }
960
- .share_plugin[data-share].share-hide .share-button-container {
961
- right: -50px;
919
+ }.context-menu {
920
+ z-index: 999;
921
+ position: absolute;
922
+ top: 0;
923
+ left: 0;
924
+ text-align: center;
962
925
  }
963
- .share_plugin[data-share] .share-button-container {
964
- cursor: pointer;
965
- width: 36px;
966
- height: 36px;
967
- background-color: rgba(74, 74, 74, 0.6);
926
+ .context-menu .context-menu-list {
927
+ font-family: "Proxima Nova", sans-serif;
928
+ font-size: 12px;
929
+ line-height: 12px;
930
+ list-style-type: none;
931
+ text-align: left;
932
+ padding: 5px;
933
+ margin-left: auto;
934
+ margin-right: auto;
935
+ background-color: rgba(0, 0, 0, 0.75);
936
+ border: 1px solid #666;
968
937
  border-radius: 4px;
969
- position: absolute;
970
- right: 10px;
971
- top: 10px;
972
- padding-top: 6px;
973
- transition: all 0.3s ease-out;
974
938
  }
975
- .share_plugin[data-share] .share-button-container button[data-share-button] {
976
- background-color: transparent;
977
- border: 0;
978
- margin: 0 6px;
979
- padding: 0;
939
+ .context-menu .context-menu-list .context-menu-list-item {
940
+ color: white;
941
+ padding: 5px;
980
942
  cursor: pointer;
981
- display: inline-block;
982
- width: 19px;
943
+ }.level-disabled {
944
+ opacity: 0.5;
945
+ pointer-events: none;
946
+ }.media-control-pip {
947
+ order: 95;
948
+ display: flex;
949
+ }
950
+ .media-control-pip button {
983
951
  height: 20px;
984
952
  }
985
- .share_plugin[data-share] .share-container {
986
- pointer-events: auto;
953
+ .media-control-pip button svg {
954
+ height: 20px;
955
+ }div.player-error-screen, [data-player] div.player-error-screen {
956
+ color: #CCCACA;
987
957
  position: absolute;
988
- width: 280px;
989
- background-color: white;
990
- transform: translate(0, 50%);
991
- transform: translate(-50%, -50%);
992
- left: 50%;
993
- /* margin-left: -140px; */
994
- top: calc(50% - 20px);
995
- /* margin-top: -170px; */
996
- }
997
- .share_plugin[data-share] .share-container .share-container-header {
998
- text-align: left;
999
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1000
- }
1001
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1002
- display: inline-block;
1003
- font-size: 16px;
1004
- margin: 5px;
1005
- }
1006
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1007
- display: inline-block;
1008
- width: 24px;
1009
- float: right;
1010
- margin: 5px;
1011
- cursor: pointer;
1012
- }
1013
- .share_plugin[data-share] .share-container .share-container-main {
1014
- margin-bottom: 8px;
958
+ top: 0;
959
+ height: 100%;
960
+ width: 100%;
961
+ background-color: rgba(0, 0, 0, 0.7);
962
+ z-index: 2000;
963
+ display: flex;
964
+ flex-direction: column;
965
+ justify-content: center;
1015
966
  }
1016
- .share_plugin[data-share] .share-container .share-container-main > div {
1017
- text-align: left;
967
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
1018
968
  font-size: 14px;
1019
- padding: 5px;
969
+ color: #CCCACA;
970
+ margin-top: 45px;
1020
971
  }
1021
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--link, .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1022
- overflow: hidden;
1023
- text-overflow: ellipsis;
1024
- color: #818181;
1025
- border: solid 1px #d3d3d3;
1026
- width: calc(100% - 10px);
1027
- padding: 5px;
972
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
973
+ font-weight: bold;
974
+ line-height: 30px;
975
+ font-size: 18px;
1028
976
  }
1029
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1030
- max-height: 90px;
1031
- resize: none;
977
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
978
+ width: 90%;
979
+ margin: 0 auto;
1032
980
  }
1033
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1034
- width: 32px;
1035
- display: inline-block;
1036
- margin-right: 5px;
981
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
982
+ font-size: 13px;
983
+ margin-top: 15px;
984
+ }
985
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1037
986
  cursor: pointer;
1038
- }.spinner-three-bounce[data-spinner] {
987
+ width: 30px;
988
+ margin: 15px auto 0;
989
+ }.big-mute-icon-wrapper[data-big-mute] {
1039
990
  position: absolute;
1040
- width: 70px;
1041
- text-align: center;
1042
- z-index: 999;
1043
- left: 0;
1044
- right: 0;
991
+ z-index: 9998;
992
+ background-color: transparent;
993
+ display: flex;
994
+ justify-content: center;
995
+ width: 100%;
996
+ height: calc(100% - 50px);
1045
997
  margin: 0 auto;
1046
- margin-left: auto;
1047
- margin-right: auto;
1048
- /* center vertically */
1049
- top: 50%;
1050
- transform: translateY(-50%);
1051
- }
1052
- .spinner-three-bounce[data-spinner] > div {
1053
- width: 18px;
1054
- height: 18px;
1055
- background-color: #FFF;
1056
- border-radius: 100%;
1057
- display: inline-block;
1058
- animation: bouncedelay 1.4s infinite ease-in-out;
1059
- /* Prevent first frame from flickering when animation starts */
1060
- animation-fill-mode: both;
998
+ opacity: 0.75;
999
+ transition: opacity 0.1s ease;
1000
+ pointer-events: auto;
1061
1001
  }
1062
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1063
- animation-delay: -0.32s;
1002
+ .big-mute-icon-wrapper[data-big-mute].hide {
1003
+ display: none;
1064
1004
  }
1065
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1066
- animation-delay: -0.16s;
1005
+ .big-mute-icon-wrapper[data-big-mute]:hover {
1006
+ cursor: pointer;
1067
1007
  }
1068
1008
 
1069
- @keyframes bouncedelay {
1070
- 0%, 80%, 100% {
1071
- transform: scale(0);
1072
- }
1073
- 40% {
1074
- transform: scale(1);
1075
- }
1076
- }.media-control-pip {
1077
- order: 95;
1009
+ .big-mute-icon[data-big-mute-icon] {
1078
1010
  display: flex;
1011
+ align-items: center;
1012
+ justify-content: center;
1013
+ align-self: center;
1014
+ width: 120px;
1015
+ height: 120px;
1016
+ border: 2px solid white;
1017
+ border-radius: 50%;
1018
+ filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
1019
+ filter: alpha(opacity=60);
1020
+ opacity: 1;
1021
+ box-shadow: 0 0 1px 0 white;
1022
+ background: rgba(240, 243, 247, 0.9411764706);
1023
+ z-index: 10000;
1024
+ }
1025
+ .big-mute-icon[data-big-mute-icon] svg {
1026
+ margin-left: 5px;
1027
+ width: 80px;
1028
+ height: 80px;
1079
1029
  }
1080
- .media-control-pip button {
1081
- height: 20px;
1030
+ .big-mute-icon[data-big-mute-icon] svg path {
1031
+ fill: #1f1e1e !important;
1082
1032
  }
1083
- .media-control-pip button svg {
1084
- height: 20px;
1033
+ .big-mute-icon[data-big-mute-icon]:hover {
1034
+ background: rgba(240, 243, 247, 0.8784313725);
1035
+ }
1036
+ .big-mute-icon[data-big-mute-icon]:hover svg path {
1037
+ fill: #151515 !important;
1085
1038
  }[data-player] {
1086
1039
  --bottom-panel: 40px;
1087
1040
  }
@@ -1168,10 +1121,10 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1168
1121
  top: 1px;
1169
1122
  }
1170
1123
 
1171
- .media-control-skin-1[data-media-control-skin-1].w370 .media-control-subtitles .subtitles[data-subtitles] {
1124
+ .media-control-skin-1[data-media-control-skin-1].w370 .media-control-subtitles {
1172
1125
  width: 28px;
1173
1126
  }
1174
- .media-control-skin-1[data-media-control-skin-1].w370 .media-control-subtitles .subtitles[data-subtitles] svg {
1127
+ .media-control-skin-1[data-media-control-skin-1].w370 .media-control-subtitles svg {
1175
1128
  height: 17px;
1176
1129
  }
1177
1130
  .media-control-skin-1[data-media-control-skin-1].w370 .share_plugin[data-share] .share-container {
@@ -1649,55 +1602,45 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1649
1602
  }
1650
1603
 
1651
1604
  /* TODO distribute between plugins' styles */
1652
- .media-control-skin-1[data-media-control-skin-1] .media-control-quality,
1653
- .media-control-skin-1[data-media-control-skin-1] .media-control-audio-tracks {
1654
- display: block;
1655
- }
1656
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] {
1657
- width: 40px;
1658
- margin-top: 0;
1659
- }
1660
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button] {
1605
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles button[data-subtitles-button] {
1661
1606
  display: flex;
1662
1607
  justify-content: center;
1663
1608
  padding: 0;
1664
1609
  align-items: center;
1665
1610
  }
1666
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button]:hover {
1611
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles button[data-subtitles-button]:hover {
1667
1612
  color: white;
1668
1613
  }
1669
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul {
1614
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul {
1670
1615
  background-color: rgba(74, 74, 74, 0.6);
1671
1616
  border: none;
1672
1617
  width: auto;
1673
- transform: rotate(180deg);
1674
1618
  border-radius: 4px;
1675
1619
  bottom: 52px;
1676
1620
  margin-left: -28px;
1677
1621
  }
1678
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li {
1679
- transform: rotate(-180deg);
1622
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li {
1680
1623
  font-size: 16px;
1681
1624
  text-align: center;
1682
1625
  white-space: nowrap;
1683
1626
  height: 30px;
1684
1627
  }
1685
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a {
1628
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li a {
1686
1629
  height: 30px;
1687
1630
  padding: 5px 10px;
1688
1631
  color: #fffffe;
1689
1632
  }
1690
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a:hover {
1633
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li a:hover {
1691
1634
  background-color: rgba(0, 0, 0, 0.4);
1692
1635
  }
1693
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li.current a {
1636
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li.current a {
1694
1637
  background-color: rgba(0, 0, 0, 0.4);
1695
1638
  }
1696
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:first-child a {
1639
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li:first-child a {
1697
1640
  border-bottom-left-radius: 4px;
1698
1641
  border-bottom-right-radius: 4px;
1699
1642
  }
1700
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:last-child a {
1643
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles ul li:last-child a {
1701
1644
  border-top-left-radius: 4px;
1702
1645
  border-top-right-radius: 4px;
1703
1646
  }
@@ -1719,39 +1662,6 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1719
1662
  }
1720
1663
  .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
1721
1664
  display: none !important;
1722
- }.seek-time[data-seek-time] {
1723
- position: absolute;
1724
- white-space: nowrap;
1725
- height: 20px;
1726
- line-height: 20px;
1727
- font-size: 0;
1728
- left: -100%;
1729
- bottom: 55px;
1730
- background-color: rgba(2, 2, 2, 0.5);
1731
- z-index: 9999;
1732
- transition: opacity 0.1s ease;
1733
- }
1734
- .seek-time[data-seek-time].hidden[data-seek-time] {
1735
- opacity: 0;
1736
- }
1737
- .seek-time[data-seek-time] [data-seek-time] {
1738
- display: inline-block;
1739
- color: white;
1740
- font-size: 10px;
1741
- padding-left: 7px;
1742
- padding-right: 7px;
1743
- vertical-align: top;
1744
- }
1745
- .seek-time[data-seek-time] [data-duration] {
1746
- display: inline-block;
1747
- color: rgba(255, 255, 255, 0.5);
1748
- font-size: 10px;
1749
- padding-right: 7px;
1750
- vertical-align: top;
1751
- }
1752
- .seek-time[data-seek-time] [data-duration]::before {
1753
- content: "|";
1754
- margin-right: 7px;
1755
1665
  }*, :focus, :visited {
1756
1666
  outline: none !important;
1757
1667
  }
@@ -1900,6 +1810,39 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1900
1810
  100% {
1901
1811
  color: #B80000;
1902
1812
  }
1813
+ }.seek-time[data-seek-time] {
1814
+ position: absolute;
1815
+ white-space: nowrap;
1816
+ height: 20px;
1817
+ line-height: 20px;
1818
+ font-size: 0;
1819
+ left: -100%;
1820
+ bottom: 55px;
1821
+ background-color: rgba(2, 2, 2, 0.5);
1822
+ z-index: 9999;
1823
+ transition: opacity 0.1s ease;
1824
+ }
1825
+ .seek-time[data-seek-time].hidden[data-seek-time] {
1826
+ opacity: 0;
1827
+ }
1828
+ .seek-time[data-seek-time] [data-seek-time] {
1829
+ display: inline-block;
1830
+ color: white;
1831
+ font-size: 10px;
1832
+ padding-left: 7px;
1833
+ padding-right: 7px;
1834
+ vertical-align: top;
1835
+ }
1836
+ .seek-time[data-seek-time] [data-duration] {
1837
+ display: inline-block;
1838
+ color: rgba(255, 255, 255, 0.5);
1839
+ font-size: 10px;
1840
+ padding-right: 7px;
1841
+ vertical-align: top;
1842
+ }
1843
+ .seek-time[data-seek-time] [data-duration]::before {
1844
+ content: "|";
1845
+ margin-right: 7px;
1903
1846
  }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
1904
1847
  height: 0;
1905
1848
  }
@@ -1921,87 +1864,44 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1921
1864
  .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
1922
1865
  width: 33.3%;
1923
1866
  height: 100%;
1924
- }*, :focus, :visited {
1925
- outline: none !important;
1926
- }
1927
-
1928
- .subtitles[data-subtitles] {
1929
- float: right;
1930
- position: relative;
1931
- width: 50px;
1932
- }
1933
- .subtitles[data-subtitles] button {
1934
- background-color: transparent;
1935
- color: #fff;
1936
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1937
- -webkit-font-smoothing: antialiased;
1938
- border: none;
1939
- font-size: 14px;
1940
- cursor: pointer;
1941
- }
1942
- .subtitles[data-subtitles] button .subtitle-text svg {
1943
- fill: white;
1944
- }
1945
- .subtitles[data-subtitles] button:hover {
1946
- color: #c9c9c9;
1947
- }
1948
- .subtitles[data-subtitles] button.changing {
1949
- animation: pulse 0.5s infinite alternate;
1950
- }
1951
- .subtitles[data-subtitles] > ul {
1952
- width: 80px;
1953
- list-style-type: none;
1867
+ }.spinner-three-bounce[data-spinner] {
1954
1868
  position: absolute;
1955
- bottom: 25px;
1956
- border: 1px solid black;
1957
- display: none;
1958
- background-color: #e6e6e6;
1959
- }
1960
- .subtitles[data-subtitles] li {
1961
- font-size: 10px;
1962
- }
1963
- .subtitles[data-subtitles] li[data-title] {
1964
- background-color: #c3c2c2;
1965
- padding: 5px;
1966
- }
1967
- .subtitles[data-subtitles] li a {
1968
- color: #444;
1969
- padding: 2px 10px;
1970
- display: block;
1971
- text-decoration: none;
1869
+ width: 70px;
1870
+ text-align: center;
1871
+ z-index: 999;
1872
+ left: 0;
1873
+ right: 0;
1874
+ margin: 0 auto;
1875
+ margin-left: auto;
1876
+ margin-right: auto;
1877
+ /* center vertically */
1878
+ top: 50%;
1879
+ transform: translateY(-50%);
1972
1880
  }
1973
- .subtitles[data-subtitles] li a:hover {
1974
- background-color: #555;
1975
- color: white;
1881
+ .spinner-three-bounce[data-spinner] > div {
1882
+ width: 18px;
1883
+ height: 18px;
1884
+ background-color: #FFF;
1885
+ border-radius: 100%;
1886
+ display: inline-block;
1887
+ animation: bouncedelay 1.4s infinite ease-in-out;
1888
+ /* Prevent first frame from flickering when animation starts */
1889
+ animation-fill-mode: both;
1976
1890
  }
1977
- .subtitles[data-subtitles] li a:hover a {
1978
- color: white;
1979
- text-decoration: none;
1891
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1892
+ animation-delay: -0.32s;
1980
1893
  }
1981
- .subtitles[data-subtitles] li.current a {
1982
- color: #f00;
1983
- background-color: #555;
1894
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1895
+ animation-delay: -0.16s;
1984
1896
  }
1985
1897
 
1986
- @keyframes pulse {
1987
- 0% {
1988
- color: #fff;
1989
- }
1990
- 50% {
1991
- color: #ff0101;
1898
+ @keyframes bouncedelay {
1899
+ 0%, 80%, 100% {
1900
+ transform: scale(0);
1992
1901
  }
1993
- 100% {
1994
- color: #B80000;
1902
+ 40% {
1903
+ transform: scale(1);
1995
1904
  }
1996
- }
1997
- ::cue {
1998
- visibility: hidden !important;
1999
- font-size: 0 !important;
2000
- }
2001
-
2002
- .ios-fullscreen::cue {
2003
- visibility: visible !important;
2004
- font-size: 1em !important;
2005
1905
  }.scrub-thumbnails {
2006
1906
  position: absolute;
2007
1907
  bottom: 52px;
@@ -2063,6 +1963,89 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
2063
1963
  }
2064
1964
  .scrub-thumbnails .backdrop .carousel img {
2065
1965
  width: auto;
1966
+ }.share_plugin[data-share] {
1967
+ pointer-events: auto;
1968
+ z-index: 5;
1969
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1970
+ }
1971
+ .share_plugin[data-share].share-hide .share-button-container {
1972
+ right: -50px;
1973
+ }
1974
+ .share_plugin[data-share] .share-button-container {
1975
+ cursor: pointer;
1976
+ width: 36px;
1977
+ height: 36px;
1978
+ background-color: rgba(74, 74, 74, 0.6);
1979
+ border-radius: 4px;
1980
+ position: absolute;
1981
+ right: 10px;
1982
+ top: 10px;
1983
+ padding-top: 6px;
1984
+ transition: all 0.3s ease-out;
1985
+ }
1986
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
1987
+ background-color: transparent;
1988
+ border: 0;
1989
+ margin: 0 6px;
1990
+ padding: 0;
1991
+ cursor: pointer;
1992
+ display: inline-block;
1993
+ width: 19px;
1994
+ height: 20px;
1995
+ }
1996
+ .share_plugin[data-share] .share-container {
1997
+ pointer-events: auto;
1998
+ position: absolute;
1999
+ width: 280px;
2000
+ background-color: white;
2001
+ transform: translate(0, 50%);
2002
+ transform: translate(-50%, -50%);
2003
+ left: 50%;
2004
+ /* margin-left: -140px; */
2005
+ top: calc(50% - 20px);
2006
+ /* margin-top: -170px; */
2007
+ }
2008
+ .share_plugin[data-share] .share-container .share-container-header {
2009
+ text-align: left;
2010
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
2011
+ }
2012
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
2013
+ display: inline-block;
2014
+ font-size: 16px;
2015
+ margin: 5px;
2016
+ }
2017
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
2018
+ display: inline-block;
2019
+ width: 24px;
2020
+ float: right;
2021
+ margin: 5px;
2022
+ cursor: pointer;
2023
+ }
2024
+ .share_plugin[data-share] .share-container .share-container-main {
2025
+ margin-bottom: 8px;
2026
+ }
2027
+ .share_plugin[data-share] .share-container .share-container-main > div {
2028
+ text-align: left;
2029
+ font-size: 14px;
2030
+ padding: 5px;
2031
+ }
2032
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--link, .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
2033
+ overflow: hidden;
2034
+ text-overflow: ellipsis;
2035
+ color: #818181;
2036
+ border: solid 1px #d3d3d3;
2037
+ width: calc(100% - 10px);
2038
+ padding: 5px;
2039
+ }
2040
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
2041
+ max-height: 90px;
2042
+ resize: none;
2043
+ }
2044
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
2045
+ width: 32px;
2046
+ display: inline-block;
2047
+ margin-right: 5px;
2048
+ cursor: pointer;
2066
2049
  }.player-logo[data-logo] {
2067
2050
  position: absolute;
2068
2051
  z-index: 2;