@gcorevideo/player 2.22.30 → 2.23.0

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 (69) hide show
  1. package/assets/media-control/container.scss +2 -3
  2. package/assets/poster/poster.ejs +3 -1
  3. package/assets/poster/poster.scss +3 -3
  4. package/assets/style/main.scss +1 -1
  5. package/assets/thumbnails/scrub-thumbnails.ejs +5 -10
  6. package/assets/thumbnails/style.scss +4 -5
  7. package/dist/core.js +1 -1
  8. package/dist/index.css +533 -532
  9. package/dist/index.js +273 -377
  10. package/dist/player.d.ts +63 -33
  11. package/docs/api/{player.seektime.bindevents.md → player.clapprstats.clearmetrics.md} +3 -3
  12. package/docs/api/player.clapprstats.md +14 -0
  13. package/docs/api/player.extendedevents.md +14 -0
  14. package/docs/api/player.md +13 -2
  15. package/docs/api/player.seektime.attributes.md +0 -1
  16. package/docs/api/player.seektime.md +6 -197
  17. package/docs/api/{player.seektime.render.md → player.seektimesettings.md} +7 -7
  18. package/docs/api/player.skiptime.md +3 -184
  19. package/lib/plugins/clips/Clips.d.ts +7 -0
  20. package/lib/plugins/clips/Clips.d.ts.map +1 -1
  21. package/lib/plugins/clips/Clips.js +8 -0
  22. package/lib/plugins/media-control/MediaControl.d.ts +1 -7
  23. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  24. package/lib/plugins/media-control/MediaControl.js +9 -18
  25. package/lib/plugins/poster/Poster.d.ts +24 -14
  26. package/lib/plugins/poster/Poster.d.ts.map +1 -1
  27. package/lib/plugins/poster/Poster.js +67 -97
  28. package/lib/plugins/thumbnails/Thumbnails.d.ts +36 -33
  29. package/lib/plugins/thumbnails/Thumbnails.d.ts.map +1 -1
  30. package/lib/plugins/thumbnails/Thumbnails.js +174 -259
  31. package/lib/plugins/thumbnails/utils.d.ts +5 -0
  32. package/lib/plugins/thumbnails/utils.d.ts.map +1 -0
  33. package/lib/plugins/thumbnails/utils.js +12 -0
  34. package/lib/testUtils.d.ts +13 -39
  35. package/lib/testUtils.d.ts.map +1 -1
  36. package/lib/testUtils.js +15 -67
  37. package/package.json +2 -1
  38. package/src/plugins/clips/Clips.ts +10 -1
  39. package/src/plugins/media-control/MediaControl.ts +10 -21
  40. package/src/plugins/media-control/__tests__/__snapshots__/MediaControl.test.ts.snap +1 -1
  41. package/src/plugins/poster/Poster.ts +91 -110
  42. package/src/plugins/poster/__tests__/Poster.test.ts +119 -0
  43. package/src/plugins/poster/__tests__/__snapshots__/Poster.test.ts.snap +8 -0
  44. package/src/plugins/source-controller/__tests__/SourceController.test.ts +1 -2
  45. package/src/plugins/thumbnails/Thumbnails.ts +228 -330
  46. package/src/plugins/thumbnails/__tests__/Thumbnails.test.ts +72 -0
  47. package/src/plugins/thumbnails/__tests__/__snapshots__/Thumbnails.test.ts.snap +10 -0
  48. package/src/plugins/thumbnails/utils.ts +12 -0
  49. package/src/testUtils.ts +15 -88
  50. package/temp/player.api.json +295 -829
  51. package/tsconfig.tsbuildinfo +1 -1
  52. package/docs/api/player.seektime.durationshown.md +0 -14
  53. package/docs/api/player.seektime.getseektime.md +0 -20
  54. package/docs/api/player.seektime.islivestreamwithdvr.md +0 -14
  55. package/docs/api/player.seektime.mediacontrol.md +0 -14
  56. package/docs/api/player.seektime.mediacontrolcontainer.md +0 -14
  57. package/docs/api/player.seektime.shouldbevisible.md +0 -18
  58. package/docs/api/player.seektime.template.md +0 -14
  59. package/docs/api/player.seektime.update.md +0 -18
  60. package/docs/api/player.skiptime.attributes.md +0 -17
  61. package/docs/api/player.skiptime.bindevents.md +0 -18
  62. package/docs/api/player.skiptime.events.md +0 -18
  63. package/docs/api/player.skiptime.handlerewindclicks.md +0 -18
  64. package/docs/api/player.skiptime.render.md +0 -18
  65. package/docs/api/player.skiptime.setback.md +0 -18
  66. package/docs/api/player.skiptime.setforward.md +0 -18
  67. package/docs/api/player.skiptime.setmidclick.md +0 -18
  68. package/docs/api/player.skiptime.template.md +0 -14
  69. package/docs/api/player.skiptime.togglefullscreen.md +0 -18
package/dist/index.css CHANGED
@@ -91,7 +91,7 @@
91
91
  user-select: none;
92
92
  }
93
93
 
