@gcorevideo/player 2.25.7 → 2.25.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/assets/bottom-gear/gear-sub-menu.scss +4 -9
  2. package/assets/media-control/container.scss +0 -13
  3. package/assets/media-control/media-control.scss +14 -12
  4. package/assets/media-control/width270.scss +3 -0
  5. package/assets/media-control/width370.scss +4 -0
  6. package/assets/multi-camera/style.scss +0 -5
  7. package/assets/subtitles/combobox.ejs +27 -6
  8. package/assets/subtitles/string.ejs +1 -1
  9. package/assets/subtitles/style.scss +16 -69
  10. package/dist/core.js +1 -1
  11. package/dist/index.css +642 -696
  12. package/dist/index.embed.js +136 -98
  13. package/dist/index.js +77 -42
  14. package/lib/plugins/bottom-gear/BottomGear.d.ts +1 -1
  15. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  16. package/lib/plugins/bottom-gear/BottomGear.js +3 -4
  17. package/lib/plugins/media-control/MediaControl.d.ts +4 -0
  18. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  19. package/lib/plugins/media-control/MediaControl.js +7 -0
  20. package/lib/plugins/subtitles/ClosedCaptions.d.ts +7 -4
  21. package/lib/plugins/subtitles/ClosedCaptions.d.ts.map +1 -1
  22. package/lib/plugins/subtitles/ClosedCaptions.js +64 -34
  23. package/lib/testUtils.d.ts.map +1 -1
  24. package/lib/testUtils.js +2 -0
  25. package/package.json +1 -1
  26. package/src/plugins/bottom-gear/BottomGear.ts +3 -4
  27. package/src/plugins/bottom-gear/__tests__/BottomGear.test.ts +1 -1
  28. package/src/plugins/media-control/MediaControl.ts +10 -0
  29. package/src/plugins/subtitles/ClosedCaptions.ts +66 -35
  30. package/src/plugins/subtitles/__tests__/ClosedCaptions.test.ts +220 -35
  31. package/src/plugins/subtitles/__tests__/__snapshots__/ClosedCaptions.test.ts.snap +8 -19
  32. package/src/testUtils.ts +2 -0
  33. package/tsconfig.tsbuildinfo +1 -1
package/dist/index.css CHANGED
@@ -122,133 +122,6 @@
122
122
  .gplayer-lite-btn::-moz-focus-inner {
123
123
  border: 0;
124
124
  padding: 0;
125
- }.context-menu {
126
- z-index: 999;
127
- position: absolute;
128
- top: 0;
129
- left: 0;
130
- text-align: center;
131
- }
132
- .context-menu .context-menu-list {
133
- font-family: "Proxima Nova", sans-serif;
134
- font-size: 12px;
135
- line-height: 12px;
136
- list-style-type: none;
137
- text-align: left;
138
- padding: 5px;
139
- margin-left: auto;
140
- margin-right: auto;
141
- background-color: rgba(0, 0, 0, 0.75);
142
- border: 1px solid #666;
143
- border-radius: 4px;
144
- }
145
- .context-menu .context-menu-list-item button {
146
- border: none;
147
- background-color: transparent;
148
- padding: 0;
149
- color: white;
150
- display: flex;
151
- gap: 8px;
152
- align-items: center;
153
- justify-content: center;
154
- cursor: pointer;
155
- padding: 5px;
156
- width: 100%;
157
- }
158
- .context-menu .context-menu-list-item_icon {
159
- width: 20px;
160
- height: 20px;
161
- }.dvr-controls {
162
- --disabled-opacity: 0.3;
163
- --circle-radius: 5px;
164
- display: flex;
165
- align-items: center;
166
- color: var(--player-dvr-color);
167
- font-size: 10px;
168
- font-weight: 500;
169
- height: var(--bottom-panel);
170
- line-height: var(--bottom-panel);
171
- margin-left: 0;
172
- }
173
- .dvr-controls .live-info,
174
- .dvr-controls .live-button {
175
- font-size: 14px;
176
- font-weight: 500;
177
- margin-left: 20px;
178
- letter-spacing: 0.8px;
179
- text-transform: uppercase;
180
- }
181
- .dvr-controls .live-info::before,
182
- .dvr-controls .live-button::before {
183
- margin-right: 8px;
184
- content: "";
185
- display: inline-block;
186
- position: relative;
187
- width: calc(var(--circle-radius) * 2);
188
- height: calc(var(--circle-radius) * 2);
189
- border-radius: var(--circle-radius);
190
- background-color: var(--player-dvr-color);
191
- }
192
- .dvr-controls.disabled {
193
- opacity: var(--disabled-opacity);
194
- }
195
- .dvr-controls.disabled:before {
196
- background-color: var(--player-dvr-color);
197
- }
198
- .dvr-controls .live-info {
199
- text-transform: uppercase;
200
- color: #fffffe;
201
- }
202
- .dvr-controls .live-info::before {
203
- background-color: #ed4f4a;
204
- }
205
- .dvr-controls .live-button {
206
- cursor: pointer;
207
- outline: none;
208
- border: 0;
209
- color: var(--player-dvr-color);
210
- background-color: transparent;
211
- padding: 0;
212
- opacity: 0.7;
213
- transition: all 0.1s ease;
214
- }
215
- .dvr-controls .live-button:hover {
216
- opacity: 1;
217
- text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
218
- }div.player-error-screen, [data-player] div.player-error-screen {
219
- color: #CCCACA;
220
- position: absolute;
221
- top: 0;
222
- height: 100%;
223
- width: 100%;
224
- background-color: rgba(0, 0, 0, 0.7);
225
- z-index: 2000;
226
- display: flex;
227
- flex-direction: column;
228
- justify-content: center;
229
- }
230
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
231
- font-size: 14px;
232
- color: #CCCACA;
233
- margin-top: 45px;
234
- }
235
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
236
- font-weight: bold;
237
- line-height: 30px;
238
- font-size: 18px;
239
- }
240
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
241
- width: 90%;
242
- margin: 0 auto;
243
- }
244
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
245
- font-size: 13px;
246
- margin-top: 15px;
247
- }
248
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
249
- cursor: pointer;
250
- width: 30px;
251
- margin: 15px auto 0;
252
125
  }.big-mute-icon-wrapper[data-big-mute] {
253
126
  position: absolute;
254
127
  z-index: 9998;
@@ -662,88 +535,266 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
662
535
  .fullscreen .clappr-nerd-stats .stats-box {
663
536
  top: unset;
664
537
  }
665
- }.seek-time {
666
- position: absolute;
667
- white-space: nowrap;
668
- height: 20px;
669
- line-height: 20px;
670
- font-size: 0;
671
- left: -100%;
672
- bottom: 55px;
673
- background-color: rgba(2, 2, 2, 0.5);
674
- z-index: 9999;
675
- transition: opacity 0.1s ease;
538
+ }.dvr-controls {
539
+ --disabled-opacity: 0.3;
540
+ --circle-radius: 5px;
541
+ display: flex;
542
+ align-items: center;
543
+ color: var(--player-dvr-color);
544
+ font-size: 10px;
545
+ font-weight: 500;
546
+ height: var(--bottom-panel);
547
+ line-height: var(--bottom-panel);
548
+ margin-left: 0;
676
549
  }
