@gcorevideo/player 2.20.6 → 2.20.7

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/dist/core.js +1 -1
  2. package/dist/index.css +662 -662
  3. package/dist/index.js +5143 -5123
  4. package/dist/plugins/index.css +524 -524
  5. package/dist/plugins/index.js +5111 -5096
  6. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  7. package/lib/plugins/bottom-gear/BottomGear.js +5 -8
  8. package/lib/plugins/level-selector/LevelSelector.d.ts +15 -5
  9. package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
  10. package/lib/plugins/level-selector/LevelSelector.js +22 -22
  11. package/lib/plugins/media-control/MediaControl.d.ts +10 -0
  12. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  13. package/lib/plugins/media-control/MediaControl.js +11 -0
  14. package/lib/plugins/source-controller/SourceController.d.ts +1 -0
  15. package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
  16. package/lib/plugins/source-controller/SourceController.js +8 -4
  17. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts +7 -3
  18. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.d.ts.map +1 -1
  19. package/lib/plugins/spinner-three-bounce/SpinnerThreeBounce.js +35 -27
  20. package/lib/testUtils.d.ts +5 -8
  21. package/lib/testUtils.d.ts.map +1 -1
  22. package/lib/testUtils.js +15 -9
  23. package/package.json +1 -1
  24. package/src/plugins/bottom-gear/BottomGear.ts +5 -7
  25. package/src/plugins/bottom-gear/__tests__/BottomGear.test.ts +36 -0
  26. package/src/plugins/bottom-gear/__tests__/__snapshots__/BottomGear.test.ts.snap +41 -0
  27. package/src/plugins/level-selector/LevelSelector.ts +50 -29
  28. package/src/plugins/level-selector/__tests__/LevelSelector.test.ts +15 -16
  29. package/src/plugins/media-control/MediaControl.ts +11 -0
  30. package/src/plugins/source-controller/SourceController.ts +9 -4
  31. package/src/plugins/source-controller/__tests__/SourceController.test.ts +35 -1
  32. package/src/plugins/spinner-three-bounce/SpinnerThreeBounce.ts +80 -57
  33. package/src/testUtils.ts +16 -9
  34. package/tsconfig.tsbuildinfo +1 -1
@@ -308,87 +308,112 @@
308
308
  }
309
309
  .big-mute-icon[data-big-mute-icon]:hover svg path {
310
310
  fill: #151515 !important;
311
- }div.player-error-screen, [data-player] div.player-error-screen {
312
- color: #CCCACA;
313
- position: absolute;
314
- top: 0;
315
- height: 100%;
316
- width: 100%;
317
- background-color: rgba(0, 0, 0, 0.7);
318
- z-index: 2000;
319
- display: flex;
320
- flex-direction: column;
321
- justify-content: center;
311
+ }.dvr-controls[data-dvr-controls] {
312
+ display: inline-block;
313
+ float: left;
314
+ color: #fff;
315
+ line-height: 32px;
316
+ font-size: 10px;
317
+ font-weight: bold;
318
+ margin-left: 6px;
322
319
  }
323
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
324
- font-size: 14px;
325
- color: #CCCACA;
326
- margin-top: 45px;
320
+ .dvr-controls[data-dvr-controls] .live-info {
321
+ cursor: default;
322
+ font-family: "Roboto", "Open Sans", Arial, sans-serif;
323
+ text-transform: uppercase;
327
324
  }
328
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
329
- font-weight: bold;
330
- line-height: 30px;
331
- font-size: 18px;
325
+ .dvr-controls[data-dvr-controls] .live-info:before {
326
+ content: "";
327
+ display: inline-block;
328
+ position: relative;
329
+ width: 7px;
330
+ height: 7px;
331
+ border-radius: 3.5px;
332
+ margin-right: 3.5px;
333
+ background-color: #ff0101;
332
334
  }
333
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
334
- width: 90%;
335
- margin: 0 auto;
335
+ .dvr-controls[data-dvr-controls] .live-info.disabled {
336
+ opacity: 0.3;
336
337
  }
337
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
338
- font-size: 13px;
339
- margin-top: 15px;
338
+ .dvr-controls[data-dvr-controls] .live-info.disabled:before {
339
+ background-color: #fff;
340
340
  }
341
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
341
+ .dvr-controls[data-dvr-controls] .live-button {
342
342
  cursor: pointer;
343
- width: 30px;
344
- margin: 15px auto 0;
345
- }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
346
- float: right;
347
- font-family: Roboto, "Open Sans", Arial, sans-serif;
343
+ outline: none;
344
+ display: none;
345
+ border: 0;
346
+ color: #fff;
347
+ background-color: transparent;
348
+ height: 32px;
349
+ padding: 0;
350
+ opacity: 0.7;
351
+ font-family: "Roboto", "Open Sans", Arial, sans-serif;
352
+ text-transform: uppercase;
353
+ transition: all 0.1s ease;
348
354
  }