94
- .player-poster[data-poster] {
94
+ .player-poster {
95
95
  background-size: contain !important;
96
96
  }
97
97
 
@@ -122,40 +122,55 @@
122
122
  .gplayer-lite-btn::-moz-focus-inner {
123
123
  border: 0;
124
124
  padding: 0;
125
- }div.player-error-screen, [data-player] div.player-error-screen {
126
- color: #CCCACA;
125
+ }.big-mute-icon-wrapper[data-big-mute] {
127
126
  position: absolute;
128
- top: 0;
129
- height: 100%;
130
- width: 100%;
131
- background-color: rgba(0, 0, 0, 0.7);
132
- z-index: 2000;
127
+ z-index: 9998;
128
+ background-color: transparent;
133
129
  display: flex;
134
- flex-direction: column;
135
130
  justify-content: center;
131
+ width: 100%;
132
+ height: calc(100% - 50px);
133
+ margin: 0 auto;
134
+ opacity: 0.75;
135
+ transition: opacity 0.1s ease;
136
+ pointer-events: auto;
136
137
  }
137
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
138
- font-size: 14px;
139
- color: #CCCACA;
140
- margin-top: 45px;
138
+ .big-mute-icon-wrapper[data-big-mute].hide {
139
+ display: none;
141
140
  }
142
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
143
- font-weight: bold;
144
- line-height: 30px;
145
- font-size: 18px;
141
+ .big-mute-icon-wrapper[data-big-mute]:hover {
142
+ cursor: pointer;
146
143
  }
147
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
148
- width: 90%;
149
- margin: 0 auto;
144
+
145
+ .big-mute-icon[data-big-mute-icon] {
146
+ display: flex;
147
+ align-items: center;
148
+ justify-content: center;
149
+ align-self: center;
150
+ width: 120px;
151
+ height: 120px;
152
+ border: 2px solid white;
153
+ border-radius: 50%;
154
+ filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
155
+ filter: alpha(opacity=60);
156
+ opacity: 1;
157
+ box-shadow: 0 0 1px 0 white;
158
+ background: rgba(240, 243, 247, 0.9411764706);
159
+ z-index: 10000;
150
160
  }
151
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
152
- font-size: 13px;
153
- margin-top: 15px;
161
+ .big-mute-icon[data-big-mute-icon] svg {
162
+ margin-left: 5px;
163
+ width: 80px;
164
+ height: 80px;
154
165
  }
155
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
156
- cursor: pointer;
157
- width: 30px;
158
- margin: 15px auto 0;
166
+ .big-mute-icon[data-big-mute-icon] svg path {
167
+ fill: #1f1e1e !important;
168
+ }
169
+ .big-mute-icon[data-big-mute-icon]:hover {
170
+ background: rgba(240, 243, 247, 0.8784313725);
171
+ }
172
+ .big-mute-icon[data-big-mute-icon]:hover svg path {
173
+ fill: #151515 !important;
159
174
  }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
160
175
  order: 99;
161
176
  height: 20px;
@@ -262,6 +277,62 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
262
277
  }
263
278
  .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
264
279
  display: inline;
280
+ }div.player-error-screen, [data-player] div.player-error-screen {
281
+ color: #CCCACA;
282
+ position: absolute;
283
+ top: 0;
284
+ height: 100%;
285
+ width: 100%;
286
+ background-color: rgba(0, 0, 0, 0.7);
287
+ z-index: 2000;
288
+ display: flex;
289
+ flex-direction: column;
290
+ justify-content: center;
291
+ }
292
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
293
+ font-size: 14px;
294
+ color: #CCCACA;
295
+ margin-top: 45px;
296
+ }
297
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
298
+ font-weight: bold;
299
+ line-height: 30px;
300
+ font-size: 18px;
301
+ }
302
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
303
+ width: 90%;
304
+ margin: 0 auto;
305
+ }
306
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
307
+ font-size: 13px;
308
+ margin-top: 15px;
309
+ }
310
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
311
+ cursor: pointer;
312
+ width: 30px;
313
+ margin: 15px auto 0;
314
+ }@charset "UTF-8";
315
+ .media-control-clips {
316
+ display: flex;
317
+ gap: 6px;
318
+ }
319
+ .media-control-clips .media-clip-text {
320
+ text-overflow: ellipsis;
321
+ white-space: nowrap;
322
+ overflow: hidden;
323
+ display: inline-block;
324
+ text-overflow: ellipsis;
325
+ color: white;
326
+ cursor: default;
327
+ line-height: var(--bottom-panel);
328
+ position: relative;
329
+ }
330
+ .media-control-clips .media-clip-text::before {
331
+ content: "•";
332
+ padding-right: 6px;
333
+ }
334
+ .media-control-clips .media-clip-text {
335
+ max-width: 100px;
265
336
  }:root {
266
337
  --primary-background-color: #000;
267
338
  --secondary-background-color: #262626;
@@ -626,176 +697,94 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
626
697
  .fullscreen .clappr-nerd-stats .stats-box {
627
698
  top: unset;
628
699
  }
629
- }.player-poster[data-poster] {
630
- display: flex;
631
- justify-content: center;
632
- align-items: center;
633
- position: absolute;
634
- height: 100%;
635
- width: 100%;
636
- z-index: 998;
637
- top: 0;
638
- left: 0;
639
- background-color: #000;
640
- background-size: cover;
641
- background-repeat: no-repeat;
642
- background-position: 50% 50%;
643
- }
644
- .player-poster[data-poster].clickable {
645
- cursor: pointer;
646
- }
647
- .player-poster[data-poster]:hover .play-wrapper[data-poster] {
648
- opacity: 1;
649
- }
650
- .player-poster[data-poster] .play-wrapper[data-poster] {
651
- width: 100%;
652
- height: 25%;
653
- margin: 0 auto;
654
- opacity: 0.75;
655
- transition: opacity 0.1s ease;
656
- }
657
- .player-poster[data-poster] .play-wrapper[data-poster] svg {
658
- height: 100%;
659
- display: inline;
660
- }
661
- .player-poster[data-poster] .play-wrapper[data-poster] svg path {
662
- fill: #fff;
663
- }*, :focus, :visited {
700
+ }*,
701
+ :focus,
702
+ :visited {
664
703
  outline: none !important;
665
704
  }
666
705
 