677
- .seek-time.hidden {
678
- opacity: 0;
550
+ .dvr-controls .live-info,
551
+ .dvr-controls .live-button {
552
+ font-size: 14px;
553
+ font-weight: 500;
554
+ margin-left: 20px;
555
+ letter-spacing: 0.8px;
556
+ text-transform: uppercase;
679
557
  }
680
- .seek-time .seek-time__pos {
558
+ .dvr-controls .live-info::before,
559
+ .dvr-controls .live-button::before {
560
+ margin-right: 8px;
561
+ content: "";
681
562
  display: inline-block;
682
- color: white;
683
- font-size: 10px;
684
- padding-left: 7px;
685
- padding-right: 7px;
686
- vertical-align: top;
563
+ position: relative;
564
+ width: calc(var(--circle-radius) * 2);
565
+ height: calc(var(--circle-radius) * 2);
566
+ border-radius: var(--circle-radius);
567
+ background-color: var(--player-dvr-color);
687
568
  }
688
- .seek-time .seek-time__duration {
689
- display: inline-block;
690
- color: rgba(255, 255, 255, 0.5);
691
- font-size: 10px;
692
- padding-right: 7px;
693
- vertical-align: top;
569
+ .dvr-controls.disabled {
570
+ opacity: var(--disabled-opacity);
694
571
  }
695
- .seek-time .seek-time__duration::before {
696
- content: "|";
697
- margin-right: 7px;
698
- }*, :focus, :visited {
572
+ .dvr-controls.disabled:before {
573
+ background-color: var(--player-dvr-color);
574
+ }
575
+ .dvr-controls .live-info {
576
+ text-transform: uppercase;
577
+ color: #fffffe;
578
+ }
579
+ .dvr-controls .live-info::before {
580
+ background-color: #ed4f4a;
581
+ }
582
+ .dvr-controls .live-button {
583
+ cursor: pointer;
584
+ outline: none;
585
+ border: 0;
586
+ color: var(--player-dvr-color);
587
+ background-color: transparent;
588
+ padding: 0;
589
+ opacity: 0.7;
590
+ transition: all 0.1s ease;
591
+ }
592
+ .dvr-controls .live-button:hover {
593
+ opacity: 1;
594
+ text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
595
+ }*,
596
+ :focus,
597
+ :visited {
699
598
  outline: none !important;
700
599
  }
701
600
 
702
- .gear-wrapper .go-back {
703
- font-weight: 600;
704
- font-size: 14px;
705
- line-height: 20px;
706
- width: 100%;
707
- text-align: left;
708
- padding: 12px;
601
+ .multicamera[data-multicamera] {
602
+ float: right;
603
+ margin-top: 4px;
604
+ position: relative;
605
+ margin-right: 20px;
606
+ width: 20px;
709
607
  }
710
- .gear-wrapper .go-back .arrow-left-icon {
711
- float: left;
712
- padding-top: 2px;
713
- padding-right: 2px;
608
+ .multicamera[data-multicamera] button {
609
+ background-color: transparent;
610
+ color: #fff;
611
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
612
+ -webkit-font-smoothing: antialiased;
613
+ border: none;
614
+ font-size: 14px;
615
+ padding: 0;
714
616
  }
715
- .gear-wrapper .go-back .arrow-left-icon svg {
716
- height: 16px;
617
+ .multicamera[data-multicamera] button svg {
618
+ height: 20px;
619
+ position: relative;
620
+ margin-top: 6px;
717
621
  }
718
- .gear-wrapper ul.gear-sub-menu {
719
- width: 100%;
720
- list-style-type: none;
721
- min-width: 60px;
722
- border-top: 2px solid rgb(36, 36, 36);
723
- overflow-y: auto;
622
+ .multicamera[data-multicamera] button:hover {
623
+ color: #c9c9c9;
724
624
  }
725
- .gear-wrapper ul.gear-sub-menu li {
726
- font-size: 12px;
727
- text-align: left;
625
+ .multicamera[data-multicamera] button.changing {
626
+ animation: pulse 0.5s infinite alternate;
728
627
  }
729
- .gear-wrapper ul.gear-sub-menu li[data-title] {
730
- background-color: #c3c2c2;
731
- padding: 5px;
628
+ .multicamera[data-multicamera] button span.quality-arrow {
629
+ width: 9px;
630
+ height: 6px;
631
+ margin-top: 11px;
632
+ margin-left: 5px;
633
+ }
634
+ .multicamera[data-multicamera] > ul {
635
+ padding: 6px 0;
636
+ right: -24px;
637
+ width: 245px;
638
+ list-style-type: none;
639
+ position: absolute;
640
+ bottom: 48px;
641
+ border-radius: 4px;
642
+ display: none;
643
+ background-color: rgba(74, 74, 74, 0.9);
644
+ }
645
+ .multicamera[data-multicamera] > ul::after {
646
+ content: "";
647
+ position: absolute;
648
+ top: 100%;
649
+ left: 85%;
650
+ margin-left: -10px;
651
+ width: 0;
652
+ height: 0;
653
+ border-top: 10px solid rgba(74, 74, 74, 0.9);
654
+ border-right: 10px solid transparent;
655
+ border-left: 10px solid transparent;
656
+ }
657
+ .multicamera[data-multicamera] li {
658
+ font-size: 10px;
659
+ cursor: pointer;
660
+ }
661
+ .multicamera[data-multicamera] li .multicamera-item {
662
+ display: flex;
663
+ padding: 10px 0;
664
+ justify-content: center;
665
+ position: relative;
666
+ }
667
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] {
668
+ pointer-events: none;
669
+ }
670
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-screenshot {
671
+ opacity: 0.5;
672
+ }
673
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-text {
674
+ opacity: 0.5;
675
+ }
676
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false]:hover {
677
+ background-color: rgba(0, 0, 0, 0);
678
+ }
679
+ .multicamera[data-multicamera] li .multicamera-item:hover, .multicamera[data-multicamera] li .multicamera-item.multicamera-active {
680
+ background-color: rgba(0, 0, 0, 0.3);
681
+ }
682
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot {
683
+ width: 80px;
684
+ height: 60px;
685
+ }
686
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot img {
687
+ width: 80px;
688
+ height: 60px;
689
+ }
690
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text {
691
+ width: 120px;
692
+ text-align: left;
693
+ margin-left: 15px;
694
+ }
695
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-title,
696
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
697
+ width: 120px;
698
+ height: 20px;
699
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
700
+ font-size: 14px;
701
+ font-weight: normal;
702
+ font-style: normal;
703
+ font-stretch: normal;
704
+ line-height: 1.43;
705
+ letter-spacing: normal;
706
+ text-align: left;
707
+ color: #fff;
708
+ text-overflow: ellipsis;
709
+ overflow: hidden;
710
+ }
711
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
712
+ opacity: 0.6;
713
+ }
714
+ .multicamera[data-multicamera] li a {
715
+ color: #444;
716
+ padding: 2px 10px;
717
+ display: block;
718
+ text-decoration: none;
719
+ }
720
+ .multicamera[data-multicamera] li a:hover {
721
+ background-color: #555;
722
+ color: white;
723
+ }
724
+ .multicamera[data-multicamera] li a:hover a {
725
+ color: white;
726
+ text-decoration: none;
727
+ }
728
+ .multicamera[data-multicamera] li.current a {
729
+ color: #f00;
730
+ }@charset "UTF-8";
731
+ .gplayer-mc-clips {
732
+ display: flex;
733
+ gap: 6px;
734
+ }
735
+ .gplayer-mc-clips .gplayer-mc-clips-text {
736
+ text-overflow: ellipsis;
737
+ white-space: nowrap;
738
+ overflow: hidden;
739
+ display: inline-block;
740
+ text-overflow: ellipsis;
741
+ color: white;
742
+ cursor: default;
743
+ line-height: var(--bottom-panel);
744
+ position: relative;
745
+ max-width: 150px;
746
+ }
747
+ .gplayer-mc-clips .gplayer-mc-clips-text::before {
748
+ content: "•";
749
+ padding-right: 6px;
750
+ }
751
+ .gplayer-mc-clips .gplayer-mc-clips-text.compact {
752
+ max-width: 100px;
753
+ }*, :focus, :visited {
754
+ outline: none !important;
755
+ }
756
+
757
+ .gear-wrapper .go-back {
758
+ font-weight: 600;
759
+ font-size: 14px;
760
+ line-height: 20px;
761
+ width: 100%;
762
+ text-align: left;
763
+ padding: 12px;
764
+ }
765
+ .gear-wrapper .go-back .arrow-left-icon {
766
+ float: left;
767
+ padding-top: 2px;
768
+ padding-right: 2px;
769
+ }
770
+ .gear-wrapper .go-back .arrow-left-icon svg {
771
+ height: 16px;
772
+ }
773
+ .gear-wrapper ul.gear-sub-menu {
774
+ width: 100%;
775
+ list-style-type: none;
776
+ min-width: 60px;
777
+ border-top: 2px solid rgb(36, 36, 36);
778
+ overflow-y: auto;
779
+ }
780
+ .gear-wrapper ul.gear-sub-menu li {
781
+ font-size: 12px;
782
+ text-align: left;
732
783
  }
733
784
  .gear-wrapper ul.gear-sub-menu li a {
734
785
  display: block;
735
786
  text-decoration: none;
736
- height: 32px;
787
+ height: 30px;
737
788
  padding: 5px 10px;
738
789
  line-height: 22px;
739
- color: #fffffe;
790
+ color: var(--gplayer-mc-text-dim-color);
740
791
  }
741
792
  .gear-wrapper ul.gear-sub-menu li a:hover {
742
- color: white;
793
+ color: var(--gplayer-mc-text-color);
743
794
  background-color: rgba(0, 0, 0, 0.4);
744
795
  }
745
796
  .gear-wrapper ul.gear-sub-menu li a:hover a {
746
- color: white;
797
+ color: var(--gplayer-mc-text-color);
747
798
  text-decoration: none;
748
799
  }
749
800
  .gear-wrapper ul.gear-sub-menu li a .check-icon {
@@ -757,6 +808,42 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
757
808
  }
758
809
  .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
759
810
  display: inline;
811
+ }.context-menu {
812
+ z-index: 999;
813
+ position: absolute;
814
+ top: 0;
815
+ left: 0;
816
+ text-align: center;
817
+ }
818
+ .context-menu .context-menu-list {
819
+ font-family: "Proxima Nova", sans-serif;
820
+ font-size: 12px;
821
+ line-height: 12px;
822
+ list-style-type: none;
823
+ text-align: left;
824
+ padding: 5px;
825
+ margin-left: auto;
826
+ margin-right: auto;
827
+ background-color: rgba(0, 0, 0, 0.75);
828
+ border: 1px solid #666;
829
+ border-radius: 4px;
830
+ }
831
+ .context-menu .context-menu-list-item button {
832
+ border: none;
833
+ background-color: transparent;
834
+ padding: 0;
835
+ color: white;
836
+ display: flex;
837
+ gap: 8px;
838
+ align-items: center;
839
+ justify-content: center;
840
+ cursor: pointer;
841
+ padding: 5px;
842
+ width: 100%;
843
+ }
844
+ .context-menu .context-menu-list-item_icon {
845
+ width: 20px;
846
+ height: 20px;
760
847
  }.media-control-skin-1 .media-control-item.media-control-gear {
761
848
  order: 99;
762
849
  }
@@ -802,31 +889,185 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
802
889
  }
803
890
  .media-control-skin-1 .media-control-item.media-control-gear .gear-option_value {
804
891
  flex: 1 0 auto;
805
- }[data-player] {
806
- --bottom-panel: 40px;
892
+ }.share_plugin[data-share] {
893
+ pointer-events: auto;
894
+ z-index: 5;
895
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
807
896
  }
808
-
809
- .container .media-control-notransition {
810
- transition: none !important;
897
+ .share_plugin[data-share].share-hide .share-button-container {
898
+ right: -50px;
811
899
  }
812
- .container .player-poster .play-wrapper {
813
- opacity: 1;
900
+ .share_plugin[data-share] .share-button-container {
901
+ cursor: pointer;
902
+ width: 36px;
903
+ height: 36px;
904
+ background-color: rgba(74, 74, 74, 0.6);
905
+ border-radius: 4px;
906
+ position: absolute;
907
+ right: 10px;
908
+ top: 10px;
909
+ padding-top: 6px;
910
+ transition: all 0.3s ease-out;
814
911
  }
815
- .container.crop-video [data-html5-video] {
816
- object-fit: cover;
912
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
913
+ background-color: transparent;
914
+ border: 0;
915
+ margin: 0 6px;
916
+ padding: 0;
917
+ cursor: pointer;
918
+ display: inline-block;
919
+ width: 19px;
920
+ height: 20px;
817
921
  }
818
- .container .cc-line {
922
+ .share_plugin[data-share] .share-container {
923
+ pointer-events: auto;
819
924
  position: absolute;
820
- bottom: calc(var(--bottom-panel) + 5px);
821
- width: 100%;
925
+ width: 280px;
926
+ background-color: white;
927
+ transform: translate(0, 50%);
928
+ transform: translate(-50%, -50%);
929
+ left: 50%;
930
+ /* margin-left: -140px; */
931
+ top: calc(50% - 20px);
932
+ /* margin-top: -170px; */
822
933
  }
823
- .container .cc-line p {
824
- width: auto;
825
- background-color: rgba(0, 0, 0, 0.4);
826
- color: white;
934
+ .share_plugin[data-share] .share-container .share-container-header {
935
+ text-align: left;
936
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
937
+ }
938
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
827
939
  display: inline-block;
940
+ font-size: 16px;
941
+ margin: 5px;
828
942
  }
829
- .container .player-poster .circle-poster {
943
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
944
+ display: inline-block;
945
+ width: 24px;
946
+ float: right;
947
+ margin: 5px;
948
+ cursor: pointer;
949
+ }
950
+ .share_plugin[data-share] .share-container .share-container-main {
951
+ margin-bottom: 8px;
952
+ }
953
+ .share_plugin[data-share] .share-container .share-container-main > div {
954
+ text-align: left;
955
+ font-size: 14px;
956
+ padding: 5px;
957
+ }
958
+ .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 {
959
+ overflow: hidden;
960
+ text-overflow: ellipsis;
961
+ color: #818181;
962
+ border: solid 1px #d3d3d3;
963
+ width: calc(100% - 10px);
964
+ padding: 5px;
965
+ }
966
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
967
+ max-height: 90px;
968
+ resize: none;
969
+ }
970
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
971
+ width: 32px;
972
+ display: inline-block;
973
+ margin-right: 5px;
974
+ cursor: pointer;
975
+ }.quality-levels li.disabled {
976
+ opacity: 0.5;
977
+ pointer-events: none;
978
+ }
979
+ .quality-levels li.current {
980
+ background-color: #000;
981
+ }div.player-error-screen, [data-player] div.player-error-screen {
982
+ color: #CCCACA;
983
+ position: absolute;
984
+ top: 0;
985
+ height: 100%;
986
+ width: 100%;
987
+ background-color: rgba(0, 0, 0, 0.7);
988
+ z-index: 2000;
989
+ display: flex;
990
+ flex-direction: column;
991
+ justify-content: center;
992
+ }
993
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
994
+ font-size: 14px;
995
+ color: #CCCACA;
996
+ margin-top: 45px;
997
+ }
998
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
999
+ font-weight: bold;
1000
+ line-height: 30px;
1001
+ font-size: 18px;
1002
+ }
1003
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
1004
+ width: 90%;
1005
+ margin: 0 auto;
1006
+ }
1007
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
1008
+ font-size: 13px;
1009
+ margin-top: 15px;
1010
+ }
1011
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1012
+ cursor: pointer;
1013
+ width: 30px;
1014
+ margin: 15px auto 0;
1015
+ }.media-control-skin-1 .media-control-item.media-control-pip {
1016
+ order: 95;
1017
+ }
1018
+ .media-control-skin-1 .media-control-item.media-control-pip button {
1019
+ height: 20px;
1020
+ }
1021
+ .media-control-skin-1 .media-control-item.media-control-pip button svg {
1022
+ height: 20px;
1023
+ }.player-poster {
1024
+ display: flex;
1025
+ justify-content: center;
1026
+ align-items: center;
1027
+ position: absolute;
1028
+ height: 100%;
1029
+ width: 100%;
1030
+ z-index: 998;
1031
+ top: 0;
1032
+ left: 0;
1033
+ background-color: #000;
1034
+ background-size: cover;
1035
+ background-repeat: no-repeat;
1036
+ background-position: 50% 50%;
1037
+ }
1038
+ .player-poster.clickable {
1039
+ cursor: pointer;
1040
+ }
1041
+ .player-poster:hover .play-wrapper {
1042
+ opacity: 1;
1043
+ }
1044
+ .player-poster .play-wrapper {
1045
+ width: 100%;
1046
+ height: 25%;
1047
+ margin: 0 auto;
1048
+ opacity: 0.75;
1049
+ transition: opacity 0.1s ease;
1050
+ }
1051
+ .player-poster .play-wrapper svg {
1052
+ height: 100%;
1053
+ display: inline;
1054
+ }
1055
+ .player-poster .play-wrapper svg path {
1056
+ fill: #fff;
1057
+ }[data-player] {
1058
+ --bottom-panel: 40px;
1059
+ }
1060
+
1061
+ .container .media-control-notransition {
1062
+ transition: none !important;
1063
+ }
1064
+ .container .player-poster .play-wrapper {
1065
+ opacity: 1;
1066
+ }
1067
+ .container.crop-video [data-html5-video] {
1068
+ object-fit: cover;
1069
+ }
1070
+ .container .player-poster .circle-poster {
830
1071
  top: 50%;
831
1072
  margin-top: -60px;
832
1073
  left: 50%;
@@ -879,6 +1120,9 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
879
1120
  margin-left: 11px;
880
1121
  top: 1px;
881
1122
  }