349
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear {
355
+ .dvr-controls[data-dvr-controls] .live-button:before {
356
+ content: "";
357
+ display: inline-block;
358
+ position: relative;
359
+ width: 7px;
360
+ height: 7px;
361
+ border-radius: 3.5px;
362
+ margin-right: 3.5px;
363
+ background-color: #fff;
364
+ }
365
+ .dvr-controls[data-dvr-controls] .live-button:hover {
366
+ opacity: 1;
367
+ text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
368
+ }
369
+
370
+ .dvr-controls[data-dvr-controls] {
350
371
  height: 40px;
351
- width: 40px;
352
- padding-right: 20px;
372
+ line-height: 40px;
373
+ margin-left: 0;
353
374
  }
354
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear svg {
355
- height: 20px;
375
+ .dvr-controls[data-dvr-controls] .live-info {
376
+ font-size: 14px;
377
+ letter-spacing: 0.8px;
378
+ font-weight: 500;
379
+ color: #fffffe;
380
+ margin-left: 21px;
356
381
  }
357
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
358
- position: absolute;
359
- right: 16px;
360
- bottom: 52px;
361
- display: none;
362
- width: 250px;
363
- min-height: 48px;
364
- z-index: 9999;
365
- border-radius: 4px;
382
+ .dvr-controls[data-dvr-controls] .live-info::before {
383
+ width: 10px;
384
+ height: 10px;
385
+ border-radius: 50%;
386
+ margin-right: 8px;
387
+ background-color: #ed4f4a;
366
388
  }
367
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
368
- padding: 8px 0;
389
+ .dvr-controls[data-dvr-controls] .live-button {
390
+ height: 40px;
391
+ opacity: 1;
392
+ font-size: 14px;
393
+ letter-spacing: 0.8px;
394
+ font-weight: 500;
395
+ margin-left: 20px;
369
396
  }
370
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
371
- float: left;
372
- margin-right: 10px;
397
+ .dvr-controls[data-dvr-controls] .live-button::before {
398
+ width: 10px;
399
+ height: 10px;
400
+ border-radius: 50%;
401
+ margin-right: 8px;
402
+ background-color: #cacaca;
373
403
  }
374
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
375
- margin: 0;
376
- text-align: left;
377
- line-height: 22px;
378
- padding: 5px 14px;
379
- width: 250px;
380
- font-size: 12px;
404
+
405
+ .dvr .dvr-controls[data-dvr-controls] .live-info {
406
+ display: none;
381
407
  }
382
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
383
- float: right;
384
- margin-right: -14px;
408
+ .dvr .dvr-controls[data-dvr-controls] .live-button {
409
+ display: block;
385
410
  }
386
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
387
- float: right;
388
- margin-right: 8px;
411
+ .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] {
412
+ background-color: #005aff;
389
413
  }
390
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
391
- height: 20px;
414
+
415
+ .media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
416
+ background-color: #ff0101;
392
417
  }:root {
393
418
  --primary-background-color: #000;
394
419
  --secondary-background-color: #262626;
@@ -771,33 +796,40 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
771
796
  .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
772
797
  width: 25%;
773
798
  }
774
- }.level-disabled {
775
- opacity: 0.5;
776
- pointer-events: none;
777
- }.context-menu {
778
- z-index: 999;
799
+ }div.player-error-screen, [data-player] div.player-error-screen {
800
+ color: #CCCACA;
779
801
  position: absolute;
780
802
  top: 0;
781
- left: 0;
782
- text-align: center;
803
+ height: 100%;
804
+ width: 100%;
805
+ background-color: rgba(0, 0, 0, 0.7);
806
+ z-index: 2000;
807
+ display: flex;
808
+ flex-direction: column;
809
+ justify-content: center;
783
810
  }
784
- .context-menu .context-menu-list {
785
- font-family: "Proxima Nova", sans-serif;
786
- font-size: 12px;
787
- line-height: 12px;
788
- list-style-type: none;
789
- text-align: left;
790
- padding: 5px;
791
- margin-left: auto;
792
- margin-right: auto;
793
- background-color: rgba(0, 0, 0, 0.75);
794
- border: 1px solid #666;
795
- border-radius: 4px;
811
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
812
+ font-size: 14px;
813
+ color: #CCCACA;
814
+ margin-top: 45px;
796
815
  }
797
- .context-menu .context-menu-list .context-menu-list-item {
798
- color: white;
799
- padding: 5px;
816
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
817
+ font-weight: bold;
818
+ line-height: 30px;
819
+ font-size: 18px;
820
+ }
821
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
822
+ width: 90%;
823
+ margin: 0 auto;
824
+ }
825
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
826
+ font-size: 13px;
827
+ margin-top: 15px;
828
+ }
829
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
800
830
  cursor: pointer;
831
+ width: 30px;
832
+ margin: 15px auto 0;
801
833
  }*, :focus, :visited {
802
834
  outline: none !important;
803
835
  }
@@ -863,53 +895,113 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
863
895
  }
