@gcorevideo/player 2.22.23 → 2.22.25

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 (34) hide show
  1. package/assets/clappr-nerd-stats/clappr-nerd-stats.scss +11 -0
  2. package/assets/subtitles/combobox.ejs +1 -1
  3. package/assets/subtitles/style.scss +0 -1
  4. package/dist/core.js +1 -1
  5. package/dist/index.css +1411 -1405
  6. package/dist/index.js +48 -31
  7. package/dist/plugins/index.css +516 -517
  8. package/dist/plugins/index.js +47 -29
  9. package/lib/plugins/audio-selector/AudioTracks.d.ts +2 -2
  10. package/lib/plugins/audio-selector/AudioTracks.d.ts.map +1 -1
  11. package/lib/plugins/audio-selector/AudioTracks.js +12 -7
  12. package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -1
  13. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  14. package/lib/plugins/bottom-gear/BottomGear.js +9 -5
  15. package/lib/plugins/subtitles/ClosedCaptions.d.ts +3 -3
  16. package/lib/plugins/subtitles/ClosedCaptions.d.ts.map +1 -1
  17. package/lib/plugins/subtitles/ClosedCaptions.js +27 -19
  18. package/lib/testUtils.d.ts.map +1 -1
  19. package/lib/testUtils.js +1 -0
  20. package/package.json +1 -1
  21. package/rollup.config.js +28 -28
  22. package/src/plugins/audio-selector/AudioTracks.ts +12 -7
  23. package/src/plugins/audio-selector/__tests__/AudioTracks.test.ts +18 -1
  24. package/src/plugins/audio-selector/__tests__/__snapshots__/AudioTracks.test.ts.snap +1 -1
  25. package/src/plugins/bottom-gear/BottomGear.ts +9 -5
  26. package/src/plugins/bottom-gear/__tests__/BottomGear.test.ts +19 -1
  27. package/src/plugins/subtitles/ClosedCaptions.ts +27 -20
  28. package/src/plugins/subtitles/__tests__/ClosedCaptions.test.ts +52 -13
  29. package/src/plugins/subtitles/__tests__/__snapshots__/ClosedCaptions.test.ts.snap +4 -4
  30. package/src/testUtils.ts +1 -0
  31. package/tsconfig.tsbuildinfo +1 -1
  32. package/assets/subtitles/combobox copy.ejs +0 -16
  33. /package/assets/{audio-selector → audio-tracks}/style.scss +0 -0
  34. /package/assets/{audio-selector/track-selector.ejs → audio-tracks/template.ejs} +0 -0
@@ -222,92 +222,6 @@
222
222
  100% {
223
223
  color: #B80000;
224
224
  }
225
- }.dvr-controls[data-dvr] {
226
- display: inline-block;
227
- color: var(--player-dvr-color);
228
- line-height: 32px;
229
- font-size: 10px;
230
- font-weight: bold;
231
- margin-left: 6px;
232
- height: 40px;
233
- line-height: 40px;
234
- margin-left: 0;
235
- }
236
- .dvr-controls[data-dvr] .live-info {
237
- cursor: default;
238
- text-transform: uppercase;
239
- }
240
- .dvr-controls[data-dvr] .live-info:before {
241
- content: "";
242
- display: inline-block;
243
- position: relative;
244
- width: 7px;
245
- height: 7px;
246
- border-radius: 3.5px;
247
- margin-right: 3.5px;
248
- background-color: var(--player-live-color);
249
- }
250
- .dvr-controls[data-dvr] .live-info.disabled {
251
- opacity: 0.3;
252
- }
253
- .dvr-controls[data-dvr] .live-info.disabled:before {
254
- background-color: var(--player-dvr-color);
255
- }
256
- .dvr-controls[data-dvr] .live-button {
257
- cursor: pointer;
258
- outline: none;
259
- display: none;
260
- border: 0;
261
- color: var(--player-dvr-color);
262
- background-color: transparent;
263
- height: 32px;
264
- padding: 0;
265
- opacity: 0.7;
266
- text-transform: uppercase;
267
- transition: all 0.1s ease;
268
- }
269
- .dvr-controls[data-dvr] .live-button:before {
270
- content: "";
271
- display: inline-block;
272
- position: relative;
273
- width: 7px;
274
- height: 7px;
275
- border-radius: 3.5px;
276
- margin-right: 3.5px;
277
- background-color: var(--player-dvr-color);
278
- }
279
- .dvr-controls[data-dvr] .live-button:hover {
280
- opacity: 1;
281
- text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
282
- }
283
- .dvr-controls[data-dvr] .live-info {
284
- font-size: 14px;
285
- letter-spacing: 0.8px;
286
- font-weight: 500;
287
- color: #fffffe;
288
- margin-left: 21px;
289
- }
290
- .dvr-controls[data-dvr] .live-info::before {
291
- width: 10px;
292
- height: 10px;
293
- border-radius: 50%;
294
- margin-right: 8px;
295
- background-color: #ed4f4a;
296
- }
297
- .dvr-controls[data-dvr] .live-button {
298
- height: 40px;
299
- opacity: 1;
300
- font-size: 14px;
301
- letter-spacing: 0.8px;
302
- font-weight: 500;
303
- margin-left: 20px;
304
- }
305
- .dvr-controls[data-dvr] .live-button::before {
306
- width: 10px;
307
- height: 10px;
308
- border-radius: 50%;
309
- margin-right: 8px;
310
- background-color: #cacaca;
311
225
  }.big-mute-icon-wrapper[data-big-mute] {
312
226
  position: absolute;
313
227
  z-index: 9998;
@@ -357,6 +271,112 @@
357
271
  }