667
- .multicamera[data-multicamera] {
668
- float: right;
669
- margin-top: 4px;
706
+ .media-control-audiotracks {
670
707
  position: relative;
671
- margin-right: 20px;
672
- width: 20px;
673
708
  }
674
- .multicamera[data-multicamera] button {
709
+ .media-control-audiotracks button {
675
710
  background-color: transparent;
676
711
  color: #fff;
677
- font-family: Roboto, "Open Sans", Arial, sans-serif;
678
712
  -webkit-font-smoothing: antialiased;
679
713
  border: none;
680
- font-size: 14px;
714
+ cursor: pointer;
715
+ display: flex;
716
+ align-items: center;
681
717
  padding: 0;
682
718
  }
683
- .multicamera[data-multicamera] button svg {
684
- height: 20px;
685
- position: relative;
686
- margin-top: 6px;
719
+ .media-control-audiotracks button .audio-text {
720
+ text-overflow: ellipsis;
721
+ overflow: hidden;
722
+ white-space: nowrap;
723
+ max-width: 100px;
724
+ background-color: transparent;
725
+ -webkit-font-smoothing: antialiased;
726
+ border: none;
727
+ cursor: pointer;
687
728
  }
688
- .multicamera[data-multicamera] button:hover {
689
- color: #c9c9c9;
729
+ .media-control-audiotracks button:hover {
730
+ color: white;
690
731
  }
691
- .multicamera[data-multicamera] button.changing {
732
+ .media-control-audiotracks button.changing {
692
733
  animation: pulse 0.5s infinite alternate;
693
734
  }
694
- .multicamera[data-multicamera] button span.quality-arrow {
735
+ .media-control-audiotracks button span.audio-arrow {
695
736
  width: 9px;
696
737
  height: 6px;
697
- margin-top: 11px;
698
738
  margin-left: 5px;
699
739
  }
700
- .multicamera[data-multicamera] > ul {
701
- padding: 6px 0;
702
- right: -24px;
703
- width: 245px;
740
+ .media-control-audiotracks .menu {
741
+ max-width: 114px;
704
742
  list-style-type: none;
705
743
  position: absolute;
706
- bottom: 48px;
744
+ background-color: rgba(74, 74, 74, 0.6);
745
+ border: none;
746
+ min-width: 60px;
707
747
  border-radius: 4px;
748
+ bottom: 40px;
749
+ right: -2px;
750
+ }
751
+ .media-control-audiotracks .menu.hidden {
708
752
  display: none;
709
- background-color: rgba(74, 74, 74, 0.9);
710
753
  }
711
- .multicamera[data-multicamera] > ul::after {
712
- content: "";
713
- position: absolute;
714
- top: 100%;
715
- left: 85%;
716
- margin-left: -10px;
717
- width: 0;
718
- height: 0;
719
- border-top: 10px solid rgba(74, 74, 74, 0.9);
720
- border-right: 10px solid transparent;
721
- border-left: 10px solid transparent;
754
+ .media-control-audiotracks li {
755
+ font-size: var(--font-size-media-controls-dropdown);
756
+ text-align: right;
757
+ height: 30px;
722
758
  }
723
- .multicamera[data-multicamera] li {
724
- font-size: 10px;
725
- cursor: pointer;
759
+ .media-control-audiotracks li[data-title] {
760
+ background-color: #c3c2c2;
761
+ padding: 5px;
726
762
  }
727
- .multicamera[data-multicamera] li .multicamera-item {
728
- display: flex;
729
- padding: 10px 0;
730
- justify-content: center;
731
- position: relative;
763
+ .media-control-audiotracks li a {
764
+ display: block;
765
+ text-decoration: none;
766
+ text-overflow: ellipsis;
767
+ overflow: hidden;
768
+ white-space: nowrap;
769
+ height: 30px;
770
+ padding: 5px 10px;
771
+ color: #fffffe;
732
772
  }
733
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] {
734
- pointer-events: none;
773
+ .media-control-audiotracks li a:hover {
774
+ text-decoration: none;
775
+ background-color: rgba(0, 0, 0, 0.4);
776
+ color: white;
735
777
  }
736
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-screenshot {
737
- opacity: 0.5;
778
+ .media-control-audiotracks li.current a {
779
+ color: #f00;
738
780
  }
739
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-text {
740
- opacity: 0.5;
781
+ .media-control-audiotracks li:first-child a {
782
+ border-bottom-left-radius: 4px;
783
+ border-bottom-right-radius: 4px;
741
784
  }
742
- .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false]:hover {
743
- background-color: rgba(0, 0, 0, 0);
744
- }
745
- .multicamera[data-multicamera] li .multicamera-item:hover, .multicamera[data-multicamera] li .multicamera-item.multicamera-active {
746
- background-color: rgba(0, 0, 0, 0.3);
747
- }
748
- .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot {
749
- width: 80px;
750
- height: 60px;
751
- }
752
- .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot img {
753
- width: 80px;
754
- height: 60px;
755
- }
756
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text {
757
- width: 120px;
758
- text-align: left;
759
- margin-left: 15px;
760
- }
761
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-title, .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
762
- width: 120px;
763
- height: 20px;
764
- font-family: Roboto, "Open Sans", Arial, sans-serif;
765
- font-size: 14px;
766
- font-weight: normal;
767
- font-style: normal;
768
- font-stretch: normal;
769
- line-height: 1.43;
770
- letter-spacing: normal;
771
- text-align: left;
772
- color: #fff;
773
- text-overflow: ellipsis;
774
- overflow: hidden;
775
- }
776
- .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
777
- opacity: 0.6;
778
- }
779
- .multicamera[data-multicamera] li[data-title] {
780
- background-color: #c3c2c2;
781
- padding: 5px;
782
- }
783
- .multicamera[data-multicamera] li a {
784
- color: #444;
785
- padding: 2px 10px;
786
- display: block;
787
- text-decoration: none;
788
- }
789
- .multicamera[data-multicamera] li a:hover {
790
- background-color: #555;
791
- color: white;
792
- }
793
- .multicamera[data-multicamera] li a:hover a {
794
- color: white;
795
- text-decoration: none;
796
- }
797
- .multicamera[data-multicamera] li.current a {
798
- color: #f00;
785
+ .media-control-audiotracks li:last-child a {
786
+ border-top-left-radius: 4px;
787
+ border-top-right-radius: 4px;
799
788
  }
800
789
 
801
790
  @keyframes pulse {
@@ -808,103 +797,264 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
808
797
  100% {
809
798
  color: #B80000;
810
799
  }
811
- }.media-control-pip {
812
- order: 95;
800
+ }.context-menu {
801
+ z-index: 999;
802
+ position: absolute;
803
+ top: 0;
804
+ left: 0;
805
+ text-align: center;
806
+ }
807
+ .context-menu .context-menu-list {
808
+ font-family: "Proxima Nova", sans-serif;
809
+ font-size: 12px;
810
+ line-height: 12px;
811
+ list-style-type: none;
812
+ text-align: left;
813
+ padding: 5px;
814
+ margin-left: auto;
815
+ margin-right: auto;
816
+ background-color: rgba(0, 0, 0, 0.75);
817
+ border: 1px solid #666;
818
+ border-radius: 4px;
819
+ }
820
+ .context-menu .context-menu-list-item button {
821
+ border: none;
822
+ background-color: transparent;
823
+ padding: 0;
824
+ color: white;
813
825
  display: flex;
826
+ gap: 8px;
827
+ align-items: center;
828
+ justify-content: center;
829
+ cursor: pointer;
830
+ padding: 5px;
831
+ width: 100%;
814
832
  }
815
- .media-control-pip button {
833
+ .context-menu .context-menu-list-item_icon {
834
+ width: 20px;
816
835
  height: 20px;
836
+ }.dvr-controls[data-dvr] {
837
+ display: inline-block;
838
+ color: var(--player-dvr-color);
839
+ line-height: 32px;
840
+ font-size: 10px;
841
+ font-weight: bold;
842
+ margin-left: 6px;
843
+ height: 40px;
844
+ line-height: 40px;
845
+ margin-left: 0;
817
846
  }
818
- .media-control-pip button svg {
819
- height: 20px;
820
- }*,
821
- :focus,
822
- :visited {
847
+ .dvr-controls[data-dvr] .live-info {
848
+ cursor: default;
849
+ text-transform: uppercase;
850
+ }
851
+ .dvr-controls[data-dvr] .live-info:before {
852
+ content: "";
853
+ display: inline-block;
854
+ position: relative;
855
+ width: 7px;
856
+ height: 7px;
857
+ border-radius: 3.5px;
858
+ margin-right: 3.5px;
859
+ background-color: var(--player-live-color);
860
+ }
861
+ .dvr-controls[data-dvr] .live-info.disabled {
862
+ opacity: 0.3;
863
+ }
864
+ .dvr-controls[data-dvr] .live-info.disabled:before {
865
+ background-color: var(--player-dvr-color);
866
+ }
867
+ .dvr-controls[data-dvr] .live-button {
868
+ cursor: pointer;
869
+ outline: none;
870
+ display: none;
871
+ border: 0;
872
+ color: var(--player-dvr-color);
873
+ background-color: transparent;
874
+ height: 32px;
875
+ padding: 0;
876
+ opacity: 0.7;
877
+ text-transform: uppercase;
878
+ transition: all 0.1s ease;
879
+ }
880
+ .dvr-controls[data-dvr] .live-button:before {
881
+ content: "";
882
+ display: inline-block;
883
+ position: relative;
884
+ width: 7px;
885
+ height: 7px;
886
+ border-radius: 3.5px;
887
+ margin-right: 3.5px;
888
+ background-color: var(--player-dvr-color);
889
+ }
890
+ .dvr-controls[data-dvr] .live-button:hover {
891
+ opacity: 1;
892
+ text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
893
+ }
894
+ .dvr-controls[data-dvr] .live-info {
895
+ font-size: 14px;
896
+ letter-spacing: 0.8px;
897
+ font-weight: 500;
898
+ color: #fffffe;
899
+ margin-left: 21px;
900
+ }
901
+ .dvr-controls[data-dvr] .live-info::before {
902
+ width: 10px;
903
+ height: 10px;
904
+ border-radius: 50%;
905
+ margin-right: 8px;
906
+ background-color: #ed4f4a;
907
+ }
908
+ .dvr-controls[data-dvr] .live-button {
909
+ height: 40px;
910
+ opacity: 1;
911
+ font-size: 14px;
912
+ letter-spacing: 0.8px;
913
+ font-weight: 500;
914
+ margin-left: 20px;
915
+ }
916
+ .dvr-controls[data-dvr] .live-button::before {
917
+ width: 10px;
918
+ height: 10px;
919
+ border-radius: 50%;
920
+ margin-right: 8px;
921
+ background-color: #cacaca;
922
+ }*, :focus, :visited {
823
923
  outline: none !important;
824
924
  }
825
925
 
826
- .media-control-audiotracks {
926
+ .multicamera[data-multicamera] {
927
+ float: right;
928
+ margin-top: 4px;
827
929
  position: relative;
930
+ margin-right: 20px;
931
+ width: 20px;
828
932
  }
829
- .media-control-audiotracks button {
933
+ .multicamera[data-multicamera] button {
830
934
  background-color: transparent;
831
935
  color: #fff;
936
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
832
937
  -webkit-font-smoothing: antialiased;
833
938
  border: none;
834
- cursor: pointer;
835
- display: flex;
836
- align-items: center;
939
+ font-size: 14px;
837
940
  padding: 0;
838
941
  }
839
- .media-control-audiotracks button .audio-text {
840
- text-overflow: ellipsis;
841
- overflow: hidden;
842
- white-space: nowrap;
843
- max-width: 100px;
844
- background-color: transparent;
845
- -webkit-font-smoothing: antialiased;
846
- border: none;
847
- cursor: pointer;
942
+ .multicamera[data-multicamera] button svg {
943
+ height: 20px;
944
+ position: relative;
945
+ margin-top: 6px;
848
946
  }
849
- .media-control-audiotracks button:hover {
850
- color: white;
947
+ .multicamera[data-multicamera] button:hover {
948
+ color: #c9c9c9;
851
949
  }
852
- .media-control-audiotracks button.changing {
950
+ .multicamera[data-multicamera] button.changing {
853
951
  animation: pulse 0.5s infinite alternate;
854
952
  }
855
- .media-control-audiotracks button span.audio-arrow {
953
+ .multicamera[data-multicamera] button span.quality-arrow {
856
954
  width: 9px;
857
955
  height: 6px;
956
+ margin-top: 11px;
858
957
  margin-left: 5px;
859
958
  }
860
- .media-control-audiotracks .menu {
861
- max-width: 114px;
959
+ .multicamera[data-multicamera] > ul {
960
+ padding: 6px 0;
961
+ right: -24px;
962
+ width: 245px;
862
963
  list-style-type: none;
863
964
  position: absolute;
864
- background-color: rgba(74, 74, 74, 0.6);
865
- border: none;
866
- min-width: 60px;
965
+ bottom: 48px;
867
966
  border-radius: 4px;
868
- bottom: 40px;
869
- right: -2px;
967
+ display: none;
968
+ background-color: rgba(74, 74, 74, 0.9);
969
+ }
970
+ .multicamera[data-multicamera] > ul::after {
971
+ content: "";
972
+ position: absolute;
973
+ top: 100%;
974
+ left: 85%;
975
+ margin-left: -10px;
976
+ width: 0;
977
+ height: 0;
978
+ border-top: 10px solid rgba(74, 74, 74, 0.9);
979
+ border-right: 10px solid transparent;
980
+ border-left: 10px solid transparent;
981
+ }
982
+ .multicamera[data-multicamera] li {
983
+ font-size: 10px;
984
+ cursor: pointer;
985
+ }
986
+ .multicamera[data-multicamera] li .multicamera-item {
987
+ display: flex;
988
+ padding: 10px 0;
989
+ justify-content: center;
990
+ position: relative;
991
+ }
992
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] {
993
+ pointer-events: none;
994
+ }
995
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-screenshot {
996
+ opacity: 0.5;
997
+ }
998
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false] .multicamera-text {
999
+ opacity: 0.5;
1000
+ }
1001
+ .multicamera[data-multicamera] li .multicamera-item[data-mulitcamera-selector-live=false]:hover {
1002
+ background-color: rgba(0, 0, 0, 0);
1003
+ }
1004
+ .multicamera[data-multicamera] li .multicamera-item:hover, .multicamera[data-multicamera] li .multicamera-item.multicamera-active {
1005
+ background-color: rgba(0, 0, 0, 0.3);
1006
+ }
1007
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot {
1008
+ width: 80px;
1009
+ height: 60px;
870
1010
  }
871
- .media-control-audiotracks .menu.hidden {
872
- display: none;
1011
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-screenshot img {
1012
+ width: 80px;
1013
+ height: 60px;
873
1014
  }
874
- .media-control-audiotracks li {
875
- font-size: var(--font-size-media-controls-dropdown);
876
- text-align: right;
877
- height: 30px;
1015
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text {
1016
+ width: 120px;
1017
+ text-align: left;
1018
+ margin-left: 15px;
878
1019
  }
879
- .media-control-audiotracks li[data-title] {
1020
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-title, .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
1021
+ width: 120px;
1022
+ height: 20px;
1023
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1024
+ font-size: 14px;
1025
+ font-weight: normal;
1026
+ font-style: normal;
1027
+ font-stretch: normal;
1028
+ line-height: 1.43;
1029
+ letter-spacing: normal;
1030
+ text-align: left;
1031
+ color: #fff;
1032
+ text-overflow: ellipsis;
1033
+ overflow: hidden;
1034
+ }
1035
+ .multicamera[data-multicamera] li .multicamera-item .multicamera-text .multicamera-description {
1036
+ opacity: 0.6;
1037
+ }
1038
+ .multicamera[data-multicamera] li[data-title] {
880
1039
  background-color: #c3c2c2;
881
1040
  padding: 5px;
882
1041
  }
883
- .media-control-audiotracks li a {
1042
+ .multicamera[data-multicamera] li a {
1043
+ color: #444;
1044
+ padding: 2px 10px;
884
1045
  display: block;
885
1046
  text-decoration: none;
886
- text-overflow: ellipsis;
887
- overflow: hidden;
888
- white-space: nowrap;
889
- height: 30px;
890
- padding: 5px 10px;
891
- color: #fffffe;
892
1047
  }
893
- .media-control-audiotracks li a:hover {
894
- text-decoration: none;
895
- background-color: rgba(0, 0, 0, 0.4);
1048
+ .multicamera[data-multicamera] li a:hover {
1049
+ background-color: #555;
896
1050
  color: white;
897
1051
  }
898
- .media-control-audiotracks li.current a {
899
- color: #f00;
900
- }
901
- .media-control-audiotracks li:first-child a {
902
- border-bottom-left-radius: 4px;
903
- border-bottom-right-radius: 4px;
1052
+ .multicamera[data-multicamera] li a:hover a {
1053
+ color: white;
1054
+ text-decoration: none;
904
1055
  }
905
- .media-control-audiotracks li:last-child a {
906
- border-top-left-radius: 4px;
907
- border-top-right-radius: 4px;
1056
+ .multicamera[data-multicamera] li.current a {
1057
+ color: #f00;
908
1058
  }
909
1059
 
910
1060
  @keyframes pulse {
@@ -924,7 +1074,7 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
924
1074
  .container .media-control-notransition {
925
1075
  transition: none !important;
926
1076
  }
927
- .container .player-poster[data-poster] .play-wrapper[data-poster] {
1077
+ .container .player-poster .play-wrapper {
928
1078
  opacity: 1;
929
1079
  }
930
1080
  .container.crop-video [data-html5-video] {
@@ -941,7 +1091,7 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
941
1091
  color: white;
942
1092
  display: inline-block;
943
1093
  }
944
- .container .circle-poster[data-poster] {
1094
+ .container .player-poster .circle-poster {
945
1095
  top: 50%;
946
1096
  margin-top: -60px;
947
1097
  left: 50%;
@@ -956,10 +1106,9 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
956
1106
  opacity: 1;
957
1107
  box-shadow: 0 0 1px 0 white;
958
1108
  }
959
- .container .circle-poster[data-poster] svg {
1109
+ .container .player-poster .circle-poster svg {
960
1110
  margin-left: 5px;
961
1111
  width: 80px;
962
- height: 80px;
963
1112
  }
964
1113
  .container .spinner-three-bounce[data-spinner] > div {
965
1114
  background-color: #ff5700;
@@ -1531,114 +1680,40 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1531
1680
  .media-control-skin-1[data-media-control-skin-1] .seek-time .seek-time__pos {
1532
1681
  padding-left: 8px;
1533
1682
  padding-right: 8px;
1534
- }.container-with-poster-clickable .mc-skip-time {
1535
- height: 0;
1536
- }
1537
-
1538
- .mc-skip-time {
1539
- position: absolute;
1540
- width: 100%;
1541
- height: calc(100% - 50px);
1542
- z-index: 9998;
1543
- background-color: transparent;
1544
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1545
- }
1546
- .mc-skip-time .skip-container {
1547
- width: 100%;
1548
- height: 100%;
1683
+ }.player-poster {
1549
1684
  display: flex;
1550
- justify-content: space-between;
1551
- }
1552
- .mc-skip-time .skip-container .skip-item {
1553
- flex: 1 0 0px;
1554
- height: 100%;
1555
- }.spinner-three-bounce[data-spinner] {
1685
+ justify-content: center;
1686
+ align-items: center;
1556
1687
  position: absolute;
1557
- width: 70px;
1558
- text-align: center;
1559
- z-index: 999;
1688
+ height: 100%;
1689
+ width: 100%;
1690
+ z-index: 998;
1691
+ top: 0;
1560
1692
  left: 0;
1561
- right: 0;
1562
- margin: 0 auto;
1563
- margin-left: auto;
1564
- margin-right: auto;
1565
- /* center vertically */
1566
- top: 50%;
1567
- transform: translateY(-50%);
1568
- }
1569
- .spinner-three-bounce[data-spinner] > div {
1570
- width: 18px;
1571
- height: 18px;
1572
- background-color: #FFF;
1573
- border-radius: 100%;
1574
- display: inline-block;
1575
- animation: bouncedelay 1.4s infinite ease-in-out;
1576
- /* Prevent first frame from flickering when animation starts */
1577
- animation-fill-mode: both;
1693
+ background-color: #000;
1694
+ background-size: cover;
1695
+ background-repeat: no-repeat;
1696
+ background-position: 50% 50%;
1578
1697
  }
1579
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1580
- animation-delay: -0.32s;
1698
+ .player-poster.clickable {
1699
+ cursor: pointer;
1581
1700
  }
1582
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1583
- animation-delay: -0.16s;
1701
+ .player-poster:hover .play-wrapper {
1702
+ opacity: 1;
1584
1703
  }
1585
-
1586
- @keyframes bouncedelay {
1587
- 0%, 80%, 100% {
1588
- transform: scale(0);
1589
- }
1590
- 40% {
1591
- transform: scale(1);
1592
- }
1593
- }.big-mute-icon-wrapper[data-big-mute] {
1594
- position: absolute;
1595
- z-index: 9998;
1596
- background-color: transparent;
1597
- display: flex;
1598
- justify-content: center;
1704
+ .player-poster .play-wrapper {
1599
1705
  width: 100%;
1600
- height: calc(100% - 50px);
1706
+ height: 25%;
1601
1707
  margin: 0 auto;
1602
1708
  opacity: 0.75;
1603
1709
  transition: opacity 0.1s ease;
1604
- pointer-events: auto;
1605
- }
1606
- .big-mute-icon-wrapper[data-big-mute].hide {
1607
- display: none;
1608
- }
1609
- .big-mute-icon-wrapper[data-big-mute]:hover {
1610
- cursor: pointer;
1611
- }
1612
-
1613
- .big-mute-icon[data-big-mute-icon] {
1614
- display: flex;
1615
- align-items: center;
1616
- justify-content: center;
1617
- align-self: center;
1618
- width: 120px;
1619
- height: 120px;
1620
- border: 2px solid white;
1621
- border-radius: 50%;
1622
- filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
1623
- filter: alpha(opacity=60);
1624
- opacity: 1;
1625
- box-shadow: 0 0 1px 0 white;
1626
- background: rgba(240, 243, 247, 0.9411764706);
1627
- z-index: 10000;
1628
1710
  }
1629
- .big-mute-icon[data-big-mute-icon] svg {
1630
- margin-left: 5px;
1631
- width: 80px;
1632
- height: 80px;
1633
- }
1634
- .big-mute-icon[data-big-mute-icon] svg path {
1635
- fill: #1f1e1e !important;
1636
- }
1637
- .big-mute-icon[data-big-mute-icon]:hover {
1638
- background: rgba(240, 243, 247, 0.8784313725);
1711
+ .player-poster .play-wrapper svg {
1712
+ height: 100%;
1713
+ display: inline;
1639
1714
  }
1640
- .big-mute-icon[data-big-mute-icon]:hover svg path {
1641
- fill: #151515 !important;
1715
+ .player-poster .play-wrapper svg path {
1716
+ fill: #fff;
1642
1717
  }.seek-time {
1643
1718
  position: absolute;
1644
1719
  white-space: nowrap;
@@ -1672,70 +1747,116 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1672
1747
  .seek-time .seek-time__duration::before {
1673
1748
  content: "|";
1674
1749
  margin-right: 7px;
1675
- }.context-menu {
1676
- z-index: 999;
1677
- position: absolute;
1678
- top: 0;
1679
- left: 0;
1680
- text-align: center;
1750
+ }.share_plugin[data-share] {
1751
+ pointer-events: auto;
1752
+ z-index: 5;
1753
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1681
1754
  }
1682
- .context-menu .context-menu-list {
1683
- font-family: "Proxima Nova", sans-serif;
1684
- font-size: 12px;
1685
- line-height: 12px;
1686
- list-style-type: none;
1687
- text-align: left;
1688
- padding: 5px;
1689
- margin-left: auto;
1690
- margin-right: auto;
1691
- background-color: rgba(0, 0, 0, 0.75);
1692
- border: 1px solid #666;
1755
+ .share_plugin[data-share].share-hide .share-button-container {
1756
+ right: -50px;
1757
+ }
1758
+ .share_plugin[data-share] .share-button-container {
1759
+ cursor: pointer;
1760
+ width: 36px;
1761
+ height: 36px;
1762
+ background-color: rgba(74, 74, 74, 0.6);
1693
1763
  border-radius: 4px;
1764
+ position: absolute;
1765
+ right: 10px;
1766
+ top: 10px;
1767
+ padding-top: 6px;
1768
+ transition: all 0.3s ease-out;
1694
1769
  }
1695
- .context-menu .context-menu-list-item button {
1696
- border: none;
1770
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
1697
1771
  background-color: transparent;
1772
+ border: 0;
1773
+ margin: 0 6px;
1698
1774
  padding: 0;
1699
- color: white;
1700
- display: flex;
1701
- gap: 8px;
1702
- align-items: center;
1703
- justify-content: center;
1704
1775
  cursor: pointer;
1776
+ display: inline-block;
1777
+ width: 19px;
1778
+ height: 20px;
1779
+ }
1780
+ .share_plugin[data-share] .share-container {
1781
+ pointer-events: auto;
1782
+ position: absolute;
1783
+ width: 280px;
1784
+ background-color: white;
1785
+ transform: translate(0, 50%);
1786
+ transform: translate(-50%, -50%);
1787
+ left: 50%;
1788
+ /* margin-left: -140px; */
1789
+ top: calc(50% - 20px);
1790
+ /* margin-top: -170px; */
1791
+ }
1792
+ .share_plugin[data-share] .share-container .share-container-header {
1793
+ text-align: left;
1794
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1795
+ }
1796
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1797
+ display: inline-block;
1798
+ font-size: 16px;
1799
+ margin: 5px;
1800
+ }
1801
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1802
+ display: inline-block;
1803
+ width: 24px;
1804
+ float: right;
1805
+ margin: 5px;
1806
+ cursor: pointer;
1807
+ }
1808
+ .share_plugin[data-share] .share-container .share-container-main {
1809
+ margin-bottom: 8px;
1810
+ }
1811
+ .share_plugin[data-share] .share-container .share-container-main > div {
1812
+ text-align: left;
1813
+ font-size: 14px;
1705
1814
  padding: 5px;
1706
- width: 100%;
1707
- }
1708
- .context-menu .context-menu-list-item_icon {
1709
- width: 20px;
1710
- height: 20px;
1711
- }@charset "UTF-8";
1712
- .media-control-clips {
1713
- display: flex;
1714
- gap: 6px;
1715
1815
  }
1716
- .media-control-clips .media-clip-text {
1717
- text-overflow: ellipsis;
1718
- white-space: nowrap;
1816
+ .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 {
1719
1817
  overflow: hidden;
1720
- display: inline-block;
1721
1818
  text-overflow: ellipsis;
1722
- color: white;
1723
- cursor: default;
1724
- line-height: var(--bottom-panel);
1725
- position: relative;
1819
+ color: #818181;
1820
+ border: solid 1px #d3d3d3;
1821
+ width: calc(100% - 10px);
1822
+ padding: 5px;
1726
1823
  }
1727
- .media-control-clips .media-clip-text::before {
1728
- content: "•";
1729
- padding-right: 6px;
1824
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1825
+ max-height: 90px;
1826
+ resize: none;
1730
1827
  }
1731
- .media-control-clips .media-clip-text {
1732
- max-width: 100px;
1828
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1829
+ width: 32px;
1830
+ display: inline-block;
1831
+ margin-right: 5px;
1832
+ cursor: pointer;
1733
1833
  }.quality-levels li.disabled {
1734
1834
  opacity: 0.5;
1735
1835
  pointer-events: none;
1736
1836
  }
1737
1837
  .quality-levels li.current {
1738
1838
  background-color: #000;
1839
+ }.container-with-poster-clickable .mc-skip-time {
1840
+ height: 0;
1841
+ }
1842
+
1843
+ .mc-skip-time {
1844
+ position: absolute;
1845
+ width: 100%;
1846
+ height: calc(100% - 50px);
1847
+ z-index: 9998;
1848
+ background-color: transparent;
1849
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1850
+ }
1851
+ .mc-skip-time .skip-container {
1852
+ width: 100%;
1853
+ height: 100%;
1854
+ display: flex;
1855
+ justify-content: space-between;
1856
+ }
1857
+ .mc-skip-time .skip-container .skip-item {
1858
+ flex: 1 0 0px;
1859
+ height: 100%;
1739
1860
  }.scrub-thumbnails {
1740
1861
  position: absolute;
1741
1862
  bottom: 52px;
@@ -1765,6 +1886,8 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1765
1886
  position: absolute;
1766
1887
  bottom: 23px;
1767
1888
  width: 100px;
1889
+ padding: 0 4px;
1890
+ font-size: 12px;
1768
1891
  }
1769
1892
  .scrub-thumbnails .spotlight {
1770
1893
  background-color: #4a4a4a;
@@ -1870,175 +1993,53 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1870
1993
  .ios-fullscreen::cue {
1871
1994
  visibility: visible !important;
1872
1995
  font-size: 1em !important;
1873
- }.dvr-controls[data-dvr] {
1874
- display: inline-block;
1875
- color: var(--player-dvr-color);
1876
- line-height: 32px;
1877
- font-size: 10px;
1878
- font-weight: bold;
1879
- margin-left: 6px;
1880
- height: 40px;
1881
- line-height: 40px;
1882
- margin-left: 0;
1883
- }
1884
- .dvr-controls[data-dvr] .live-info {
1885
- cursor: default;
1886
- text-transform: uppercase;
1887
- }
1888
- .dvr-controls[data-dvr] .live-info:before {
1889
- content: "";
1890
- display: inline-block;
1891
- position: relative;
1892
- width: 7px;
1893
- height: 7px;
1894
- border-radius: 3.5px;
1895
- margin-right: 3.5px;
1896
- background-color: var(--player-live-color);
1897
- }
1898
- .dvr-controls[data-dvr] .live-info.disabled {
1899
- opacity: 0.3;
1900
- }
1901
- .dvr-controls[data-dvr] .live-info.disabled:before {
1902
- background-color: var(--player-dvr-color);
1903
- }
1904
- .dvr-controls[data-dvr] .live-button {
1905
- cursor: pointer;
1906
- outline: none;
1907
- display: none;
1908
- border: 0;
1909
- color: var(--player-dvr-color);
1910
- background-color: transparent;
1911
- height: 32px;
1912
- padding: 0;
1913
- opacity: 0.7;
1914
- text-transform: uppercase;
1915
- transition: all 0.1s ease;
1916
- }
1917
- .dvr-controls[data-dvr] .live-button:before {
1918
- content: "";
1919
- display: inline-block;
1920
- position: relative;
1921
- width: 7px;
1922
- height: 7px;
1923
- border-radius: 3.5px;
1924
- margin-right: 3.5px;
1925
- background-color: var(--player-dvr-color);
1926
- }
1927
- .dvr-controls[data-dvr] .live-button:hover {
1928
- opacity: 1;
1929
- text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
1930
- }
1931
- .dvr-controls[data-dvr] .live-info {
1932
- font-size: 14px;
1933
- letter-spacing: 0.8px;
1934
- font-weight: 500;
1935
- color: #fffffe;
1936
- margin-left: 21px;
1937
- }
1938
- .dvr-controls[data-dvr] .live-info::before {
1939
- width: 10px;
1940
- height: 10px;
1941
- border-radius: 50%;
1942
- margin-right: 8px;
1943
- background-color: #ed4f4a;
1944
- }
1945
- .dvr-controls[data-dvr] .live-button {
1946
- height: 40px;
1947
- opacity: 1;
1948
- font-size: 14px;
1949
- letter-spacing: 0.8px;
1950
- font-weight: 500;
1951
- margin-left: 20px;
1952
- }
1953
- .dvr-controls[data-dvr] .live-button::before {
1954
- width: 10px;
1955
- height: 10px;
1956
- border-radius: 50%;
1957
- margin-right: 8px;
1958
- background-color: #cacaca;
1959
- }.share_plugin[data-share] {
1960
- pointer-events: auto;
1961
- z-index: 5;
1962
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1963
- }
1964
- .share_plugin[data-share].share-hide .share-button-container {
1965
- right: -50px;
1966
- }
1967
- .share_plugin[data-share] .share-button-container {
1968
- cursor: pointer;
1969
- width: 36px;
1970
- height: 36px;
1971
- background-color: rgba(74, 74, 74, 0.6);
1972
- border-radius: 4px;
1973
- position: absolute;
1974
- right: 10px;
1975
- top: 10px;
1976
- padding-top: 6px;
1977
- transition: all 0.3s ease-out;
1996
+ }.media-control-pip {
1997
+ order: 95;
1998
+ display: flex;
1978
1999
  }
1979
- .share_plugin[data-share] .share-button-container button[data-share-button] {
1980
- background-color: transparent;
1981
- border: 0;
1982
- margin: 0 6px;
1983
- padding: 0;
1984
- cursor: pointer;
1985
- display: inline-block;
1986
- width: 19px;
2000
+ .media-control-pip button {
1987
2001
  height: 20px;
1988
2002
  }
1989
- .share_plugin[data-share] .share-container {
1990
- pointer-events: auto;
2003
+ .media-control-pip button svg {
2004
+ height: 20px;
2005
+ }.spinner-three-bounce[data-spinner] {
1991
2006
  position: absolute;
1992
- width: 280px;
1993
- background-color: white;
1994
- transform: translate(0, 50%);
1995
- transform: translate(-50%, -50%);
1996
- left: 50%;
1997
- /* margin-left: -140px; */
1998
- top: calc(50% - 20px);
1999
- /* margin-top: -170px; */
2000
- }
2001
- .share_plugin[data-share] .share-container .share-container-header {
2002
- text-align: left;
2003
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
2004
- }
2005
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
2006
- display: inline-block;
2007
- font-size: 16px;
2008
- margin: 5px;
2007
+ width: 70px;
2008
+ text-align: center;
2009
+ z-index: 999;
2010
+ left: 0;
2011
+ right: 0;
2012
+ margin: 0 auto;
2013
+ margin-left: auto;
2014
+ margin-right: auto;
2015
+ /* center vertically */
2016
+ top: 50%;
2017
+ transform: translateY(-50%);
2009
2018
  }
2010
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
2019
+ .spinner-three-bounce[data-spinner] > div {
2020
+ width: 18px;
2021
+ height: 18px;
2022
+ background-color: #FFF;
2023
+ border-radius: 100%;
2011
2024
  display: inline-block;
2012
- width: 24px;
2013
- float: right;
2014
- margin: 5px;
2015
- cursor: pointer;
2016
- }
2017
- .share_plugin[data-share] .share-container .share-container-main {
2018
- margin-bottom: 8px;
2019
- }
2020
- .share_plugin[data-share] .share-container .share-container-main > div {
2021
- text-align: left;
2022
- font-size: 14px;
2023
- padding: 5px;
2025
+ animation: bouncedelay 1.4s infinite ease-in-out;
2026
+ /* Prevent first frame from flickering when animation starts */
2027
+ animation-fill-mode: both;
2024
2028
  }
2025
- .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 {
2026
- overflow: hidden;
2027
- text-overflow: ellipsis;
2028
- color: #818181;
2029
- border: solid 1px #d3d3d3;
2030
- width: calc(100% - 10px);
2031
- padding: 5px;
2029
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
2030
+ animation-delay: -0.32s;
2032
2031
  }
2033
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
2034
- max-height: 90px;
2035
- resize: none;
2032
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
2033
+ animation-delay: -0.16s;
2036
2034
  }
2037
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
2038
- width: 32px;
2039
- display: inline-block;
2040
- margin-right: 5px;
2041
- cursor: pointer;
2035
+
2036
+ @keyframes bouncedelay {
2037
+ 0%, 80%, 100% {
2038
+ transform: scale(0);
2039
+ }
2040
+ 40% {
2041
+ transform: scale(1);
2042
+ }
2042
2043
  }.player-logo[data-logo] {
2043
2044
  position: absolute;
2044
2045
  z-index: 2;