864
896
  .gear-wrapper svg {
865
897
  height: 20px;
866
- }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
867
- height: 0;
868
- }
869
-
870
- .skip_time_plugin[data-skip-time] {
871
- position: absolute;
872
- width: 100%;
873
- height: calc(100% - 50px);
874
- z-index: 9998;
875
- background-color: transparent;
876
- font-family: Roboto, "Open Sans", Arial, sans-serif;
877
- }
878
- .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] {
879
- width: 100%;
880
- height: 100%;
881
- display: flex;
882
- justify-content: space-between;
883
- }
884
- .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
885
- width: 33.3%;
886
- height: 100%;
887
- }.clips.bar-container[data-seekbar] {
888
- clip-path: url("#myClip");
889
- }*, :focus, :visited {
890
- outline: none !important;
891
- }
892
-
893
- .multicamera[data-multicamera] {
898
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
894
899
  float: right;
895
- margin-top: 4px;
896
- position: relative;
897
- margin-right: 20px;
898
- width: 20px;
899
- }
900
- .multicamera[data-multicamera] button {
901
- background-color: transparent;
902
- color: #fff;
903
900
  font-family: Roboto, "Open Sans", Arial, sans-serif;
904
- -webkit-font-smoothing: antialiased;
905
- border: none;
906
- font-size: 14px;
907
- padding: 0;
908
901
  }
909
- .multicamera[data-multicamera] button svg {
902
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear {
903
+ height: 40px;
904
+ width: 40px;
905
+ padding-right: 20px;
906
+ }
907
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear svg {
910
908
  height: 20px;
911
- position: relative;
912
- margin-top: 6px;
909
+ }
910
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
911
+ position: absolute;
912
+ right: 16px;
913
+ bottom: 52px;
914
+ display: none;
915
+ width: 250px;
916
+ min-height: 48px;
917
+ z-index: 9999;
918
+ border-radius: 4px;
919
+ }
920
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
921
+ padding: 8px 0;
922
+ }
923
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
924
+ float: left;
925
+ margin-right: 10px;
926
+ }
927
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
928
+ margin: 0;
929
+ text-align: left;
930
+ line-height: 22px;
931
+ padding: 5px 14px;
932
+ width: 250px;
933
+ font-size: 12px;
934
+ }
935
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
936
+ float: right;
937
+ margin-right: -14px;
938
+ }
939
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
940
+ float: right;
941
+ margin-right: 8px;
942
+ }
943
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
944
+ height: 20px;
945
+ }.clips.bar-container[data-seekbar] {
946
+ clip-path: url("#myClip");
947
+ }.media-control-pip button {
948
+ float: right;
949
+ height: 40px;
950
+ margin-right: 20px;
951
+ }
952
+ .media-control-pip button svg {
953
+ height: 20px;
954
+ }.context-menu {
955
+ z-index: 999;
956
+ position: absolute;
957
+ top: 0;
958
+ left: 0;
959
+ text-align: center;
960
+ }
961
+ .context-menu .context-menu-list {
962
+ font-family: "Proxima Nova", sans-serif;
963
+ font-size: 12px;
964
+ line-height: 12px;
965
+ list-style-type: none;
966
+ text-align: left;
967
+ padding: 5px;
968
+ margin-left: auto;
969
+ margin-right: auto;
970
+ background-color: rgba(0, 0, 0, 0.75);
971
+ border: 1px solid #666;
972
+ border-radius: 4px;
973
+ }
974
+ .context-menu .context-menu-list .context-menu-list-item {
975
+ color: white;
976
+ padding: 5px;
977
+ cursor: pointer;
978
+ }.level-disabled {
979
+ opacity: 0.5;
980
+ pointer-events: none;
981
+ }*, :focus, :visited {
982
+ outline: none !important;
983
+ }
984
+
985
+ .multicamera[data-multicamera] {
986
+ float: right;
987
+ margin-top: 4px;
988
+ position: relative;
989
+ margin-right: 20px;
990
+ width: 20px;
991
+ }
992
+ .multicamera[data-multicamera] button {
993
+ background-color: transparent;
994
+ color: #fff;
995
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
996
+ -webkit-font-smoothing: antialiased;
997
+ border: none;
998
+ font-size: 14px;
999
+ padding: 0;
1000
+ }
1001
+ .multicamera[data-multicamera] button svg {
1002
+ height: 20px;
1003
+ position: relative;
1004
+ margin-top: 6px;
913
1005
  }
914
1006
  .multicamera[data-multicamera] button:hover {
915
1007
  color: #c9c9c9;
@@ -1034,104 +1126,203 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1034
1126
  100% {
1035
1127
  color: #B80000;
1036
1128
  }
1037
- }.media-control-pip button {
1038
- float: right;
1039
- height: 40px;
1040
- margin-right: 20px;
1041
- }
1042
- .media-control-pip button svg {
1043
- height: 20px;
1044
- }.media-control-skin-1[data-media-control-skin-1] .media-control-quality,
1045
- .media-control-skin-1[data-media-control-skin-1] .media-control-audio-tracks {
1046
- display: block;
1047
- }
1048
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] {
1049
- width: 40px;
1050
- margin-top: 0;
1051
- }
1052
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button] {
1053
- display: flex;
1054
- justify-content: center;
1055
- padding: 0;
1056
- align-items: center;
1129
+ }.share_plugin[data-share] {
1130
+ pointer-events: auto;
1131
+ z-index: 5;
1132
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1057
1133
  }