358
272
  .big-mute-icon[data-big-mute-icon]:hover svg path {
359
273
  fill: #151515 !important;
274
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
275
+ order: 99;
276
+ height: 20px;
277
+ }
278
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
279
+ position: absolute;
280
+ right: 16px;
281
+ bottom: 52px;
282
+ width: 250px;
283
+ min-height: 48px;
284
+ z-index: 9999;
285
+ border-radius: 4px;
286
+ }
287
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
288
+ padding: 8px 0;
289
+ }
290
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
291
+ margin: 0;
292
+ text-align: left;
293
+ line-height: 22px;
294
+ padding: 5px 14px;
295
+ width: 250px;
296
+ font-size: 12px;
297
+ display: flex;
298
+ align-items: center;
299
+ justify-content: flex-start;
300
+ gap: 8px;
301
+ }
302
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_icon {
303
+ flex: 24px 0 0;
304
+ height: 24px;
305
+ }
306
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_icon.hidden {
307
+ visibility: hidden;
308
+ display: inline-block;
309
+ }
310
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_label {
311
+ flex: 0 1 100%;
312
+ }
313
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_arrow-right-icon {
314
+ flex: 0 0 14px;
315
+ height: 24px;
316
+ }
317
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_value {
318
+ flex: 1 0 auto;
319
+ }*, :focus, :visited {
320
+ outline: none !important;
321
+ }
322
+
323
+ .gear-wrapper .go-back {
324
+ font-weight: 600;
325
+ font-size: 14px;
326
+ line-height: 20px;
327
+ width: 100%;
328
+ text-align: left;
329
+ padding: 12px;
330
+ }
331
+ .gear-wrapper .go-back .arrow-left-icon {
332
+ float: left;
333
+ padding-top: 2px;
334
+ padding-right: 2px;
335
+ }
336
+ .gear-wrapper .go-back .arrow-left-icon svg {
337
+ height: 16px;
338
+ }
339
+ .gear-wrapper ul.gear-sub-menu {
340
+ width: 100%;
341
+ list-style-type: none;
342
+ min-width: 60px;
343
+ border-top: 2px solid rgb(36, 36, 36);
344
+ }
345
+ .gear-wrapper ul.gear-sub-menu li {
346
+ font-size: 12px;
347
+ text-align: left;
348
+ }
349
+ .gear-wrapper ul.gear-sub-menu li[data-title] {
350
+ background-color: #c3c2c2;
351
+ padding: 5px;
352
+ }
353
+ .gear-wrapper ul.gear-sub-menu li a {
354
+ display: block;
355
+ text-decoration: none;
356
+ height: 32px;
357
+ padding: 5px 10px;
358
+ line-height: 22px;
359
+ color: #fffffe;
360
+ }
361
+ .gear-wrapper ul.gear-sub-menu li a:hover {
362
+ color: white;
363
+ background-color: rgba(0, 0, 0, 0.4);
364
+ }
365
+ .gear-wrapper ul.gear-sub-menu li a:hover a {
366
+ color: white;
367
+ text-decoration: none;
368
+ }
369
+ .gear-wrapper ul.gear-sub-menu li a .check-icon {
370
+ width: 30px;
371
+ height: 20px;
372
+ float: left;
373
+ display: block;
374
+ }
375
+ .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
376
+ display: none;
377
+ }
378
+ .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
379
+ display: inline;
360
380
  }.context-menu {
361
381
  z-index: 999;
362
382
  position: absolute;
@@ -393,85 +413,148 @@
393
413
  .context-menu .context-menu-list-item_icon {
394
414
  width: 20px;
395
415
  height: 20px;
396
- }div.player-error-screen, [data-player] div.player-error-screen {
397
- color: #CCCACA;
416
+ }@charset "UTF-8";
417
+ .media-control-clips {
418
+ display: flex;
419
+ gap: 6px;
420
+ }
421
+ .media-control-clips .media-clip-text {
422
+ text-overflow: ellipsis;
423
+ white-space: nowrap;
424
+ overflow: hidden;
425
+ display: inline-block;
426
+ text-overflow: ellipsis;
427
+ color: white;
428
+ cursor: default;
429
+ line-height: var(--bottom-panel);
430
+ position: relative;
431
+ }
432
+ .media-control-clips .media-clip-text::before {
433
+ content: "•";
434
+ padding-right: 6px;
435
+ }
436
+ .media-control-clips .media-clip-text {
437
+ max-width: 100px;
438
+ }.player-poster[data-poster] {
439
+ display: flex;
440
+ justify-content: center;
441
+ align-items: center;
398
442
  position: absolute;
399
- top: 0;
400
443
  height: 100%;
401
444
  width: 100%;
402
- background-color: rgba(0, 0, 0, 0.7);
403
- z-index: 2000;
404
- display: flex;
405
- flex-direction: column;
406
- justify-content: center;
445
+ z-index: 998;
446
+ top: 0;
447
+ left: 0;
448
+ background-color: #000;
449
+ background-size: cover;
450
+ background-repeat: no-repeat;
451
+ background-position: 50% 50%;
407
452
  }
408
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
409
- font-size: 14px;
410
- color: #CCCACA;
411
- margin-top: 45px;
453
+ .player-poster[data-poster].clickable {
454
+ cursor: pointer;
412
455
  }
413
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
456
+ .player-poster[data-poster]:hover .play-wrapper[data-poster] {
457
+ opacity: 1;
458
+ }
459
+ .player-poster[data-poster] .play-wrapper[data-poster] {
460
+ width: 100%;
461
+ height: 25%;
462
+ margin: 0 auto;
463
+ opacity: 0.75;
464
+ transition: opacity 0.1s ease;
465
+ }
466
+ .player-poster[data-poster] .play-wrapper[data-poster] svg {
467
+ height: 100%;
468
+ display: inline;
469
+ }
470
+ .player-poster[data-poster] .play-wrapper[data-poster] svg path {
471
+ fill: #fff;
472
+ }.dvr-controls[data-dvr] {
473
+ display: inline-block;
474
+ color: var(--player-dvr-color);
475
+ line-height: 32px;
476
+ font-size: 10px;
414
477
  font-weight: bold;
415
- line-height: 30px;
416
- font-size: 18px;
478
+ margin-left: 6px;
479
+ height: 40px;
480
+ line-height: 40px;
481
+ margin-left: 0;
417
482
  }
418
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
419
- width: 90%;
420
- margin: 0 auto;
483
+ .dvr-controls[data-dvr] .live-info {
484
+ cursor: default;
485
+ text-transform: uppercase;
421
486
  }
422
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
423
- font-size: 13px;
424
- margin-top: 15px;
487
+ .dvr-controls[data-dvr] .live-info:before {
488
+ content: "";
489
+ display: inline-block;
490
+ position: relative;
491
+ width: 7px;
492
+ height: 7px;
493
+ border-radius: 3.5px;
494
+ margin-right: 3.5px;
495
+ background-color: var(--player-live-color);
425
496
  }
426
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
427
- cursor: pointer;
428
- width: 30px;
429
- margin: 15px auto 0;
430
- }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
431
- order: 99;
432
- height: 20px;
497
+ .dvr-controls[data-dvr] .live-info.disabled {
498
+ opacity: 0.3;
433
499
  }