1123
+ .media-control-skin-1.w270 .media-control-dd__popup {
1124
+ max-width: 114px;
1125
+ }
882
1126
 
883
1127
  .media-control-skin-1.w370 .media-control-cc {
884
1128
  width: 28px;
@@ -988,6 +1232,9 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
988
1232
  .media-control-skin-1.w370 .media-control-layer[data-controls] .media-control-item {
989
1233
  height: 32px;
990
1234
  }
1235
+ .media-control-skin-1.w370 .media-control-dd__popup {
1236
+ max-width: 150px;
1237
+ }
991
1238
 
992
1239
  :root {
993
1240
  --font-size-media-controls: 14px;
@@ -999,6 +1246,7 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
999
1246
  --player-seekbar-current-color: #ff5700;
1000
1247
  --player-seekbar-buffer-color: #fff;
1001
1248
  --gplayer-mc-text-color: #fff;
1249
+ --gplayer-mc-text-dim-color: #fffffe;
1002
1250
  --gplayer-mc-popup-border-color: rgb(255 255 255 / 10%);
1003
1251
  --gplayer-mc-popup-bg: rgb(74 74 74 / 60%);
1004
1252
  }
@@ -1349,529 +1597,121 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1349
1597
  align-items: baseline;
1350
1598
  gap: 4px;
1351
1599
  vertical-align: baseline;
1352
- padding: 0;
1353
- background-color: transparent;
1354
- color: var(--gplayer-mc-text-color);
1355
- -webkit-font-smoothing: antialiased;
1356
- border: none;
1357
- cursor: pointer;
1358
- }
1359
- .media-control-skin-1 .media-control-dd__text {
1360
- text-overflow: ellipsis;
1361
- overflow: hidden;
1362
- white-space: nowrap;
1363
- max-width: 100px;
1364
- }
1365
- .media-control-skin-1 .media-control-dd.changing {
1366
- animation: pulse 0.5s infinite alternate;
1367
- }
1368
- .media-control-skin-1 .media-control-dd__arrow {
1369
- width: 9px;
1370
- height: 6px;
1371
- }
1372
- .media-control-skin-1 .media-control-dd__wrap {
1373
- position: relative;
1374
- }
1375
- .media-control-skin-1 .media-control-dd__popup {
1376
- max-width: 114px;
1377
- list-style-type: none;
1378
- position: absolute;
1379
- box-shadow: 0 0 1px 1px var(--gplayer-mc-popup-border-color);
1380
- border: none;
1381
- min-width: 60px;
1382
- border-radius: 4px;
1383
- bottom: 40px;
1384
- right: -2px;
1385
- overflow: hidden;
1386
- }
1387
- .media-control-skin-1 .media-control-dd__popup li {
1388
- font-size: var(--gplayer-mc-font-size-dropdown);
1389
- text-align: right;
1390
- height: 30px;
1391
- }
1392
- .media-control-skin-1 .media-control-dd__popup li[data-title] {
1393
- background-color: #c3c2c2;
1394
- padding: 5px;
1395
- }
1396
- .media-control-skin-1 .media-control-dd__popup li a {
1397
- display: block;
1398
- text-decoration: none;
1399
- text-overflow: ellipsis;
1400
- overflow: hidden;
1401
- white-space: nowrap;
1402
- height: 30px;
1403
- padding: 5px 10px;
1404
- line-height: 20px;
1405
- color: #fffffe;
1406
- }
1407
- .media-control-skin-1 .media-control-dd__popup li a:hover {
1408
- text-decoration: none;
1409
- background-color: rgba(0, 0, 0, 0.4);
1410
- color: white;
1411
- }
1412
- .media-control-skin-1 .media-control-dd__popup li.current a {
1413
- color: #f00;
1414
- }
1415
- .media-control-skin-1 .media-control-dd__popup li:first-child a {
1416
- border-bottom-left-radius: 4px;
1417
- border-bottom-right-radius: 4px;
1418
- }
1419
- .media-control-skin-1 .media-control-dd__popup li:last-child a {
1420
- border-top-left-radius: 4px;
1421
- border-top-right-radius: 4px;
1422
- }
1423
-
1424
- @keyframes pulse {
1425
- 0% {
1426
- color: #fff;
1427
- }
1428
- 50% {
1429
- color: #ff0101;
1430
- }
1431
- 100% {
1432
- color: #B80000;
1433
- }
1434
- }.quality-levels li.disabled {
1435
- opacity: 0.5;
1436
- pointer-events: none;
1437
- }
1438
- .quality-levels li.current {
1439
- background-color: #000;
1440
- }.media-control-skin-1 .media-control-item.media-control-pip {
1441
- order: 95;
1442
- }
1443
- .media-control-skin-1 .media-control-item.media-control-pip button {
1444
- height: 20px;
1445
- }
1446
- .media-control-skin-1 .media-control-item.media-control-pip button svg {
1447
- height: 20px;
1448
- }.spinner-three-bounce[data-spinner] {
1449
- position: absolute;
1450
- width: 70px;
1451
- text-align: center;
1452
- z-index: 999;
1453
- left: 0;
1454
- right: 0;
1455
- margin: 0 auto;
1456
- margin-left: auto;
1457
- margin-right: auto;
1458
- /* center vertically */
1459
- top: 50%;
1460
- transform: translateY(-50%);
1461
- }
1462
- .spinner-three-bounce[data-spinner] > div {
1463
- width: 18px;
1464
- height: 18px;
1465
- background-color: #FFF;
1466
- border-radius: 100%;
1467
- display: inline-block;
1468
- animation: bouncedelay 1.4s infinite ease-in-out;
1469
- /* Prevent first frame from flickering when animation starts */
1470
- animation-fill-mode: both;
1471
- }
1472
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1473
- animation-delay: -0.32s;
1474
- }
1475
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1476
- animation-delay: -0.16s;
1477
- }
1478
-
1479
- @keyframes bouncedelay {
1480
- 0%, 80%, 100% {
1481
- transform: scale(0);
1482
- }
1483
- 40% {
1484
- transform: scale(1);
1485
- }
1486
- }.container-with-poster-clickable .mc-skip-time {
1487
- height: 0;
1488
- }
1489
-
1490
- .mc-skip-time {
1491
- position: absolute;
1492
- width: 100%;
1493
- height: calc(100% - 50px);
1494
- z-index: 9998;
1495
- background-color: transparent;
1496
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1497
- }
1498
- .mc-skip-time .skip-container {
1499
- width: 100%;
1500
- height: 100%;
1501
- display: flex;
1502
- justify-content: space-between;
1503
- }
1504
- .mc-skip-time .skip-container .skip-item {
1505
- flex: 1 0 0px;
1506
- height: 100%;
1507
- }.player-poster {
1508
- display: flex;
1509
- justify-content: center;
1510
- align-items: center;
1511
- position: absolute;
1512
- height: 100%;
1513
- width: 100%;
1514
- z-index: 998;
1515
- top: 0;
1516
- left: 0;
1517
- background-color: #000;
1518
- background-size: cover;
1519
- background-repeat: no-repeat;
1520
- background-position: 50% 50%;
1521
- }
1522
- .player-poster.clickable {
1523
- cursor: pointer;
1524
- }
1525
- .player-poster:hover .play-wrapper {
1526
- opacity: 1;
1527
- }
1528
- .player-poster .play-wrapper {
1529
- width: 100%;
1530
- height: 25%;
1531
- margin: 0 auto;
1532
- opacity: 0.75;
1533
- transition: opacity 0.1s ease;
1534
- }
1535
- .player-poster .play-wrapper svg {
1536
- height: 100%;
1537
- display: inline;
1538
- }
1539
- .player-poster .play-wrapper svg path {
1540
- fill: #fff;
1541
- }@charset "UTF-8";
1542
- .gplayer-mc-clips {
1543
- display: flex;
1544
- gap: 6px;
1545
- }
1546
- .gplayer-mc-clips .gplayer-mc-clips-text {
1547
- text-overflow: ellipsis;
1548
- white-space: nowrap;
1549
- overflow: hidden;
1550
- display: inline-block;
1551
- text-overflow: ellipsis;
1552
- color: white;
1553
- cursor: default;
1554
- line-height: var(--bottom-panel);
1555
- position: relative;
1556
- max-width: 150px;
1557
- }
1558
- .gplayer-mc-clips .gplayer-mc-clips-text::before {
1559
- content: "•";
1560
- padding-right: 6px;
1561
- }
1562
- .gplayer-mc-clips .gplayer-mc-clips-text.compact {
1563
- max-width: 100px;
1564
- }.share_plugin[data-share] {
1565
- pointer-events: auto;
1566
- z-index: 5;
1567
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1568
- }
1569
- .share_plugin[data-share].share-hide .share-button-container {
1570
- right: -50px;
1571
- }
1572
- .share_plugin[data-share] .share-button-container {
1573
- cursor: pointer;
1574
- width: 36px;
1575
- height: 36px;
1576
- background-color: rgba(74, 74, 74, 0.6);
1577
- border-radius: 4px;
1578
- position: absolute;
1579
- right: 10px;
1580
- top: 10px;
1581
- padding-top: 6px;
1582
- transition: all 0.3s ease-out;
1583
- }
1584
- .share_plugin[data-share] .share-button-container button[data-share-button] {
1585
- background-color: transparent;
1586
- border: 0;
1587
- margin: 0 6px;
1588
- padding: 0;
1589
- cursor: pointer;
1590
- display: inline-block;
1591
- width: 19px;
1592
- height: 20px;
1593
- }
1594
- .share_plugin[data-share] .share-container {
1595
- pointer-events: auto;
1596
- position: absolute;
1597
- width: 280px;
1598
- background-color: white;
1599
- transform: translate(0, 50%);
1600
- transform: translate(-50%, -50%);
1601
- left: 50%;
1602
- /* margin-left: -140px; */
1603
- top: calc(50% - 20px);
1604
- /* margin-top: -170px; */
1605
- }
1606
- .share_plugin[data-share] .share-container .share-container-header {
1607
- text-align: left;
1608
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1609
- }
1610
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1611
- display: inline-block;
1612
- font-size: 16px;
1613
- margin: 5px;
1614
- }
1615
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1616
- display: inline-block;
1617
- width: 24px;
1618
- float: right;
1619
- margin: 5px;
1620
- cursor: pointer;
1621
- }
1622
- .share_plugin[data-share] .share-container .share-container-main {
1623
- margin-bottom: 8px;
1624
- }
1625
- .share_plugin[data-share] .share-container .share-container-main > div {
1626
- text-align: left;
1627
- font-size: 14px;
1628
- padding: 5px;
1629
- }
1630
- .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 {
1631
- overflow: hidden;
1632
- text-overflow: ellipsis;
1633
- color: #818181;
1634
- border: solid 1px #d3d3d3;
1635
- width: calc(100% - 10px);
1636
- padding: 5px;
1637
- }
1638
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1639
- max-height: 90px;
1640
- resize: none;
1641
- }
1642
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1643
- width: 32px;
1644
- display: inline-block;
1645
- margin-right: 5px;
1646
- cursor: pointer;
1647
- }*,
1648
- :focus,
1649
- :visited {
1650
- outline: none !important;
1651
- }
1652
-
1653
- .multicamera[data-multicamera] {
1654
- float: right;
1655
- margin-top: 4px;
1656
- position: relative;
1657
- margin-right: 20px;
1658
- width: 20px;
1659
- }
1660
- .multicamera[data-multicamera] button {
1661
- background-color: transparent;
1662
- color: #fff;
1663
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1664
- -webkit-font-smoothing: antialiased;
1665
- border: none;
1666
- font-size: 14px;
1667
- padding: 0;
1668
- }
1669
- .multicamera[data-multicamera] button svg {
1670
- height: 20px;
1671
- position: relative;
1672
- margin-top: 6px;
1673
- }
1674
- .multicamera[data-multicamera] button:hover {
1675
- color: #c9c9c9;
1676
- }
1677
- .multicamera[data-multicamera] button.changing {
1678
- animation: pulse 0.5s infinite alternate;
1679
- }
1680
- .multicamera[data-multicamera] button span.quality-arrow {
1681
- width: 9px;
1682
- height: 6px;
1683
- margin-top: 11px;
1684
- margin-left: 5px;
1685
- }
1686
- .multicamera[data-multicamera] > ul {
1687
- padding: 6px 0;
1688
- right: -24px;
1689
- width: 245px;
1690
- list-style-type: none;
1691
- position: absolute;
1692
- bottom: 48px;
1693
- border-radius: 4px;
1694
- display: none;
1695
- background-color: rgba(74, 74, 74, 0.9);
1696
- }
1697
- .multicamera[data-multicamera] > ul::after {
1698
- content: "";
1699
- position: absolute;
1700
- top: 100%;
1701
- left: 85%;
1702
- margin-left: -10px;
1703
- width: 0;
1704
- height: 0;
1705
- border-top: 10px solid rgba(74, 74, 74, 0.9);
1706
- border-right: 10px solid transparent;
1707
- border-left: 10px solid transparent;
1708
- }
1709
- .multicamera[data-multicamera] li {
1710
- font-size: 10px;
1711
- cursor: pointer;
1712
- }
1713
- .multicamera[data-multicamera] li .multicamera-item {
1714
- display: flex;
1715
- padding: 10px 0;
1716
- justify-content: center;
1717
- position: relative;
1718
- }
1719
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] {
1720
- pointer-events: none;
1721
- }
1722
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-screenshot {
1723
- opacity: 0.5;
1724
- }
1725
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-text {
1726
- opacity: 0.5;
1727
- }
1728
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false]:hover {
1729
- background-color: rgba(0, 0, 0, 0);
1730
- }
1731
- .multicamera[data-multicamera] li .multicamera-item:hover, .multicamera[data-multicamera] li .multicamera-item.multicamera-active {
1732
- background-color: rgba(0, 0, 0, 0.3);
1733
- }
1734
- .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot {
1735
- width: 80px;
1736
- height: 60px;
1737
- }
1738
- .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot img {
1739
- width: 80px;
1740
- height: 60px;
1741
- }
1742
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text {
1743
- width: 120px;
1744
- text-align: left;
1745
- margin-left: 15px;
1746
- }
1747
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-title,
1748
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
1749
- width: 120px;
1750
- height: 20px;
1751
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1752
- font-size: 14px;
1753
- font-weight: normal;
1754
- font-style: normal;
1755
- font-stretch: normal;
1756
- line-height: 1.43;
1757
- letter-spacing: normal;
1758
- text-align: left;
1759
- color: #fff;
1600
+ padding: 0;
1601
+ background-color: transparent;
1602
+ color: var(--gplayer-mc-text-color);
1603
+ -webkit-font-smoothing: antialiased;
1604
+ border: none;
1605
+ cursor: pointer;
1606
+ }
1607
+ .media-control-skin-1 .media-control-dd__text {
1760
1608
  text-overflow: ellipsis;
1761
1609
  overflow: hidden;
1610
+ white-space: nowrap;
1611
+ max-width: 100px;
1762
1612
  }