1058
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button]:hover {
1059
- color: white;
1134
+ .share_plugin[data-share].share-hide .share-button-container {
1135
+ right: -50px;
1060
1136
  }
1061
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul {
1137
+ .share_plugin[data-share] .share-button-container {
1138
+ cursor: pointer;
1139
+ width: 36px;
1140
+ height: 36px;
1062
1141
  background-color: rgba(74, 74, 74, 0.6);
1063
- border: none;
1064
- width: auto;
1065
- transform: rotate(180deg);
1066
1142
  border-radius: 4px;
1067
- bottom: 52px;
1068
- margin-left: -28px;
1069
- }
1070
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li {
1071
- transform: rotate(-180deg);
1072
- font-size: 16px;
1073
- text-align: center;
1074
- white-space: nowrap;
1075
- height: 30px;
1143
+ position: absolute;
1144
+ right: 10px;
1145
+ top: 10px;
1146
+ padding-top: 6px;
1147
+ transition: all 0.3s ease-out;
1076
1148
  }
1077
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a {
1078
- height: 30px;
1079
- padding: 5px 10px;
1080
- color: #fffffe;
1149
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
1150
+ background-color: transparent;
1151
+ border: 0;
1152
+ margin: 0 6px;
1153
+ padding: 0;
1154
+ cursor: pointer;
1155
+ display: inline-block;
1156
+ width: 19px;
1157
+ height: 20px;
1081
1158
  }
1082
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a:hover {
1083
- background-color: rgba(0, 0, 0, 0.4);
1159
+ .share_plugin[data-share] .share-container {
1160
+ pointer-events: auto;
1161
+ position: absolute;
1162
+ width: 280px;
1163
+ background-color: white;
1164
+ transform: translate(0, 50%);
1165
+ transform: translate(-50%, -50%);
1166
+ left: 50%;
1167
+ /* margin-left: -140px; */
1168
+ top: calc(50% - 20px);
1169
+ /* margin-top: -170px; */
1084
1170
  }
1085
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li.current a {
1086
- background-color: rgba(0, 0, 0, 0.4);
1171
+ .share_plugin[data-share] .share-container .share-container-header {
1172
+ text-align: left;
1173
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1087
1174
  }
1088
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:first-child a {
1089
- border-bottom-left-radius: 4px;
1090
- border-bottom-right-radius: 4px;
1175
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1176
+ display: inline-block;
1177
+ font-size: 16px;
1178
+ margin: 5px;
1091
1179
  }
1092
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:last-child a {
1093
- border-top-left-radius: 4px;
1094
- border-top-right-radius: 4px;
1180
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1181
+ display: inline-block;
1182
+ width: 24px;
1183
+ float: right;
1184
+ margin: 5px;
1185
+ cursor: pointer;
1095
1186
  }
1096
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] {
1097
- height: 26px;
1098
- line-height: 26px;
1099
- bottom: 52px;
1100
- border-radius: 3px;
1101
- background-color: rgba(74, 74, 74, 0.7);
1187
+ .share_plugin[data-share] .share-container .share-container-main {
1188
+ margin-bottom: 8px;
1102
1189
  }
1103
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span {
1104
- letter-spacing: 0.8px;
1190
+ .share_plugin[data-share] .share-container .share-container-main > div {
1191
+ text-align: left;
1105
1192
  font-size: 14px;
1106
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1107
- }
1108
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-seek-time] {
1109
- padding-left: 8px;
1110
- padding-right: 8px;
1111
- }
1112
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
1113
- display: none !important;
1114
- }[data-player] {
1115
- --bottom-panel: 40px;
1116
- }
1117
-
1118
- .container .media-control-notransition {
1119
- transition: none !important;
1193
+ padding: 5px;
1120
1194
  }
1121
- .container .player-poster[data-poster] .play-wrapper[data-poster] {
1122
- opacity: 1;
1195
+ .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 {
1196
+ overflow: hidden;
1197
+ text-overflow: ellipsis;
1198
+ color: #818181;
1199
+ border: solid 1px #d3d3d3;
1200
+ width: calc(100% - 10px);
1201
+ padding: 5px;
1123
1202
  }
1124
- .container.crop-video [data-html5-video] {
1125
- object-fit: cover;
1203
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1204
+ max-height: 90px;
1205
+ resize: none;
1126
1206
  }
1127
- .container .subtitle-string {
1207
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1208
+ width: 32px;
1209
+ display: inline-block;
1210
+ margin-right: 5px;
1211
+ cursor: pointer;
1212
+ }.player-poster[data-poster] {
1213
+ display: flex;
1214
+ justify-content: center;
1215
+ align-items: center;
1128
1216
  position: absolute;
1129
- bottom: calc(var(--bottom-panel) + 5px);
1217
+ height: 100%;
1130
1218
  width: 100%;
1219
+ z-index: 998;
1220
+ top: 0;
1221
+ left: 0;
1222
+ background-color: #000;
1223
+ background-size: cover;
1224
+ background-repeat: no-repeat;
1225
+ background-position: 50% 50%;
1131
1226
  }
1132
- .container .subtitle-string p {
1133
- width: auto;
1134
- background-color: rgba(0, 0, 0, 0.4);
1227
+ .player-poster[data-poster].clickable {
1228
+ cursor: pointer;
1229
+ }
1230
+ .player-poster[data-poster]:hover .play-wrapper[data-poster] {
1231
+ opacity: 1;
1232
+ }
1233
+ .player-poster[data-poster] .play-wrapper[data-poster] {
1234
+ width: 100%;
1235
+ height: 25%;
1236
+ margin: 0 auto;
1237
+ opacity: 0.75;
1238
+ transition: opacity 0.1s ease;
1239
+ }
1240
+ .player-poster[data-poster] .play-wrapper[data-poster] svg {
1241
+ height: 100%;
1242
+ display: inline;
1243
+ }
1244
+ .player-poster[data-poster] .play-wrapper[data-poster] svg path {
1245
+ fill: #fff;
1246
+ }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
1247
+ height: 0;
1248
+ }
1249
+
1250
+ .skip_time_plugin[data-skip-time] {
1251
+ position: absolute;
1252
+ width: 100%;
1253
+ height: calc(100% - 50px);
1254
+ z-index: 9998;
1255
+ background-color: transparent;
1256
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1257
+ }
1258
+ .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] {
1259
+ width: 100%;
1260
+ height: 100%;
1261
+ display: flex;
1262
+ justify-content: space-between;
1263
+ }
1264
+ .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
1265
+ width: 33.3%;
1266
+ height: 100%;
1267
+ }.spinner-three-bounce[data-spinner] {
1268
+ position: absolute;
1269
+ width: 70px;
1270
+ text-align: center;
1271
+ z-index: 999;
1272
+ left: 0;
1273
+ right: 0;
1274
+ margin: 0 auto;
1275
+ margin-left: auto;
1276
+ margin-right: auto;
1277
+ /* center vertically */
1278
+ top: 50%;
1279
+ transform: translateY(-50%);
1280
+ }
1281
+ .spinner-three-bounce[data-spinner] > div {
1282
+ width: 18px;
1283
+ height: 18px;
1284
+ background-color: #FFF;
1285
+ border-radius: 100%;
1286
+ display: inline-block;
1287
+ animation: bouncedelay 1.4s infinite ease-in-out;
1288
+ /* Prevent first frame from flickering when animation starts */
1289
+ animation-fill-mode: both;
1290
+ }
1291
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1292
+ animation-delay: -0.32s;
1293
+ }
1294
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1295
+ animation-delay: -0.16s;
1296
+ }
1297
+
1298
+ @keyframes bouncedelay {
1299
+ 0%, 80%, 100% {
1300
+ transform: scale(0);
1301
+ }
1302
+ 40% {
1303
+ transform: scale(1);
1304
+ }
1305
+ }[data-player] {
1306
+ --bottom-panel: 40px;
1307
+ }
1308
+
1309
+ .container .media-control-notransition {
1310
+ transition: none !important;
1311
+ }
1312
+ .container .player-poster[data-poster] .play-wrapper[data-poster] {
1313
+ opacity: 1;
1314
+ }
1315
+ .container.crop-video [data-html5-video] {
1316
+ object-fit: cover;
1317
+ }
1318
+ .container .subtitle-string {
1319
+ position: absolute;
1320
+ bottom: calc(var(--bottom-panel) + 5px);
1321
+ width: 100%;
1322
+ }
1323
+ .container .subtitle-string p {
1324
+ width: auto;
1325
+ background-color: rgba(0, 0, 0, 0.4);
1135
1326
  color: white;
1136
1327
  display: inline-block;
1137
1328
  }