434
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
435
- position: absolute;
436
- right: 16px;
437
- bottom: 52px;
438
- width: 250px;
439
- min-height: 48px;
440
- z-index: 9999;
441
- border-radius: 4px;
500
+ .dvr-controls[data-dvr] .live-info.disabled:before {
501
+ background-color: var(--player-dvr-color);
442
502
  }
443
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
444
- padding: 8px 0;
503
+ .dvr-controls[data-dvr] .live-button {
504
+ cursor: pointer;
505
+ outline: none;
506
+ display: none;
507
+ border: 0;
508
+ color: var(--player-dvr-color);
509
+ background-color: transparent;
510
+ height: 32px;
511
+ padding: 0;
512
+ opacity: 0.7;
513
+ text-transform: uppercase;
514
+ transition: all 0.1s ease;
445
515
  }
446
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
447
- margin: 0;
448
- text-align: left;
449
- line-height: 22px;
450
- padding: 5px 14px;
451
- width: 250px;
452
- font-size: 12px;
453
- display: flex;
454
- align-items: center;
455
- justify-content: flex-start;
456
- gap: 8px;
516
+ .dvr-controls[data-dvr] .live-button:before {
517
+ content: "";
518
+ display: inline-block;
519
+ position: relative;
520
+ width: 7px;
521
+ height: 7px;
522
+ border-radius: 3.5px;
523
+ margin-right: 3.5px;
524
+ background-color: var(--player-dvr-color);
457
525
  }