1763
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
1764
- opacity: 0.6;
1765
- }
1766
- .multicamera[data-multicamera] li[data-title] {
1767
- background-color: #c3c2c2;
1768
- padding: 5px;
1769
- }
1770
- .multicamera[data-multicamera] li a {
1771
- color: #444;
1772
- padding: 2px 10px;
1773
- display: block;
1774
- text-decoration: none;
1775
- }
1776
- .multicamera[data-multicamera] li a:hover {
1777
- background-color: #555;
1778
- color: white;
1613
+ .media-control-skin-1 .media-control-dd.changing {
1614
+ animation: pulse 0.5s infinite alternate;
1779
1615
  }
1780
- .multicamera[data-multicamera] li a:hover a {
1781
- color: white;
1782
- text-decoration: none;
1616
+ .media-control-skin-1 .media-control-dd svg {
1617
+ fill: var(--gplayer-mc-text-color);
1783
1618
  }
1784
- .multicamera[data-multicamera] li.current a {
1785
- color: #f00;
1786
- }.media-control-skin-1 .media-control-cc button.media-control-button {
1787
- display: flex;
1788
- justify-content: center;
1789
- padding: 0;
1790
- align-items: center;
1791
- vertical-align: top;
1619
+ .media-control-skin-1 .media-control-dd__arrow {
1620
+ width: 9px;
1621
+ height: 6px;
1792
1622
  }
1793
- .media-control-skin-1 .media-control-cc button.media-control-button:hover {
1794
- color: white;
1623
+ .media-control-skin-1 .media-control-dd__wrap {
1624
+ position: relative;
1795
1625
  }
1796
- .media-control-skin-1 .media-control-cc ul {
1797
- width: auto;
1626
+ .media-control-skin-1 .media-control-dd__popup {
1627
+ max-width: 200px;
1628
+ list-style-type: none;
1629
+ position: absolute;
1630
+ box-shadow: 0 0 1px 1px var(--gplayer-mc-popup-border-color);
1631
+ border: none;
1632
+ min-width: 60px;
1798
1633
  border-radius: 4px;
1799
- bottom: 52px;
1800
- margin-left: -28px;
1634
+ bottom: 40px;
1635
+ right: -2px;
1636
+ overflow-x: hidden;
1637
+ overflow-y: auto;
1638
+ padding: 5px 0;
1801
1639
  }
1802
- .media-control-skin-1 .media-control-cc ul li {
1803
- font-size: 16px;
1804
- text-align: center;
1805
- white-space: nowrap;
1640
+ .media-control-skin-1 .media-control-dd__popup li {
1641
+ font-size: var(--gplayer-mc-font-size-dropdown);
1642
+ text-align: right;
1806
1643
  height: 30px;
1807
1644
  }
1808
- .media-control-skin-1 .media-control-cc ul li a {
1809
- height: 30px;
1645
+ .media-control-skin-1 .media-control-dd__popup li a {
1646
+ display: block;
1647
+ text-decoration: none;
1648
+ text-overflow: ellipsis;
1649
+ overflow: hidden;
1650
+ white-space: nowrap;
1810
1651
  padding: 5px 10px;
1652
+ line-height: 20px;
1811
1653
  color: #fffffe;
1812
1654
  }
1813
- .media-control-skin-1 .media-control-cc ul li a:hover {
1655
+ .media-control-skin-1 .media-control-dd__popup li a:hover {
1656
+ text-decoration: none;
1814
1657
  background-color: rgba(0, 0, 0, 0.4);
1658
+ color: var(--gplayer-mc-text-color);
1815
1659
  }
1816
- .media-control-skin-1 .media-control-cc ul li.current a {
1817
- background-color: rgba(0, 0, 0, 0.4);
1660
+ .media-control-skin-1 .media-control-dd__popup li.current a {
1661
+ color: #f00;
1818
1662
  }
1819
- .media-control-skin-1 .media-control-cc ul li:first-child a {
1663
+ .media-control-skin-1 .media-control-dd__popup li:first-child a {
1820
1664
  border-bottom-left-radius: 4px;
1821
1665
  border-bottom-right-radius: 4px;
1822
1666
  }
1823
- .media-control-skin-1 .media-control-cc ul li:last-child a {
1667
+ .media-control-skin-1 .media-control-dd__popup li:last-child a {
1824
1668
  border-top-left-radius: 4px;
1825
1669
  border-top-right-radius: 4px;
1826
1670
  }
1827
- .media-control-skin-1 .media-control-cc {
1828
- position: relative;
1829
- order: 85;
1830
- }
1831
- .media-control-skin-1 .media-control-cc button {
1832
- background-color: transparent;
1833
- color: #fff;
1834
- -webkit-font-smoothing: antialiased;
1835
- border: none;
1836
- cursor: pointer;
1837
- }
1838
- .media-control-skin-1 .media-control-cc button .cc-text svg {
1839
- fill: white;
1840
- }
1841
- .media-control-skin-1 .media-control-cc button:hover {
1842
- color: #c9c9c9;
1843
- }
1844
- .media-control-skin-1 .media-control-cc button.changing {
1845
- animation: pulse 0.5s infinite alternate;
1846
- }
1847
- .media-control-skin-1 .media-control-cc ul {
1848
- width: 80px;
1849
- overflow: hidden;
1850
- list-style-type: none;
1671
+
1672
+ @keyframes pulse {
1673
+ 0% {
1674
+ color: #fff;
1675
+ }
1676
+ 50% {
1677
+ color: #ff0101;
1678
+ }
1679
+ 100% {
1680
+ color: #B80000;
1681
+ }
1682
+ }.seek-time {
1851
1683
  position: absolute;
1852
- bottom: 25px;
1853
- border: none;
1854
- background-color: #e6e6e6;
1855
- padding: 8px 0;
1856
- box-shadow: 0 0 1px 1px var(--gplayer-mc-popup-border-color);
1684
+ white-space: nowrap;
1685
+ height: 20px;
1686
+ line-height: 20px;
1687
+ font-size: 0;
1688
+ left: -100%;
1689
+ bottom: 55px;
1690
+ background-color: rgba(2, 2, 2, 0.5);
1691
+ z-index: 9999;
1692
+ transition: opacity 0.1s ease;
1857
1693
  }
1858
- .media-control-skin-1 .media-control-cc li a {
1859
- color: #444;
1860
- padding: 2px 10px;
1861
- display: block;
1862
- text-decoration: none;
1694
+ .seek-time.hidden {
1695
+ opacity: 0;
1863
1696
  }
1864
- .media-control-skin-1 .media-control-cc li a:hover {
1865
- background-color: #555;
1697
+ .seek-time .seek-time__pos {
1698
+ display: inline-block;
1866
1699
  color: white;
1700
+ font-size: 10px;
1701
+ padding-left: 7px;
1702
+ padding-right: 7px;
1703
+ vertical-align: top;
1867
1704
  }
1868
- .media-control-skin-1 .media-control-cc li a:hover a {
1869
- color: white;
1870
- text-decoration: none;
1705
+ .seek-time .seek-time__duration {
1706
+ display: inline-block;
1707
+ color: rgba(255, 255, 255, 0.5);
1708
+ font-size: 10px;
1709
+ padding-right: 7px;
1710
+ vertical-align: top;
1871
1711
  }
1872
- .media-control-skin-1 .media-control-cc li.current a {
1873
- color: #f00;
1874
- background-color: #555;
1712
+ .seek-time .seek-time__duration::before {
1713
+ content: "|";
1714
+ margin-right: 7px;
1875
1715
  }.scrub-thumbnails {
1876
1716
  position: absolute;
1877
1717
  bottom: 52px;
@@ -1935,6 +1775,44 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1935
1775
  }
1936
1776
  .scrub-thumbnails .backdrop .carousel img {
1937
1777
  width: auto;
1778
+ }.spinner-three-bounce[data-spinner] {
1779
+ position: absolute;
1780
+ width: 70px;
1781
+ text-align: center;
1782
+ z-index: 999;
1783
+ left: 0;
1784
+ right: 0;
1785
+ margin: 0 auto;
1786
+ margin-left: auto;
1787
+ margin-right: auto;
1788
+ /* center vertically */
1789
+ top: 50%;
1790
+ transform: translateY(-50%);
1791
+ }
1792
+ .spinner-three-bounce[data-spinner] > div {
1793
+ width: 18px;
1794
+ height: 18px;
1795
+ background-color: #FFF;
1796
+ border-radius: 100%;
1797
+ display: inline-block;
1798
+ animation: bouncedelay 1.4s infinite ease-in-out;
1799
+ /* Prevent first frame from flickering when animation starts */
1800
+ animation-fill-mode: both;
1801
+ }
1802
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1803
+ animation-delay: -0.32s;
1804
+ }
1805
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1806
+ animation-delay: -0.16s;
1807
+ }
1808
+
1809
+ @keyframes bouncedelay {
1810
+ 0%, 80%, 100% {
1811
+ transform: scale(0);
1812
+ }
1813
+ 40% {
1814
+ transform: scale(1);
1815
+ }
1938
1816
  }.player-logo[data-logo] {
1939
1817
  position: absolute;
1940
1818
  z-index: 2;
@@ -1944,4 +1822,72 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1944
1822
 
1945
1823
  .clappr-logo {
1946
1824
  position: absolute;
1825
+ }.media-control-skin-1 .media-control-cc button.media-control-button {
1826
+ display: flex;
1827
+ justify-content: center;
1828
+ padding: 0;
1829
+ align-items: center;
1830
+ vertical-align: top;
1831
+ }
1832
+ .media-control-skin-1 .media-control-cc button.media-control-button:hover {
1833
+ color: white;
1834
+ }
1835
+ .media-control-skin-1 .media-control-cc ul li {
1836
+ text-align: center;
1837
+ }
1838
+ .media-control-skin-1 .media-control-cc ul li a {
1839
+ height: 30px;
1840
+ padding: 5px 10px;
1841
+ color: #fffffe;
1842
+ }
1843
+ .media-control-skin-1 .media-control-cc ul li a:hover {
1844
+ background-color: rgba(0, 0, 0, 0.4);
1845
+ }
1846
+ .media-control-skin-1 .media-control-cc ul li.current a {
1847
+ background-color: rgba(0, 0, 0, 0.4);
1848
+ }
1849
+ .media-control-skin-1 .media-control-cc ul li:first-child a {
1850
+ border-bottom-left-radius: 4px;
1851
+ border-bottom-right-radius: 4px;
1852
+ }
1853
+ .media-control-skin-1 .media-control-cc ul li:last-child a {
1854
+ border-top-left-radius: 4px;
1855
+ border-top-right-radius: 4px;
1856
+ }
1857
+ .media-control-skin-1 .media-control-cc {
1858
+ position: relative;
1859
+ order: 85;
1860
+ }
1861
+
1862
+ .container .gplayer-cc-line {
1863
+ position: absolute;
1864
+ bottom: calc(var(--bottom-panel) + 5px);
1865
+ width: 100%;
1866
+ }
1867
+ .container .gplayer-cc-line p {
1868
+ width: auto;
1869
+ background-color: rgba(0, 0, 0, 0.4);
1870
+ color: white;
1871
+ display: inline-block;
1872
+ }.container-with-poster-clickable .mc-skip-time {
1873
+ height: 0;
1874
+ }
1875
+
1876
+ .mc-skip-time {
1877
+ position: absolute;
1878
+ width: 100%;
1879
+ height: calc(100% - 50px);
1880
+ z-index: 9998;
1881
+ background-color: transparent;
1882
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1883
+ }
1884
+ .mc-skip-time .skip-container {
1885
+ width: 100%;
1886
+ height: 100%;
1887
+ display: flex;
1888
+ justify-content: space-between;
1889
+ }
1890
+ .mc-skip-time .skip-container .skip-item {
1891
+ flex: 1 0 0px;
1892
+ height: 100%;
1947
1893
  }