@@ -1716,6 +1907,67 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1716
1907
  }
1717
1908
  .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover {
1718
1909
  transform: scaleY(1.5);
1910
+ }.scrub-thumbnails {
1911
+ position: absolute;
1912
+ bottom: 52px;
1913
+ width: 100%;
1914
+ transition: opacity 0.3s ease;
1915
+ }
1916
+ .scrub-thumbnails.hidden {
1917
+ opacity: 0;
1918
+ }
1919
+ .scrub-thumbnails .thumbnail-container {
1920
+ display: inline-block;
1921
+ position: relative;
1922
+ overflow: hidden;
1923
+ background-color: #000;
1924
+ }
1925
+ .scrub-thumbnails .thumbnail-container .thumbnail-img {
1926
+ position: absolute;
1927
+ width: auto;
1928
+ }
1929
+ .scrub-thumbnails .thumbnails-text {
1930
+ background-color: rgba(74, 74, 74, 0.7);
1931
+ border-radius: 3px;
1932
+ white-space: nowrap;
1933
+ overflow: hidden;
1934
+ text-overflow: ellipsis;
1935
+ color: white;
1936
+ position: absolute;
1937
+ bottom: 23px;
1938
+ width: 100px;
1939
+ }
1940
+ .scrub-thumbnails .spotlight {
1941
+ background-color: #4a4a4a;
1942
+ overflow: hidden;
1943
+ position: absolute;
1944
+ bottom: 0;
1945
+ left: 0;
1946
+ border-color: #4a4a4a;
1947
+ border-style: solid;
1948
+ border-width: 3px;
1949
+ border-radius: 3px;
1950
+ }
1951
+ .scrub-thumbnails .spotlight img {
1952
+ width: auto;
1953
+ }
1954
+ .scrub-thumbnails .backdrop {
1955
+ position: absolute;
1956
+ left: 0;
1957
+ bottom: 0;
1958
+ right: 0;
1959
+ background-color: #000;
1960
+ overflow: hidden;
1961
+ }
1962
+ .scrub-thumbnails .backdrop .carousel {
1963
+ position: absolute;
1964
+ top: 0;
1965
+ left: 0;
1966
+ height: 100%;
1967
+ white-space: nowrap;
1968
+ }
1969
+ .scrub-thumbnails .backdrop .carousel img {
1970
+ width: auto;
1719
1971
  }*, :focus, :visited {
1720
1972
  outline: none !important;
1721
1973
  }