458
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_icon {
459
- flex: 24px 0 0;
460
- height: 24px;
526
+ .dvr-controls[data-dvr] .live-button:hover {
527
+ opacity: 1;
528
+ text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
461
529
  }
462
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_icon.hidden {
463
- visibility: hidden;
464
- display: inline-block;
530
+ .dvr-controls[data-dvr] .live-info {
531
+ font-size: 14px;
532
+ letter-spacing: 0.8px;
533
+ font-weight: 500;
534
+ color: #fffffe;
535
+ margin-left: 21px;
465
536
  }
466
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_label {
467
- flex: 0 1 100%;
537
+ .dvr-controls[data-dvr] .live-info::before {
538
+ width: 10px;
539
+ height: 10px;
540
+ border-radius: 50%;
541
+ margin-right: 8px;
542
+ background-color: #ed4f4a;
468
543
  }
469
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_arrow-right-icon {
470
- flex: 0 0 14px;
471
- height: 24px;
544
+ .dvr-controls[data-dvr] .live-button {
545
+ height: 40px;
546
+ opacity: 1;
547
+ font-size: 14px;
548
+ letter-spacing: 0.8px;
549
+ font-weight: 500;
550
+ margin-left: 20px;
472
551
  }
473
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option_value {
474
- flex: 1 0 auto;
552
+ .dvr-controls[data-dvr] .live-button::before {
553
+ width: 10px;
554
+ height: 10px;
555
+ border-radius: 50%;
556
+ margin-right: 8px;
557
+ background-color: #cacaca;
475
558
  }:root {
476
559
  --primary-background-color: #000;
477
560
  --secondary-background-color: #262626;
@@ -754,206 +837,81 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
754
837
  color: var(--secondary-text-color);
755
838
  text-decoration: underline !important;
756
839
  }
757
- .speedtest-footer-about-link:hover {
758
- color: var(--hover-text-color);
759
- }
760
- .speedtest-footer .speedtest-footer-refresh {
761
- position: absolute;
762
- bottom: 0;
763
- right: 0;
764
- color: var(--secondary-text-color);
765
- font-size: 14px;
766
- font-weight: 400;
767
- line-height: 16px;
768
- height: 16px;
769
- display: flex;
770
- align-items: center;
771
- gap: 4px;
772
- }
773
- .speedtest-footer .speedtest-footer-refresh svg path {
774
- fill: var(--secondary-text-color);
775
- }
776
- .speedtest-footer .speedtest-footer-refresh:hover {
777
- color: var(--hover-text-color);
778
- }
779
- .speedtest-footer .speedtest-footer-refresh:hover svg path {
780
- fill: var(--hover-text-color);
781
- }
782
-
783
- .mobile .clappr-nerd-stats .stats-box {
784
- position: fixed;
785
- height: auto;
786
- width: auto;
787
- inset: 0;
788
- min-width: 100vw;
789
- padding-bottom: 4px;
790
- padding-left: 4px;
791
- padding-right: 4px;
792
- }
793
- .mobile .clappr-nerd-stats .stats-box-top {
794
- position: fixed;
795
- }
796
- .mobile .clappr-nerd-stats .stats-box-main ul {
797
- flex: 0 1 50%;
798
- }
799
-
800
- @media only screen and (orientation: portrait) {
801
- .mobile .speedtest-summary {
802
- padding: 0 5px;
803
- height: auto;
804
- }
805
- .mobile .speedtest-summary-block {
806
- width: 100%;
807
- flex-direction: column;
808
- }
809
- .mobile .speedtest-summary-block .speedtest-summary-subblock {
810
- width: 100%;
811
- }
812
- .mobile .speedtest-summary-block .speedtest-summary-subblock-content {
813
- width: 100%;
814
- }
815
- .mobile .speedtest-summary-header {
816
- padding-top: 12px;
817
- height: 38px;
818
- text-align: center;
819
- }
820
- .mobile .speedtest-quality-header {
821
- text-align: center;
822
- }
823
- .mobile .speedtest-footer .speedtest-footer-refresh {
824
- inset: 50% auto auto 50%;
825
- transform: translate(-50%, -50%);
826
- }
827
- }
828
- @media only screen and (orientation: landscape) {
829
- .mobile .clappr-nerd-stats .stats-box-main ul {
830
- flex-basis: 1fr;
831
- }
832
- }.media-control-pip {
833
- order: 95;
834
- display: flex;
835
- }
836
- .media-control-pip button {
837
- height: 20px;
838
- }
839
- .media-control-pip button svg {
840
- height: 20px;
841
- }*, :focus, :visited {
842
- outline: none !important;
843
- }
844
-
845
- .gear-wrapper .go-back {
846
- font-weight: 600;
847
- font-size: 14px;
848
- line-height: 20px;
849
- width: 100%;
850
- text-align: left;
851
- padding: 12px;
852
- }
853
- .gear-wrapper .go-back .arrow-left-icon {
854
- float: left;
855
- padding-top: 2px;
856
- padding-right: 2px;
857
- }
858
- .gear-wrapper .go-back .arrow-left-icon svg {
859
- height: 16px;
860
- }
861
- .gear-wrapper ul.gear-sub-menu {
862
- width: 100%;
863
- list-style-type: none;
864
- min-width: 60px;
865
- border-top: 2px solid rgb(36, 36, 36);
866
- }
867
- .gear-wrapper ul.gear-sub-menu li {
868
- font-size: 12px;
869
- text-align: left;
870
- }
871
- .gear-wrapper ul.gear-sub-menu li[data-title] {
872
- background-color: #c3c2c2;
873
- padding: 5px;
874
- }
875
- .gear-wrapper ul.gear-sub-menu li a {
876
- display: block;
877
- text-decoration: none;
878
- height: 32px;
879
- padding: 5px 10px;
880
- line-height: 22px;
881
- color: #fffffe;
882
- }
883
- .gear-wrapper ul.gear-sub-menu li a:hover {
884
- color: white;
885
- background-color: rgba(0, 0, 0, 0.4);
886
- }
887
- .gear-wrapper ul.gear-sub-menu li a:hover a {
888
- color: white;
889
- text-decoration: none;
890
- }
891
- .gear-wrapper ul.gear-sub-menu li a .check-icon {
892
- width: 30px;
893
- height: 20px;
894
- float: left;
895
- display: block;
896
- }
897
- .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
898
- display: none;
840
+ .speedtest-footer-about-link:hover {
841
+ color: var(--hover-text-color);
899
842
  }
900
- .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
901
- display: inline;
902
- }.seek-time[data-seek-time] {
843
+ .speedtest-footer .speedtest-footer-refresh {
903
844
  position: absolute;
904
- white-space: nowrap;
905
- height: 20px;
906
- line-height: 20px;
907
- font-size: 0;
908
- left: -100%;
909
- bottom: 55px;
910
- background-color: rgba(2, 2, 2, 0.5);
911
- z-index: 9999;
912
- transition: opacity 0.1s ease;
845
+ bottom: 0;
846
+ right: 0;
847
+ color: var(--secondary-text-color);
848
+ font-size: 14px;
849
+ font-weight: 400;
850
+ line-height: 16px;
851
+ height: 16px;
852
+ display: flex;
853
+ align-items: center;
854
+ gap: 4px;
913
855
  }
914
- .seek-time[data-seek-time].hidden[data-seek-time] {
915
- opacity: 0;
856
+ .speedtest-footer .speedtest-footer-refresh svg path {
857
+ fill: var(--secondary-text-color);
916
858
  }
917
- .seek-time[data-seek-time] [data-seek-time] {
918
- display: inline-block;
919
- color: white;
920
- font-size: 10px;
921
- padding-left: 7px;
922
- padding-right: 7px;
923
- vertical-align: top;
859
+ .speedtest-footer .speedtest-footer-refresh:hover {
860
+ color: var(--hover-text-color);
924
861
  }
925
- .seek-time[data-seek-time] [data-duration] {
926
- display: inline-block;
927
- color: rgba(255, 255, 255, 0.5);
928
- font-size: 10px;
929
- padding-right: 7px;
930
- vertical-align: top;
862
+ .speedtest-footer .speedtest-footer-refresh:hover svg path {
863
+ fill: var(--hover-text-color);
931
864
  }
932
- .seek-time[data-seek-time] [data-duration]::before {
933
- content: "|";
934
- margin-right: 7px;
935
- }@charset "UTF-8";
936
- .media-control-clips {
937
- display: flex;
938
- gap: 6px;
865
+
866
+ .mobile .clappr-nerd-stats .stats-box {
867
+ position: fixed;
868
+ height: auto;
869
+ width: auto;
870
+ inset: 0;
871
+ min-width: 100vw;
872
+ padding-bottom: 4px;
873
+ padding-left: 4px;
874
+ padding-right: 4px;
939
875
  }
940
- .media-control-clips .media-clip-text {
941
- text-overflow: ellipsis;
942
- white-space: nowrap;
943
- overflow: hidden;
944
- display: inline-block;
945
- text-overflow: ellipsis;
946
- color: white;
947
- cursor: default;
948
- line-height: var(--bottom-panel);
949
- position: relative;
876
+ .mobile .clappr-nerd-stats .stats-box-top {
877
+ position: fixed;
950
878
  }
951
- .media-control-clips .media-clip-text::before {
952
- content: "•";
953
- padding-right: 6px;
879
+ .mobile .clappr-nerd-stats .stats-box-main ul {
880
+ flex: 0 1 50%;
954
881
  }
955
- .media-control-clips .media-clip-text {
956
- max-width: 100px;
882
+
883
+ @media only screen and (orientation: portrait) {
884
+ .mobile .speedtest-summary {
885
+ padding: 0 5px;
886
+ height: auto;
887
+ }
888
+ .mobile .speedtest-summary-block {
889
+ width: 100%;
890
+ flex-direction: column;
891
+ }
892
+ .mobile .speedtest-summary-block .speedtest-summary-subblock {
893
+ width: 100%;
894
+ }
895
+ .mobile .speedtest-summary-block .speedtest-summary-subblock-content {
896
+ width: 100%;
897
+ }
898
+ .mobile .speedtest-summary-header {
899
+ padding-top: 12px;
900
+ height: 38px;
901
+ text-align: center;
902
+ }
903
+ .mobile .speedtest-quality-header {
904
+ text-align: center;
905
+ }
906
+ .mobile .speedtest-footer .speedtest-footer-refresh {
907
+ inset: 50% auto auto 50%;
908
+ transform: translate(-50%, -50%);
909
+ }
910
+ }
911
+ @media only screen and (orientation: landscape) {
912
+ .mobile .clappr-nerd-stats .stats-box-main ul {
913
+ flex-basis: 1fr;
914
+ }
957
915
  }[data-player] {
958
916
  --bottom-panel: 40px;
959
917
  }
@@ -1571,46 +1529,61 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1571
1529
  }
1572
1530
  .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
1573
1531
  display: none !important;
1574
- }.player-poster[data-poster] {
1532
+ }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
1533
+ height: 0;
1534
+ }
1535
+
1536
+ .skip_time_plugin[data-skip-time] {
1537
+ position: absolute;
1538
+ width: 100%;
1539
+ height: calc(100% - 50px);
1540
+ z-index: 9998;
1541
+ background-color: transparent;
1542
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1543
+ }
1544
+ .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] {
1545
+ width: 100%;
1546
+ height: 100%;
1575
1547
  display: flex;
1576
- justify-content: center;
1577
- align-items: center;
1548
+ justify-content: space-between;
1549
+ }
1550
+ .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
1551
+ width: 33.3%;
1552
+ height: 100%;
1553
+ }div.player-error-screen, [data-player] div.player-error-screen {
1554
+ color: #CCCACA;
1578
1555
  position: absolute;
1556
+ top: 0;
1579
1557
  height: 100%;
1580
1558
  width: 100%;
1581
- z-index: 998;
1582
- top: 0;
1583
- left: 0;
1584
- background-color: #000;
1585
- background-size: cover;
1586
- background-repeat: no-repeat;
1587
- background-position: 50% 50%;
1559
+ background-color: rgba(0, 0, 0, 0.7);
1560
+ z-index: 2000;
1561
+ display: flex;
1562
+ flex-direction: column;
1563
+ justify-content: center;
1588
1564
  }
1589
- .player-poster[data-poster].clickable {
1590
- cursor: pointer;
1565
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
1566
+ font-size: 14px;
1567
+ color: #CCCACA;
1568
+ margin-top: 45px;
1591
1569
  }
1592
- .player-poster[data-poster]:hover .play-wrapper[data-poster] {
1593
- opacity: 1;
1570
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
1571
+ font-weight: bold;
1572
+ line-height: 30px;
1573
+ font-size: 18px;
1594
1574
  }
1595
- .player-poster[data-poster] .play-wrapper[data-poster] {
1596
- width: 100%;
1597
- height: 25%;
1575
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
1576
+ width: 90%;
1598
1577
  margin: 0 auto;
1599
- opacity: 0.75;
1600
- transition: opacity 0.1s ease;
1601
- }
1602
- .player-poster[data-poster] .play-wrapper[data-poster] svg {
1603
- height: 100%;
1604
- display: inline;
1605
1578
  }
1606
- .player-poster[data-poster] .play-wrapper[data-poster] svg path {
1607
- fill: #fff;
1608
- }.quality-levels li.disabled {
1609
- opacity: 0.5;
1610
- pointer-events: none;
1579
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
1580
+ font-size: 13px;
1581
+ margin-top: 15px;
1611
1582
  }
1612
- .quality-levels li.current {
1613
- background-color: #000;
1583
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1584
+ cursor: pointer;
1585
+ width: 30px;
1586
+ margin: 15px auto 0;
1614
1587
  }*, :focus, :visited {
1615
1588
  outline: none !important;
1616
1589
  }
@@ -1737,170 +1710,76 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1737
1710
  display: block;
1738
1711
  text-decoration: none;
1739
1712
  }
1740
- .multicamera[data-multicamera] li a:hover {
1741
- background-color: #555;
1742
- color: white;
1743
- }
1744
- .multicamera[data-multicamera] li a:hover a {
1745
- color: white;
1746
- text-decoration: none;
1747
- }
1748
- .multicamera[data-multicamera] li.current a {
1749
- color: #f00;
1750
- }
1751
-
1752
- @keyframes pulse {
1753
- 0% {
1754
- color: #fff;
1755
- }
1756
- 50% {
1757
- color: #ff0101;
1758
- }
1759
- 100% {
1760
- color: #B80000;
1761
- }
1762
- }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
1763
- height: 0;
1764
- }
1765
-
1766
- .skip_time_plugin[data-skip-time] {
1767
- position: absolute;
1768
- width: 100%;
1769
- height: calc(100% - 50px);
1770
- z-index: 9998;
1771
- background-color: transparent;
1772
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1773
- }
1774
- .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] {
1775
- width: 100%;
1776
- height: 100%;
1777
- display: flex;
1778
- justify-content: space-between;
1779
- }
1780
- .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
1781
- width: 33.3%;
1782
- height: 100%;
1783
- }.spinner-three-bounce[data-spinner] {
1784
- position: absolute;
1785
- width: 70px;
1786
- text-align: center;
1787
- z-index: 999;
1788
- left: 0;
1789
- right: 0;
1790
- margin: 0 auto;
1791
- margin-left: auto;
1792
- margin-right: auto;
1793
- /* center vertically */
1794
- top: 50%;
1795
- transform: translateY(-50%);
1796
- }
1797
- .spinner-three-bounce[data-spinner] > div {
1798
- width: 18px;
1799
- height: 18px;
1800
- background-color: #FFF;
1801
- border-radius: 100%;
1802
- display: inline-block;
1803
- animation: bouncedelay 1.4s infinite ease-in-out;
1804
- /* Prevent first frame from flickering when animation starts */
1805
- animation-fill-mode: both;
1713
+ .multicamera[data-multicamera] li a:hover {
1714
+ background-color: #555;
1715
+ color: white;
1806
1716
  }
1807
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1808
- animation-delay: -0.32s;
1717
+ .multicamera[data-multicamera] li a:hover a {
1718
+ color: white;
1719
+ text-decoration: none;
1809
1720
  }
1810
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1811
- animation-delay: -0.16s;
1721
+ .multicamera[data-multicamera] li.current a {
1722
+ color: #f00;
1812
1723
  }
1813
1724
 
1814
- @keyframes bouncedelay {
1815
- 0%, 80%, 100% {
1816
- transform: scale(0);
1725
+ @keyframes pulse {
1726
+ 0% {
1727
+ color: #fff;
1817
1728
  }
1818
- 40% {
1819
- transform: scale(1);
1729
+ 50% {
1730
+ color: #ff0101;
1820
1731
  }
1821
- }.share_plugin[data-share] {
1822
- pointer-events: auto;
1823
- z-index: 5;
1824
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1825
- }
1826
- .share_plugin[data-share].share-hide .share-button-container {
1827
- right: -50px;
1732
+ 100% {
1733
+ color: #B80000;
1734
+ }
1735
+ }.quality-levels li.disabled {
1736
+ opacity: 0.5;
1737
+ pointer-events: none;
1828
1738
  }
1829
- .share_plugin[data-share] .share-button-container {
1830
- cursor: pointer;
1831
- width: 36px;
1832
- height: 36px;
1833
- background-color: rgba(74, 74, 74, 0.6);
1834
- border-radius: 4px;
1835
- position: absolute;
1836
- right: 10px;
1837
- top: 10px;
1838
- padding-top: 6px;
1839
- transition: all 0.3s ease-out;
1739
+ .quality-levels li.current {
1740
+ background-color: #000;
1741
+ }.media-control-pip {
1742
+ order: 95;
1743
+ display: flex;
1840
1744
  }
1841
- .share_plugin[data-share] .share-button-container button[data-share-button] {
1842
- background-color: transparent;
1843
- border: 0;
1844
- margin: 0 6px;
1845
- padding: 0;
1846
- cursor: pointer;
1847
- display: inline-block;
1848
- width: 19px;
1745
+ .media-control-pip button {
1849
1746
  height: 20px;
1850
1747
  }
1851
- .share_plugin[data-share] .share-container {
1852
- pointer-events: auto;
1748
+ .media-control-pip button svg {
1749
+ height: 20px;
1750
+ }.seek-time[data-seek-time] {
1853
1751
  position: absolute;
1854
- width: 280px;
1855
- background-color: white;
1856
- transform: translate(0, 50%);
1857
- transform: translate(-50%, -50%);
1858
- left: 50%;
1859
- /* margin-left: -140px; */
1860
- top: calc(50% - 20px);
1861
- /* margin-top: -170px; */
1752
+ white-space: nowrap;
1753
+ height: 20px;
1754
+ line-height: 20px;
1755
+ font-size: 0;
1756
+ left: -100%;
1757
+ bottom: 55px;
1758
+ background-color: rgba(2, 2, 2, 0.5);
1759
+ z-index: 9999;
1760
+ transition: opacity 0.1s ease;
1862
1761
  }
1863
- .share_plugin[data-share] .share-container .share-container-header {
1864
- text-align: left;
1865
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1762
+ .seek-time[data-seek-time].hidden[data-seek-time] {
1763
+ opacity: 0;
1866
1764
  }
1867
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1765
+ .seek-time[data-seek-time] [data-seek-time] {
1868
1766
  display: inline-block;
1869
- font-size: 16px;
1870
- margin: 5px;
1767
+ color: white;
1768
+ font-size: 10px;
1769
+ padding-left: 7px;
1770
+ padding-right: 7px;
1771
+ vertical-align: top;
1871
1772
  }
1872
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1773
+ .seek-time[data-seek-time] [data-duration] {
1873
1774
  display: inline-block;
1874
- width: 24px;
1875
- float: right;
1876
- margin: 5px;
1877
- cursor: pointer;
1878
- }
1879
- .share_plugin[data-share] .share-container .share-container-main {
1880
- margin-bottom: 8px;
1881
- }
1882
- .share_plugin[data-share] .share-container .share-container-main > div {
1883
- text-align: left;
1884
- font-size: 14px;
1885
- padding: 5px;
1886
- }
1887
- .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 {
1888
- overflow: hidden;
1889
- text-overflow: ellipsis;
1890
- color: #818181;
1891
- border: solid 1px #d3d3d3;
1892
- width: calc(100% - 10px);
1893
- padding: 5px;
1894
- }
1895
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1896
- max-height: 90px;
1897
- resize: none;
1775
+ color: rgba(255, 255, 255, 0.5);
1776
+ font-size: 10px;
1777
+ padding-right: 7px;
1778
+ vertical-align: top;
1898
1779
  }
1899
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1900
- width: 32px;
1901
- display: inline-block;
1902
- margin-right: 5px;
1903
- cursor: pointer;
1780
+ .seek-time[data-seek-time] [data-duration]::before {
1781
+ content: "|";
1782
+ margin-right: 7px;
1904
1783
  }*,
1905
1784
  :focus,
1906
1785
  :visited {
@@ -1933,7 +1812,6 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1933
1812
  position: absolute;
1934
1813
  bottom: 25px;
1935
1814
  border: 1px solid black;
1936
- display: none;
1937
1815
  background-color: #e6e6e6;
1938
1816
  padding: 8px 0;
1939
1817
  }
@@ -1975,6 +1853,44 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1975
1853
  .ios-fullscreen::cue {
1976
1854
  visibility: visible !important;
1977
1855
  font-size: 1em !important;
1856
+ }.spinner-three-bounce[data-spinner] {
1857
+ position: absolute;
1858
+ width: 70px;
1859
+ text-align: center;
1860
+ z-index: 999;
1861
+ left: 0;
1862
+ right: 0;
1863
+ margin: 0 auto;
1864
+ margin-left: auto;
1865
+ margin-right: auto;
1866
+ /* center vertically */
1867
+ top: 50%;
1868
+ transform: translateY(-50%);
1869
+ }
1870
+ .spinner-three-bounce[data-spinner] > div {
1871
+ width: 18px;
1872
+ height: 18px;
1873
+ background-color: #FFF;
1874
+ border-radius: 100%;
1875
+ display: inline-block;
1876
+ animation: bouncedelay 1.4s infinite ease-in-out;
1877
+ /* Prevent first frame from flickering when animation starts */
1878
+ animation-fill-mode: both;
1879
+ }
1880
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1881
+ animation-delay: -0.32s;
1882
+ }
1883
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1884
+ animation-delay: -0.16s;
1885
+ }
1886
+
1887
+ @keyframes bouncedelay {
1888
+ 0%, 80%, 100% {
1889
+ transform: scale(0);
1890
+ }
1891
+ 40% {
1892
+ transform: scale(1);
1893
+ }
1978
1894
  }.scrub-thumbnails {
1979
1895
  position: absolute;
1980
1896
  bottom: 52px;
@@ -2045,4 +1961,87 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
2045
1961
 
2046
1962
  .clappr-logo {
2047
1963
  position: absolute;
1964
+ }.share_plugin[data-share] {
1965
+ pointer-events: auto;
1966
+ z-index: 5;
1967
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1968
+ }
1969
+ .share_plugin[data-share].share-hide .share-button-container {
1970
+ right: -50px;
1971
+ }
1972
+ .share_plugin[data-share] .share-button-container {
1973
+ cursor: pointer;
1974
+ width: 36px;
1975
+ height: 36px;
1976
+ background-color: rgba(74, 74, 74, 0.6);
1977
+ border-radius: 4px;
1978
+ position: absolute;
1979
+ right: 10px;
1980
+ top: 10px;
1981
+ padding-top: 6px;
1982
+ transition: all 0.3s ease-out;
1983
+ }
1984
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
1985
+ background-color: transparent;
1986
+ border: 0;
1987
+ margin: 0 6px;
1988
+ padding: 0;
1989
+ cursor: pointer;
1990
+ display: inline-block;
1991
+ width: 19px;
1992
+ height: 20px;
1993
+ }
1994
+ .share_plugin[data-share] .share-container {
1995
+ pointer-events: auto;
1996
+ position: absolute;
1997
+ width: 280px;
1998
+ background-color: white;
1999
+ transform: translate(0, 50%);
2000
+ transform: translate(-50%, -50%);
2001
+ left: 50%;
2002
+ /* margin-left: -140px; */
2003
+ top: calc(50% - 20px);
2004
+ /* margin-top: -170px; */
2005
+ }
2006
+ .share_plugin[data-share] .share-container .share-container-header {
2007
+ text-align: left;
2008
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
2009
+ }
2010
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
2011
+ display: inline-block;
2012
+ font-size: 16px;
2013
+ margin: 5px;
2014
+ }
2015
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
2016
+ display: inline-block;
2017
+ width: 24px;
2018
+ float: right;
2019
+ margin: 5px;
2020
+ cursor: pointer;
2021
+ }
2022
+ .share_plugin[data-share] .share-container .share-container-main {
2023
+ margin-bottom: 8px;
2024
+ }
2025
+ .share_plugin[data-share] .share-container .share-container-main > div {
2026
+ text-align: left;
2027
+ font-size: 14px;
2028
+ padding: 5px;
2029
+ }
2030
+ .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 {
2031
+ overflow: hidden;
2032
+ text-overflow: ellipsis;
2033
+ color: #818181;
2034
+ border: solid 1px #d3d3d3;
2035
+ width: calc(100% - 10px);
2036
+ padding: 5px;
2037
+ }
2038
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
2039
+ max-height: 90px;
2040
+ resize: none;
2041
+ }
2042
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
2043
+ width: 32px;
2044
+ display: inline-block;
2045
+ margin-right: 5px;
2046
+ cursor: pointer;
2048
2047
  }