@@ -1797,337 +2049,76 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1797
2049
  .ios-fullscreen::cue {
1798
2050
  visibility: visible !important;
1799
2051
  font-size: 1em !important;
1800
- }.scrub-thumbnails {
1801
- position: absolute;
1802
- bottom: 52px;
1803
- width: 100%;
1804
- transition: opacity 0.3s ease;
2052
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-quality,
2053
+ .media-control-skin-1[data-media-control-skin-1] .media-control-audio-tracks {
2054
+ display: block;
1805
2055
  }
1806
- .scrub-thumbnails.hidden {
1807
- opacity: 0;
2056
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] {
2057
+ width: 40px;
2058
+ margin-top: 0;
1808
2059
  }
1809
- .scrub-thumbnails .thumbnail-container {
1810
- display: inline-block;
1811
- position: relative;
1812
- overflow: hidden;
1813
- background-color: #000;
2060
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button] {
2061
+ display: flex;
2062
+ justify-content: center;
2063
+ padding: 0;
2064
+ align-items: center;
1814
2065
  }
1815
- .scrub-thumbnails .thumbnail-container .thumbnail-img {
1816
- position: absolute;
2066
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button]:hover {
2067
+ color: white;
2068
+ }
2069
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul {
2070
+ background-color: rgba(74, 74, 74, 0.6);
2071
+ border: none;
1817
2072
  width: auto;
2073
+ transform: rotate(180deg);
2074
+ border-radius: 4px;
2075
+ bottom: 52px;
2076
+ margin-left: -28px;
1818
2077
  }
1819
- .scrub-thumbnails .thumbnails-text {
1820
- background-color: rgba(74, 74, 74, 0.7);
1821
- border-radius: 3px;
2078
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li {
2079
+ transform: rotate(-180deg);
2080
+ font-size: 16px;
2081
+ text-align: center;
1822
2082
  white-space: nowrap;
1823
- overflow: hidden;
1824
- text-overflow: ellipsis;
1825
- color: white;
1826
- position: absolute;
1827
- bottom: 23px;
1828
- width: 100px;
2083
+ height: 30px;
1829
2084
  }
1830
- .scrub-thumbnails .spotlight {
1831
- background-color: #4a4a4a;
1832
- overflow: hidden;
1833
- position: absolute;
1834
- bottom: 0;
1835
- left: 0;
1836
- border-color: #4a4a4a;
1837
- border-style: solid;
1838
- border-width: 3px;
1839
- border-radius: 3px;
2085
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a {
2086
+ height: 30px;
2087
+ padding: 5px 10px;
2088
+ color: #fffffe;
1840
2089
  }
1841
- .scrub-thumbnails .spotlight img {
1842
- width: auto;
2090
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a:hover {
2091
+ background-color: rgba(0, 0, 0, 0.4);
1843
2092
  }
1844
- .scrub-thumbnails .backdrop {
1845
- position: absolute;
1846
- left: 0;
1847
- bottom: 0;
1848
- right: 0;
1849
- background-color: #000;
1850
- overflow: hidden;
2093
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li.current a {
2094
+ background-color: rgba(0, 0, 0, 0.4);
1851
2095
  }
1852
- .scrub-thumbnails .backdrop .carousel {
1853
- position: absolute;
1854
- top: 0;
1855
- left: 0;
1856
- height: 100%;
1857
- white-space: nowrap;
2096
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:first-child a {
2097
+ border-bottom-left-radius: 4px;
2098
+ border-bottom-right-radius: 4px;
1858
2099
  }
1859
- .scrub-thumbnails .backdrop .carousel img {
1860
- width: auto;
1861
- }.player-logo[data-logo] {
1862
- position: absolute;
1863
- z-index: 2;
1864
- width: 100%;
1865
- height: 100%;
2100
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:last-child a {
2101
+ border-top-left-radius: 4px;
2102
+ border-top-right-radius: 4px;
1866
2103
  }
1867
-
1868
- .clappr-logo {
1869
- position: absolute;
1870
- }.share_plugin[data-share] {
1871
- pointer-events: auto;
1872
- z-index: 5;
1873
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1874
- }
1875
- .share_plugin[data-share].share-hide .share-button-container {
1876
- right: -50px;
1877
- }
1878
- .share_plugin[data-share] .share-button-container {
1879
- cursor: pointer;
1880
- width: 36px;
1881
- height: 36px;
1882
- background-color: rgba(74, 74, 74, 0.6);
1883
- border-radius: 4px;
1884
- position: absolute;
1885
- right: 10px;
1886
- top: 10px;
1887
- padding-top: 6px;
1888
- transition: all 0.3s ease-out;
1889
- }
1890
- .share_plugin[data-share] .share-button-container button[data-share-button] {
1891
- background-color: transparent;
1892
- border: 0;
1893
- margin: 0 6px;
1894
- padding: 0;
1895
- cursor: pointer;
1896
- display: inline-block;
1897
- width: 19px;
1898
- height: 20px;
1899
- }
1900
- .share_plugin[data-share] .share-container {
1901
- pointer-events: auto;
1902
- position: absolute;
1903
- width: 280px;
1904
- background-color: white;
1905
- transform: translate(0, 50%);
1906
- transform: translate(-50%, -50%);
1907
- left: 50%;
1908
- /* margin-left: -140px; */
1909
- top: calc(50% - 20px);
1910
- /* margin-top: -170px; */
1911
- }
1912
- .share_plugin[data-share] .share-container .share-container-header {
1913
- text-align: left;
1914
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1915
- }
1916
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1917
- display: inline-block;
1918
- font-size: 16px;
1919
- margin: 5px;
1920
- }
1921
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1922
- display: inline-block;
1923
- width: 24px;
1924
- float: right;
1925
- margin: 5px;
1926
- cursor: pointer;
1927
- }
1928
- .share_plugin[data-share] .share-container .share-container-main {
1929
- margin-bottom: 8px;
1930
- }
1931
- .share_plugin[data-share] .share-container .share-container-main > div {
1932
- text-align: left;
1933
- font-size: 14px;
1934
- padding: 5px;
1935
- }
1936
- .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 {
1937
- overflow: hidden;
1938
- text-overflow: ellipsis;
1939
- color: #818181;
1940
- border: solid 1px #d3d3d3;
1941
- width: calc(100% - 10px);
1942
- padding: 5px;
1943
- }
1944
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1945
- max-height: 90px;
1946
- resize: none;
1947
- }
1948
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1949
- width: 32px;
1950
- display: inline-block;
1951
- margin-right: 5px;
1952
- cursor: pointer;
1953
- }.spinner-three-bounce[data-spinner] {
1954
- position: absolute;
1955
- width: 70px;
1956
- text-align: center;
1957
- z-index: 999;
1958
- left: 0;
1959
- right: 0;
1960
- margin: 0 auto;
1961
- margin-left: auto;
1962
- margin-right: auto;
1963
- /* center vertically */
1964
- top: 50%;
1965
- transform: translateY(-50%);
1966
- }
1967
- .spinner-three-bounce[data-spinner] > div {
1968
- width: 18px;
1969
- height: 18px;
1970
- background-color: #FFF;
1971
- border-radius: 100%;
1972
- display: inline-block;
1973
- animation: bouncedelay 1.4s infinite ease-in-out;
1974
- /* Prevent first frame from flickering when animation starts */
1975
- animation-fill-mode: both;
1976
- }
1977
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1978
- animation-delay: -0.32s;
1979
- }
1980
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1981
- animation-delay: -0.16s;
1982
- }
1983
-
1984
- @keyframes bouncedelay {
1985
- 0%, 80%, 100% {
1986
- transform: scale(0);
1987
- }
1988
- 40% {
1989
- transform: scale(1);
1990
- }
1991
- }.dvr-controls[data-dvr-controls] {
1992
- display: inline-block;
1993
- float: left;
1994
- color: #fff;
1995
- line-height: 32px;
1996
- font-size: 10px;
1997
- font-weight: bold;
1998
- margin-left: 6px;
1999
- }
2000
- .dvr-controls[data-dvr-controls] .live-info {
2001
- cursor: default;
2002
- font-family: "Roboto", "Open Sans", Arial, sans-serif;
2003
- text-transform: uppercase;
2004
- }
2005
- .dvr-controls[data-dvr-controls] .live-info:before {
2006
- content: "";
2007
- display: inline-block;
2008
- position: relative;
2009
- width: 7px;
2010
- height: 7px;
2011
- border-radius: 3.5px;
2012
- margin-right: 3.5px;
2013
- background-color: #ff0101;
2014
- }
2015
- .dvr-controls[data-dvr-controls] .live-info.disabled {
2016
- opacity: 0.3;
2017
- }
2018
- .dvr-controls[data-dvr-controls] .live-info.disabled:before {
2019
- background-color: #fff;
2020
- }
2021
- .dvr-controls[data-dvr-controls] .live-button {
2022
- cursor: pointer;
2023
- outline: none;
2024
- display: none;
2025
- border: 0;
2026
- color: #fff;
2027
- background-color: transparent;
2028
- height: 32px;
2029
- padding: 0;
2030
- opacity: 0.7;
2031
- font-family: "Roboto", "Open Sans", Arial, sans-serif;
2032
- text-transform: uppercase;
2033
- transition: all 0.1s ease;
2034
- }
2035
- .dvr-controls[data-dvr-controls] .live-button:before {
2036
- content: "";
2037
- display: inline-block;
2038
- position: relative;
2039
- width: 7px;
2040
- height: 7px;
2041
- border-radius: 3.5px;
2042
- margin-right: 3.5px;
2043
- background-color: #fff;
2044
- }
2045
- .dvr-controls[data-dvr-controls] .live-button:hover {
2046
- opacity: 1;
2047
- text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
2048
- }
2049
-
2050
- .dvr-controls[data-dvr-controls] {
2051
- height: 40px;
2052
- line-height: 40px;
2053
- margin-left: 0;
2104
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] {
2105
+ height: 26px;
2106
+ line-height: 26px;
2107
+ bottom: 52px;
2108
+ border-radius: 3px;
2109
+ background-color: rgba(74, 74, 74, 0.7);
2054
2110
  }
2055
- .dvr-controls[data-dvr-controls] .live-info {
2056
- font-size: 14px;
2111
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span {
2057
2112
  letter-spacing: 0.8px;
2058
- font-weight: 500;
2059
- color: #fffffe;
2060
- margin-left: 21px;
2061
- }
2062
- .dvr-controls[data-dvr-controls] .live-info::before {
2063
- width: 10px;
2064
- height: 10px;
2065
- border-radius: 50%;
2066
- margin-right: 8px;
2067
- background-color: #ed4f4a;
2068
- }
2069
- .dvr-controls[data-dvr-controls] .live-button {
2070
- height: 40px;
2071
- opacity: 1;
2072
2113
  font-size: 14px;
2073
- letter-spacing: 0.8px;
2074
- font-weight: 500;
2075
- margin-left: 20px;
2076
- }
2077
- .dvr-controls[data-dvr-controls] .live-button::before {
2078
- width: 10px;
2079
- height: 10px;
2080
- border-radius: 50%;
2081
- margin-right: 8px;
2082
- background-color: #cacaca;
2083
- }
2084
-
2085
- .dvr .dvr-controls[data-dvr-controls] .live-info {
2086
- display: none;
2087
- }
2088
- .dvr .dvr-controls[data-dvr-controls] .live-button {
2089
- display: block;
2090
- }
2091
- .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] {
2092
- background-color: #005aff;
2093
- }
2094
-
2095
- .media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {
2096
- background-color: #ff0101;
2097
- }.player-poster[data-poster] {
2098
- display: flex;
2099
- justify-content: center;
2100
- align-items: center;
2101
- position: absolute;
2102
- height: 100%;
2103
- width: 100%;
2104
- z-index: 998;
2105
- top: 0;
2106
- left: 0;
2107
- background-color: #000;
2108
- background-size: cover;
2109
- background-repeat: no-repeat;
2110
- background-position: 50% 50%;
2111
- }
2112
- .player-poster[data-poster].clickable {
2113
- cursor: pointer;
2114
- }
2115
- .player-poster[data-poster]:hover .play-wrapper[data-poster] {
2116
- opacity: 1;
2117
- }
2118
- .player-poster[data-poster] .play-wrapper[data-poster] {
2119
- width: 100%;
2120
- height: 25%;
2121
- margin: 0 auto;
2122
- opacity: 0.75;
2123
- transition: opacity 0.1s ease;
2114
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
2124
2115
  }
2125
- .player-poster[data-poster] .play-wrapper[data-poster] svg {
2126
- height: 100%;
2127
- display: inline;
2116
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-seek-time] {
2117
+ padding-left: 8px;
2118
+ padding-right: 8px;
2128
2119
  }
2129
- .player-poster[data-poster] .play-wrapper[data-poster] svg path {
2130
- fill: #fff;
2120
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
2121
+ display: none !important;
2131
2122
  }.seek-time[data-seek-time] {
2132
2123
  position: absolute;
2133
2124
  white-space: nowrap;
@@ -2161,4 +2152,13 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
2161
2152
  .seek-time[data-seek-time] [data-duration]::before {
2162
2153
  content: "|";
2163
2154
  margin-right: 7px;
2155
+ }.player-logo[data-logo] {
2156
+ position: absolute;
2157
+ z-index: 2;
2158
+ width: 100%;
2159
+ height: 100%;
2160
+ }
2161
+
2162
+ .clappr-logo {
2163
+ position: absolute;
2164
2164
  }