@gcorevideo/player 2.20.7 → 2.20.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 (49) hide show
  1. package/dist/core.js +37 -13
  2. package/dist/index.css +1343 -1343
  3. package/dist/index.js +241 -217
  4. package/dist/plugins/index.css +475 -475
  5. package/dist/plugins/index.js +152 -154
  6. package/lib/playback/BasePlayback.d.ts +5 -0
  7. package/lib/playback/BasePlayback.d.ts.map +1 -1
  8. package/lib/playback/BasePlayback.js +8 -0
  9. package/lib/playback/HTML5Video.d.ts +4 -0
  10. package/lib/playback/HTML5Video.d.ts.map +1 -0
  11. package/lib/playback/HTML5Video.js +3 -0
  12. package/lib/playback/dash-playback/DashPlayback.d.ts +1 -0
  13. package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
  14. package/lib/playback/dash-playback/DashPlayback.js +6 -2
  15. package/lib/playback/index.d.ts.map +1 -1
  16. package/lib/playback/index.js +2 -0
  17. package/lib/playback/types.d.ts +9 -0
  18. package/lib/playback/types.d.ts.map +1 -0
  19. package/lib/playback/types.js +9 -0
  20. package/lib/plugins/bottom-gear/BottomGear.d.ts +6 -11
  21. package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
  22. package/lib/plugins/bottom-gear/BottomGear.js +5 -14
  23. package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +2 -2
  24. package/lib/plugins/dvr-controls/DvrControls.d.ts +1 -1
  25. package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
  26. package/lib/plugins/dvr-controls/DvrControls.js +27 -16
  27. package/lib/plugins/level-selector/LevelSelector.d.ts +2 -0
  28. package/lib/plugins/level-selector/LevelSelector.d.ts.map +1 -1
  29. package/lib/plugins/level-selector/LevelSelector.js +14 -3
  30. package/lib/plugins/media-control/MediaControl.d.ts +1 -0
  31. package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
  32. package/lib/plugins/media-control/MediaControl.js +5 -3
  33. package/lib/plugins/playback-rate/PlaybackRate.d.ts +11 -10
  34. package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
  35. package/lib/plugins/playback-rate/PlaybackRate.js +83 -91
  36. package/package.json +1 -1
  37. package/src/playback/BasePlayback.ts +12 -4
  38. package/src/playback/HTML5Video.ts +3 -0
  39. package/src/playback/dash-playback/DashPlayback.ts +15 -11
  40. package/src/playback/index.ts +2 -1
  41. package/src/playback/types.ts +9 -0
  42. package/src/plugins/bottom-gear/BottomGear.ts +6 -15
  43. package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +3 -3
  44. package/src/plugins/dvr-controls/DvrControls.ts +87 -54
  45. package/src/plugins/level-selector/LevelSelector.ts +17 -5
  46. package/src/plugins/media-control/MediaControl.ts +9 -6
  47. package/src/plugins/playback-rate/PlaybackRate.ts +89 -105
  48. package/tsconfig.tsbuildinfo +1 -1
  49. package/assets/playback-rate/playback-rate-selector.ejs +0 -9
@@ -122,6 +122,89 @@
122
122
  .gplayer-lite-btn::-moz-focus-inner {
123
123
  border: 0;
124
124
  padding: 0;
125
+ }.big-mute-icon-wrapper[data-big-mute] {
126
+ position: absolute;
127
+ z-index: 9998;
128
+ background-color: transparent;
129
+ display: flex;
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;
137
+ }
138
+ .big-mute-icon-wrapper[data-big-mute].hide {
139
+ display: none;
140
+ }
141
+ .big-mute-icon-wrapper[data-big-mute]:hover {
142
+ cursor: pointer;
143
+ }
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;
160
+ }
161
+ .big-mute-icon[data-big-mute-icon] svg {
162
+ margin-left: 5px;
163
+ width: 80px;
164
+ height: 80px;
165
+ }
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;
174
+ }div.player-error-screen, [data-player] div.player-error-screen {
175
+ color: #CCCACA;
176
+ position: absolute;
177
+ top: 0;
178
+ height: 100%;
179
+ width: 100%;
180
+ background-color: rgba(0, 0, 0, 0.7);
181
+ z-index: 2000;
182
+ display: flex;
183
+ flex-direction: column;
184
+ justify-content: center;
185
+ }
186
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
187
+ font-size: 14px;
188
+ color: #CCCACA;
189
+ margin-top: 45px;
190
+ }
191
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
192
+ font-weight: bold;
193
+ line-height: 30px;
194
+ font-size: 18px;
195
+ }
196
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
197
+ width: 90%;
198
+ margin: 0 auto;
199
+ }
200
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
201
+ font-size: 13px;
202
+ margin-top: 15px;
203
+ }
204
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
205
+ cursor: pointer;
206
+ width: 30px;
207
+ margin: 15px auto 0;
125
208
  }*, :focus, :visited {
126
209
  outline: none !important;
127
210
  }
@@ -259,55 +342,6 @@
259
342
  100% {
260
343
  color: #B80000;
261
344
  }
262
- }.big-mute-icon-wrapper[data-big-mute] {
263
- position: absolute;
264
- z-index: 9998;
265
- background-color: transparent;
266
- display: flex;
267
- justify-content: center;
268
- width: 100%;
269
- height: calc(100% - 50px);
270
- margin: 0 auto;
271
- opacity: 0.75;
272
- transition: opacity 0.1s ease;
273
- pointer-events: auto;
274
- }
275
- .big-mute-icon-wrapper[data-big-mute].hide {
276
- display: none;
277
- }
278
- .big-mute-icon-wrapper[data-big-mute]:hover {
279
- cursor: pointer;
280
- }
281
-
282
- .big-mute-icon[data-big-mute-icon] {
283
- display: flex;
284
- align-items: center;
285
- justify-content: center;
286
- align-self: center;
287
- width: 120px;
288
- height: 120px;
289
- border: 2px solid white;
290
- border-radius: 50%;
291
- filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
292
- filter: alpha(opacity=60);
293
- opacity: 1;
294
- box-shadow: 0 0 1px 0 white;
295
- background: rgba(240, 243, 247, 0.9411764706);
296
- z-index: 10000;
297
- }
298
- .big-mute-icon[data-big-mute-icon] svg {
299
- margin-left: 5px;
300
- width: 80px;
301
- height: 80px;
302
- }
303
- .big-mute-icon[data-big-mute-icon] svg path {
304
- fill: #1f1e1e !important;
305
- }
306
- .big-mute-icon[data-big-mute-icon]:hover {
307
- background: rgba(240, 243, 247, 0.8784313725);
308
- }
309
- .big-mute-icon[data-big-mute-icon]:hover svg path {
310
- fill: #151515 !important;
311
345
  }.dvr-controls[data-dvr-controls] {
312
346
  display: inline-block;
313
347
  float: left;
@@ -796,218 +830,62 @@
796
830
  .mobile .clappr-nerd-stats[data-clappr-nerd-stats] .stats-box ul {
797
831
  width: 25%;
798
832
  }
799
- }div.player-error-screen, [data-player] div.player-error-screen {
800
- color: #CCCACA;
833
+ }.clips.bar-container[data-seekbar] {
834
+ clip-path: url("#myClip");
835
+ }.context-menu {
836
+ z-index: 999;
801
837
  position: absolute;
802
838
  top: 0;
803
- height: 100%;
804
- width: 100%;
805
- background-color: rgba(0, 0, 0, 0.7);
806
- z-index: 2000;
807
- display: flex;
808
- flex-direction: column;
809
- justify-content: center;
810
- }
811
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
812
- font-size: 14px;
813
- color: #CCCACA;
814
- margin-top: 45px;
815
- }
816
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
817
- font-weight: bold;
818
- line-height: 30px;
819
- font-size: 18px;
820
- }
821
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
822
- width: 90%;
823
- margin: 0 auto;
839
+ left: 0;
840
+ text-align: center;
824
841
  }
825
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
826
- font-size: 13px;
827
- margin-top: 15px;
842
+ .context-menu .context-menu-list {
843
+ font-family: "Proxima Nova", sans-serif;
844
+ font-size: 12px;
845
+ line-height: 12px;
846
+ list-style-type: none;
847
+ text-align: left;
848
+ padding: 5px;
849
+ margin-left: auto;
850
+ margin-right: auto;
851
+ background-color: rgba(0, 0, 0, 0.75);
852
+ border: 1px solid #666;
853
+ border-radius: 4px;
828
854
  }
829
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
855
+ .context-menu .context-menu-list .context-menu-list-item {
856
+ color: white;
857
+ padding: 5px;
830
858
  cursor: pointer;
831
- width: 30px;
832
- margin: 15px auto 0;
833
859
  }*, :focus, :visited {
834
860
  outline: none !important;
835
861
  }
836
862
 
837
- .gear-wrapper .go-back {
838
- font-weight: 600;
839
- font-size: 14px;
840
- line-height: 20px;
841
- width: 100%;
842
- text-align: left;
843
- padding: 12px;
844
- }
845
- .gear-wrapper .go-back .arrow-left-icon {
846
- float: left;
847
- padding-top: 2px;
848
- padding-right: 2px;
849
- }
850
- .gear-wrapper .go-back .arrow-left-icon svg {
851
- height: 16px;
863
+ .multicamera[data-multicamera] {
864
+ float: right;
865
+ margin-top: 4px;
866
+ position: relative;
867
+ margin-right: 20px;
868
+ width: 20px;
852
869
  }
853
- .gear-wrapper ul.gear-sub-menu {
854
- width: 100%;
855
- list-style-type: none;
870
+ .multicamera[data-multicamera] button {
856
871
  background-color: transparent;
857
- min-width: 60px;
858
- border-top: 2px solid rgb(36, 36, 36);
859
- }
860
- .gear-wrapper ul.gear-sub-menu li {
861
- font-size: 12px;
862
- text-align: left;
863
- }
864
- .gear-wrapper ul.gear-sub-menu li[data-title] {
865
- background-color: #c3c2c2;
866
- padding: 5px;
867
- }
868
- .gear-wrapper ul.gear-sub-menu li a {
869
- display: block;
870
- text-decoration: none;
871
- height: 32px;
872
- padding: 5px 10px;
873
- line-height: 22px;
874
- color: #fffffe;
875
- }
876
- .gear-wrapper ul.gear-sub-menu li a:hover {
877
- color: white;
878
- background-color: rgba(0, 0, 0, 0.4);
879
- }
880
- .gear-wrapper ul.gear-sub-menu li a:hover a {
881
- color: white;
882
- text-decoration: none;
872
+ color: #fff;
873
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
874
+ -webkit-font-smoothing: antialiased;
875
+ border: none;
876
+ font-size: 14px;
877
+ padding: 0;
883
878
  }
884
- .gear-wrapper ul.gear-sub-menu li a .check-icon {
885
- width: 30px;
879
+ .multicamera[data-multicamera] button svg {
886
880
  height: 20px;
887
- float: left;
888
- display: block;
881
+ position: relative;
882
+ margin-top: 6px;
889
883
  }
890
- .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
891
- display: none;
884
+ .multicamera[data-multicamera] button:hover {
885
+ color: #c9c9c9;
892
886
  }
893
- .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
894
- display: inline;
895
- }
896
- .gear-wrapper svg {
897
- height: 20px;
898
- }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
899
- float: right;
900
- font-family: Roboto, "Open Sans", Arial, sans-serif;
901
- }
902
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear {
903
- height: 40px;
904
- width: 40px;
905
- padding-right: 20px;
906
- }
907
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear svg {
908
- height: 20px;
909
- }
910
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
911
- position: absolute;
912
- right: 16px;
913
- bottom: 52px;
914
- display: none;
915
- width: 250px;
916
- min-height: 48px;
917
- z-index: 9999;
918
- border-radius: 4px;
919
- }
920
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
921
- padding: 8px 0;
922
- }
923
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
924
- float: left;
925
- margin-right: 10px;
926
- }
927
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
928
- margin: 0;
929
- text-align: left;
930
- line-height: 22px;
931
- padding: 5px 14px;
932
- width: 250px;
933
- font-size: 12px;
934
- }
935
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
936
- float: right;
937
- margin-right: -14px;
938
- }
939
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
940
- float: right;
941
- margin-right: 8px;
942
- }
943
- .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
944
- height: 20px;
945
- }.clips.bar-container[data-seekbar] {
946
- clip-path: url("#myClip");
947
- }.media-control-pip button {
948
- float: right;
949
- height: 40px;
950
- margin-right: 20px;
951
- }
952
- .media-control-pip button svg {
953
- height: 20px;
954
- }.context-menu {
955
- z-index: 999;
956
- position: absolute;
957
- top: 0;
958
- left: 0;
959
- text-align: center;
960
- }
961
- .context-menu .context-menu-list {
962
- font-family: "Proxima Nova", sans-serif;
963
- font-size: 12px;
964
- line-height: 12px;
965
- list-style-type: none;
966
- text-align: left;
967
- padding: 5px;
968
- margin-left: auto;
969
- margin-right: auto;
970
- background-color: rgba(0, 0, 0, 0.75);
971
- border: 1px solid #666;
972
- border-radius: 4px;
973
- }
974
- .context-menu .context-menu-list .context-menu-list-item {
975
- color: white;
976
- padding: 5px;
977
- cursor: pointer;
978
- }.level-disabled {
979
- opacity: 0.5;
980
- pointer-events: none;
981
- }*, :focus, :visited {
982
- outline: none !important;
983
- }
984
-
985
- .multicamera[data-multicamera] {
986
- float: right;
987
- margin-top: 4px;
988
- position: relative;
989
- margin-right: 20px;
990
- width: 20px;
991
- }
992
- .multicamera[data-multicamera] button {
993
- background-color: transparent;
994
- color: #fff;
995
- font-family: Roboto, "Open Sans", Arial, sans-serif;
996
- -webkit-font-smoothing: antialiased;
997
- border: none;
998
- font-size: 14px;
999
- padding: 0;
1000
- }
1001
- .multicamera[data-multicamera] button svg {
1002
- height: 20px;
1003
- position: relative;
1004
- margin-top: 6px;
1005
- }
1006
- .multicamera[data-multicamera] button:hover {
1007
- color: #c9c9c9;
1008
- }
1009
- .multicamera[data-multicamera] button.changing {
1010
- animation: pulse 0.5s infinite alternate;
887
+ .multicamera[data-multicamera] button.changing {
888
+ animation: pulse 0.5s infinite alternate;
1011
889
  }
1012
890
  .multicamera[data-multicamera] button span.quality-arrow {
1013
891
  width: 9px;
@@ -1126,123 +1004,60 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1126
1004
  100% {
1127
1005
  color: #B80000;
1128
1006
  }
1129
- }.share_plugin[data-share] {
1130
- pointer-events: auto;
1131
- z-index: 5;
1132
- font-family: Roboto, "Open Sans", Arial, sans-serif !important;
1133
- }
1134
- .share_plugin[data-share].share-hide .share-button-container {
1135
- right: -50px;
1007
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-gear {
1008
+ float: right;
1009
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1136
1010
  }
1137
- .share_plugin[data-share] .share-button-container {
1138
- cursor: pointer;
1139
- width: 36px;
1140
- height: 36px;
1141
- background-color: rgba(74, 74, 74, 0.6);
1142
- border-radius: 4px;
1143
- position: absolute;
1144
- right: 10px;
1145
- top: 10px;
1146
- padding-top: 6px;
1147
- transition: all 0.3s ease-out;
1011
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear {
1012
+ height: 40px;
1013
+ width: 40px;
1014
+ padding-right: 20px;
1148
1015
  }
1149
- .share_plugin[data-share] .share-button-container button[data-share-button] {
1150
- background-color: transparent;
1151
- border: 0;
1152
- margin: 0 6px;
1153
- padding: 0;
1154
- cursor: pointer;
1155
- display: inline-block;
1156
- width: 19px;
1016
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .button-gear svg {
1157
1017
  height: 20px;
1158
1018
  }
1159
- .share_plugin[data-share] .share-container {
1160
- pointer-events: auto;
1019
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper {
1161
1020
  position: absolute;
1162
- width: 280px;
1163
- background-color: white;
1164
- transform: translate(0, 50%);
1165
- transform: translate(-50%, -50%);
1166
- left: 50%;
1167
- /* margin-left: -140px; */
1168
- top: calc(50% - 20px);
1169
- /* margin-top: -170px; */
1170
- }
1171
- .share_plugin[data-share] .share-container .share-container-header {
1172
- text-align: left;
1173
- border-bottom: 1px solid rgba(155, 155, 155, 0.25);
1174
- }
1175
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
1176
- display: inline-block;
1177
- font-size: 16px;
1178
- margin: 5px;
1021
+ right: 16px;
1022
+ bottom: 52px;
1023
+ display: none;
1024
+ width: 250px;
1025
+ min-height: 48px;
1026
+ z-index: 9999;
1027
+ border-radius: 4px;
1179
1028
  }
1180
- .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
1181
- display: inline-block;
1182
- width: 24px;
1183
- float: right;
1184
- margin: 5px;
1185
- cursor: pointer;
1029
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list {
1030
+ padding: 8px 0;
1186
1031
  }
1187
- .share_plugin[data-share] .share-container .share-container-main {
1188
- margin-bottom: 8px;
1032
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list svg {
1033
+ float: left;
1034
+ margin-right: 10px;
1189
1035
  }
1190
- .share_plugin[data-share] .share-container .share-container-main > div {
1036
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option {
1037
+ margin: 0;
1191
1038
  text-align: left;
1192
- font-size: 14px;
1193
- padding: 5px;
1194
- }
1195
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--link, .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1196
- overflow: hidden;
1197
- text-overflow: ellipsis;
1198
- color: #818181;
1199
- border: solid 1px #d3d3d3;
1200
- width: calc(100% - 10px);
1201
- padding: 5px;
1202
- }
1203
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
1204
- max-height: 90px;
1205
- resize: none;
1206
- }
1207
- .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
1208
- width: 32px;
1209
- display: inline-block;
1210
- margin-right: 5px;
1211
- cursor: pointer;
1212
- }.player-poster[data-poster] {
1213
- display: flex;
1214
- justify-content: center;
1215
- align-items: center;
1216
- position: absolute;
1217
- height: 100%;
1218
- width: 100%;
1219
- z-index: 998;
1220
- top: 0;
1221
- left: 0;
1222
- background-color: #000;
1223
- background-size: cover;
1224
- background-repeat: no-repeat;
1225
- background-position: 50% 50%;
1226
- }
1227
- .player-poster[data-poster].clickable {
1228
- cursor: pointer;
1039
+ line-height: 22px;
1040
+ padding: 5px 14px;
1041
+ width: 250px;
1042
+ font-size: 12px;
1229
1043
  }
1230
- .player-poster[data-poster]:hover .play-wrapper[data-poster] {
1231
- opacity: 1;
1044
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_arrow-right-icon {
1045
+ float: right;
1046
+ margin-right: -14px;
1232
1047
  }
1233
- .player-poster[data-poster] .play-wrapper[data-poster] {
1234
- width: 100%;
1235
- height: 25%;
1236
- margin: 0 auto;
1237
- opacity: 0.75;
1238
- transition: opacity 0.1s ease;
1048
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option .gear-option_value {
1049
+ float: right;
1050
+ margin-right: 8px;
1239
1051
  }
1240
- .player-poster[data-poster] .play-wrapper[data-poster] svg {
1241
- height: 100%;
1242
- display: inline;
1052
+ .media-control-skin-1[data-media-control-skin-1] .media-control-gear .gear-wrapper .gear-options-list .gear-option svg {
1053
+ height: 20px;
1054
+ }.media-control-pip button {
1055
+ float: right;
1056
+ height: 40px;
1057
+ margin-right: 20px;
1243
1058
  }
1244
- .player-poster[data-poster] .play-wrapper[data-poster] svg path {
1245
- fill: #fff;
1059
+ .media-control-pip button svg {
1060
+ height: 20px;
1246
1061
  }.container-with-poster-clickable .skip_time_plugin[data-skip-time] {
1247
1062
  height: 0;
1248
1063
  }
@@ -1264,44 +1079,141 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1264
1079
  .skip_time_plugin[data-skip-time] .skip-container[data-skip-container] .skip-item {
1265
1080
  width: 33.3%;
1266
1081
  height: 100%;
1267
- }.spinner-three-bounce[data-spinner] {
1268
- position: absolute;
1269
- width: 70px;
1082
+ }.media-control-skin-1[data-media-control-skin-1] .media-control-quality,
1083
+ .media-control-skin-1[data-media-control-skin-1] .media-control-audio-tracks {
1084
+ display: block;
1085
+ }
1086
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] {
1087
+ width: 40px;
1088
+ margin-top: 0;
1089
+ }
1090
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button] {
1091
+ display: flex;
1092
+ justify-content: center;
1093
+ padding: 0;
1094
+ align-items: center;
1095
+ }
1096
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button]:hover {
1097
+ color: white;
1098
+ }
1099
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul {
1100
+ background-color: rgba(74, 74, 74, 0.6);
1101
+ border: none;
1102
+ width: auto;
1103
+ transform: rotate(180deg);
1104
+ border-radius: 4px;
1105
+ bottom: 52px;
1106
+ margin-left: -28px;
1107
+ }
1108
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li {
1109
+ transform: rotate(-180deg);
1110
+ font-size: 16px;
1270
1111
  text-align: center;
1271
- z-index: 999;
1272
- left: 0;
1273
- right: 0;
1274
- margin: 0 auto;
1275
- margin-left: auto;
1276
- margin-right: auto;
1277
- /* center vertically */
1278
- top: 50%;
1279
- transform: translateY(-50%);
1112
+ white-space: nowrap;
1113
+ height: 30px;
1280
1114
  }
1281
- .spinner-three-bounce[data-spinner] > div {
1282
- width: 18px;
1283
- height: 18px;
1284
- background-color: #FFF;
1285
- border-radius: 100%;
1286
- display: inline-block;
1287
- animation: bouncedelay 1.4s infinite ease-in-out;
1288
- /* Prevent first frame from flickering when animation starts */
1289
- animation-fill-mode: both;
1115
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a {
1116
+ height: 30px;
1117
+ padding: 5px 10px;
1118
+ color: #fffffe;
1290
1119
  }
1291
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1292
- animation-delay: -0.32s;
1120
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a:hover {
1121
+ background-color: rgba(0, 0, 0, 0.4);
1293
1122
  }
1294
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1295
- animation-delay: -0.16s;
1123
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li.current a {
1124
+ background-color: rgba(0, 0, 0, 0.4);
1125
+ }
1126
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:first-child a {
1127
+ border-bottom-left-radius: 4px;
1128
+ border-bottom-right-radius: 4px;
1129
+ }
1130
+ .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:last-child a {
1131
+ border-top-left-radius: 4px;
1132
+ border-top-right-radius: 4px;
1133
+ }
1134
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] {
1135
+ height: 26px;
1136
+ line-height: 26px;
1137
+ bottom: 52px;
1138
+ border-radius: 3px;
1139
+ background-color: rgba(74, 74, 74, 0.7);
1140
+ }
1141
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span {
1142
+ letter-spacing: 0.8px;
1143
+ font-size: 14px;
1144
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1145
+ }
1146
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-seek-time] {
1147
+ padding-left: 8px;
1148
+ padding-right: 8px;
1149
+ }
1150
+ .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
1151
+ display: none !important;
1152
+ }*, :focus, :visited {
1153
+ outline: none !important;
1296
1154
  }
1297
1155
 
1298
- @keyframes bouncedelay {
1299
- 0%, 80%, 100% {
1300
- transform: scale(0);
1301
- }
1302
- 40% {
1303
- transform: scale(1);
1304
- }
1156
+ .gear-wrapper .go-back {
1157
+ font-weight: 600;
1158
+ font-size: 14px;
1159
+ line-height: 20px;
1160
+ width: 100%;
1161
+ text-align: left;
1162
+ padding: 12px;
1163
+ }
1164
+ .gear-wrapper .go-back .arrow-left-icon {
1165
+ float: left;
1166
+ padding-top: 2px;
1167
+ padding-right: 2px;
1168
+ }
1169
+ .gear-wrapper .go-back .arrow-left-icon svg {
1170
+ height: 16px;
1171
+ }
1172
+ .gear-wrapper ul.gear-sub-menu {
1173
+ width: 100%;
1174
+ list-style-type: none;
1175
+ background-color: transparent;
1176
+ min-width: 60px;
1177
+ border-top: 2px solid rgb(36, 36, 36);
1178
+ }
1179
+ .gear-wrapper ul.gear-sub-menu li {
1180
+ font-size: 12px;
1181
+ text-align: left;
1182
+ }
1183
+ .gear-wrapper ul.gear-sub-menu li[data-title] {
1184
+ background-color: #c3c2c2;
1185
+ padding: 5px;
1186
+ }
1187
+ .gear-wrapper ul.gear-sub-menu li a {
1188
+ display: block;
1189
+ text-decoration: none;
1190
+ height: 32px;
1191
+ padding: 5px 10px;
1192
+ line-height: 22px;
1193
+ color: #fffffe;
1194
+ }
1195
+ .gear-wrapper ul.gear-sub-menu li a:hover {
1196
+ color: white;
1197
+ background-color: rgba(0, 0, 0, 0.4);
1198
+ }
1199
+ .gear-wrapper ul.gear-sub-menu li a:hover a {
1200
+ color: white;
1201
+ text-decoration: none;
1202
+ }
1203
+ .gear-wrapper ul.gear-sub-menu li a .check-icon {
1204
+ width: 30px;
1205
+ height: 20px;
1206
+ float: left;
1207
+ display: block;
1208
+ }
1209
+ .gear-wrapper ul.gear-sub-menu li a .check-icon svg {
1210
+ display: none;
1211
+ }
1212
+ .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
1213
+ display: inline;
1214
+ }
1215
+ .gear-wrapper svg {
1216
+ height: 20px;
1305
1217
  }[data-player] {
1306
1218
  --bottom-panel: 40px;
1307
1219
  }
@@ -1898,15 +1810,49 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1898
1810
  box-shadow: inset 2px 0 0 white;
1899
1811
  transition: transform 0.2s ease-out;
1900
1812
  }
1901
- .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume].fill {
1902
- box-shadow: inset 2px 0 0 #fff;
1813
+ .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume].fill {
1814
+ box-shadow: inset 2px 0 0 #fff;
1815
+ opacity: 1;
1816
+ }
1817
+ .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:nth-of-type(1) {
1818
+ padding-left: 0;
1819
+ }
1820
+ .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover {
1821
+ transform: scaleY(1.5);
1822
+ }.player-poster[data-poster] {
1823
+ display: flex;
1824
+ justify-content: center;
1825
+ align-items: center;
1826
+ position: absolute;
1827
+ height: 100%;
1828
+ width: 100%;
1829
+ z-index: 998;
1830
+ top: 0;
1831
+ left: 0;
1832
+ background-color: #000;
1833
+ background-size: cover;
1834
+ background-repeat: no-repeat;
1835
+ background-position: 50% 50%;
1836
+ }
1837
+ .player-poster[data-poster].clickable {
1838
+ cursor: pointer;
1839
+ }
1840
+ .player-poster[data-poster]:hover .play-wrapper[data-poster] {
1903
1841
  opacity: 1;
1904
1842
  }
1905
- .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:nth-of-type(1) {
1906
- padding-left: 0;
1843
+ .player-poster[data-poster] .play-wrapper[data-poster] {
1844
+ width: 100%;
1845
+ height: 25%;
1846
+ margin: 0 auto;
1847
+ opacity: 0.75;
1848
+ transition: opacity 0.1s ease;
1907
1849
  }
1908
- .media-control-skin-1[data-media-control-skin-1] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover {
1909
- transform: scaleY(1.5);
1850
+ .player-poster[data-poster] .play-wrapper[data-poster] svg {
1851
+ height: 100%;
1852
+ display: inline;
1853
+ }
1854
+ .player-poster[data-poster] .play-wrapper[data-poster] svg path {
1855
+ fill: #fff;
1910
1856
  }.scrub-thumbnails {
1911
1857
  position: absolute;
1912
1858
  bottom: 52px;
@@ -1968,6 +1914,42 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1968
1914
  }
1969
1915
  .scrub-thumbnails .backdrop .carousel img {
1970
1916
  width: auto;
1917
+ }.seek-time[data-seek-time] {
1918
+ position: absolute;
1919
+ white-space: nowrap;
1920
+ height: 20px;
1921
+ line-height: 20px;
1922
+ font-size: 0;
1923
+ left: -100%;
1924
+ bottom: 55px;
1925
+ background-color: rgba(2, 2, 2, 0.5);
1926
+ z-index: 9999;
1927
+ transition: opacity 0.1s ease;
1928
+ }
1929
+ .seek-time[data-seek-time].hidden[data-seek-time] {
1930
+ opacity: 0;
1931
+ }
1932
+ .seek-time[data-seek-time] [data-seek-time] {
1933
+ display: inline-block;
1934
+ color: white;
1935
+ font-size: 10px;
1936
+ padding-left: 7px;
1937
+ padding-right: 7px;
1938
+ vertical-align: top;
1939
+ }
1940
+ .seek-time[data-seek-time] [data-duration] {
1941
+ display: inline-block;
1942
+ color: rgba(255, 255, 255, 0.5);
1943
+ font-size: 10px;
1944
+ padding-right: 7px;
1945
+ vertical-align: top;
1946
+ }
1947
+ .seek-time[data-seek-time] [data-duration]::before {
1948
+ content: "|";
1949
+ margin-right: 7px;
1950
+ }.level-disabled {
1951
+ opacity: 0.5;
1952
+ pointer-events: none;
1971
1953
  }*, :focus, :visited {
1972
1954
  outline: none !important;
1973
1955
  }
@@ -2049,109 +2031,89 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
2049
2031
  .ios-fullscreen::cue {
2050
2032
  visibility: visible !important;
2051
2033
  font-size: 1em !important;
2052
- }.media-control-skin-1[data-media-control-skin-1] .media-control-quality,
2053
- .media-control-skin-1[data-media-control-skin-1] .media-control-audio-tracks {
2054
- display: block;
2055
- }
2056
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] {
2057
- width: 40px;
2058
- margin-top: 0;
2059
- }
2060
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button] {
2061
- display: flex;
2062
- justify-content: center;
2063
- padding: 0;
2064
- align-items: center;
2034
+ }.share_plugin[data-share] {
2035
+ pointer-events: auto;
2036
+ z-index: 5;
2037
+ font-family: Roboto, "Open Sans", Arial, sans-serif !important;
2065
2038
  }
2066
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] button[data-subtitles-button]:hover {
2067
- color: white;
2039
+ .share_plugin[data-share].share-hide .share-button-container {
2040
+ right: -50px;
2068
2041
  }
2069
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul {
2042
+ .share_plugin[data-share] .share-button-container {
2043
+ cursor: pointer;
2044
+ width: 36px;
2045
+ height: 36px;
2070
2046
  background-color: rgba(74, 74, 74, 0.6);
2071
- border: none;
2072
- width: auto;
2073
- transform: rotate(180deg);
2074
2047
  border-radius: 4px;
2075
- bottom: 52px;
2076
- margin-left: -28px;
2077
- }
2078
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li {
2079
- transform: rotate(-180deg);
2080
- font-size: 16px;
2081
- text-align: center;
2082
- white-space: nowrap;
2083
- height: 30px;
2048
+ position: absolute;
2049
+ right: 10px;
2050
+ top: 10px;
2051
+ padding-top: 6px;
2052
+ transition: all 0.3s ease-out;
2084
2053
  }
2085
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a {
2086
- height: 30px;
2087
- padding: 5px 10px;
2088
- color: #fffffe;
2054
+ .share_plugin[data-share] .share-button-container button[data-share-button] {
2055
+ background-color: transparent;
2056
+ border: 0;
2057
+ margin: 0 6px;
2058
+ padding: 0;
2059
+ cursor: pointer;
2060
+ display: inline-block;
2061
+ width: 19px;
2062
+ height: 20px;
2089
2063
  }
2090
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li a:hover {
2091
- background-color: rgba(0, 0, 0, 0.4);
2064
+ .share_plugin[data-share] .share-container {
2065
+ pointer-events: auto;
2066
+ position: absolute;
2067
+ width: 280px;
2068
+ background-color: white;
2069
+ transform: translate(0, 50%);
2070
+ transform: translate(-50%, -50%);
2071
+ left: 50%;
2072
+ /* margin-left: -140px; */
2073
+ top: calc(50% - 20px);
2074
+ /* margin-top: -170px; */
2092
2075
  }
2093
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li.current a {
2094
- background-color: rgba(0, 0, 0, 0.4);
2076
+ .share_plugin[data-share] .share-container .share-container-header {
2077
+ text-align: left;
2078
+ border-bottom: 1px solid rgba(155, 155, 155, 0.25);
2095
2079
  }
2096
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:first-child a {
2097
- border-bottom-left-radius: 4px;
2098
- border-bottom-right-radius: 4px;
2080
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--title {
2081
+ display: inline-block;
2082
+ font-size: 16px;
2083
+ margin: 5px;
2099
2084
  }
2100
- .media-control-skin-1[data-media-control-skin-1] .media-control-subtitles .subtitles[data-subtitles] ul li:last-child a {
2101
- border-top-left-radius: 4px;
2102
- border-top-right-radius: 4px;
2085
+ .share_plugin[data-share] .share-container .share-container-header .share-container-header--close {
2086
+ display: inline-block;
2087
+ width: 24px;
2088
+ float: right;
2089
+ margin: 5px;
2090
+ cursor: pointer;
2103
2091
  }
2104
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] {
2105
- height: 26px;
2106
- line-height: 26px;
2107
- bottom: 52px;
2108
- border-radius: 3px;
2109
- background-color: rgba(74, 74, 74, 0.7);
2092
+ .share_plugin[data-share] .share-container .share-container-main {
2093
+ margin-bottom: 8px;
2110
2094
  }
2111
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span {
2112
- letter-spacing: 0.8px;
2095
+ .share_plugin[data-share] .share-container .share-container-main > div {
2096
+ text-align: left;
2113
2097
  font-size: 14px;
2114
- font-family: Roboto, "Open Sans", Arial, sans-serif;
2115
- }
2116
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-seek-time] {
2117
- padding-left: 8px;
2118
- padding-right: 8px;
2119
- }
2120
- .media-control-skin-1[data-media-control-skin-1] .seek-time[data-seek-time] span[data-duration] {
2121
- display: none !important;
2122
- }.seek-time[data-seek-time] {
2123
- position: absolute;
2124
- white-space: nowrap;
2125
- height: 20px;
2126
- line-height: 20px;
2127
- font-size: 0;
2128
- left: -100%;
2129
- bottom: 55px;
2130
- background-color: rgba(2, 2, 2, 0.5);
2131
- z-index: 9999;
2132
- transition: opacity 0.1s ease;
2098
+ padding: 5px;
2133
2099
  }
2134
- .seek-time[data-seek-time].hidden[data-seek-time] {
2135
- opacity: 0;
2100
+ .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 {
2101
+ overflow: hidden;
2102
+ text-overflow: ellipsis;
2103
+ color: #818181;
2104
+ border: solid 1px #d3d3d3;
2105
+ width: calc(100% - 10px);
2106
+ padding: 5px;
2136
2107
  }
2137
- .seek-time[data-seek-time] [data-seek-time] {
2138
- display: inline-block;
2139
- color: white;
2140
- font-size: 10px;
2141
- padding-left: 7px;
2142
- padding-right: 7px;
2143
- vertical-align: top;
2108
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--embed {
2109
+ max-height: 90px;
2110
+ resize: none;
2144
2111
  }
2145
- .seek-time[data-seek-time] [data-duration] {
2112
+ .share_plugin[data-share] .share-container .share-container-main .share-container-header--socialicon > div {
2113
+ width: 32px;
2146
2114
  display: inline-block;
2147
- color: rgba(255, 255, 255, 0.5);
2148
- font-size: 10px;
2149
- padding-right: 7px;
2150
- vertical-align: top;
2151
- }
2152
- .seek-time[data-seek-time] [data-duration]::before {
2153
- content: "|";
2154
- margin-right: 7px;
2115
+ margin-right: 5px;
2116
+ cursor: pointer;
2155
2117
  }.player-logo[data-logo] {
2156
2118
  position: absolute;
2157
2119
  z-index: 2;
@@ -2161,4 +2123,42 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
2161
2123
 
2162
2124
  .clappr-logo {
2163
2125
  position: absolute;
2126
+ }.spinner-three-bounce[data-spinner] {
2127
+ position: absolute;
2128
+ width: 70px;
2129
+ text-align: center;
2130
+ z-index: 999;
2131
+ left: 0;
2132
+ right: 0;
2133
+ margin: 0 auto;
2134
+ margin-left: auto;
2135
+ margin-right: auto;
2136
+ /* center vertically */
2137
+ top: 50%;
2138
+ transform: translateY(-50%);
2139
+ }
2140
+ .spinner-three-bounce[data-spinner] > div {
2141
+ width: 18px;
2142
+ height: 18px;
2143
+ background-color: #FFF;
2144
+ border-radius: 100%;
2145
+ display: inline-block;
2146
+ animation: bouncedelay 1.4s infinite ease-in-out;
2147
+ /* Prevent first frame from flickering when animation starts */
2148
+ animation-fill-mode: both;
2149
+ }
2150
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
2151
+ animation-delay: -0.32s;
2152
+ }
2153
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
2154
+ animation-delay: -0.16s;
2155
+ }
2156
+
2157
+ @keyframes bouncedelay {
2158
+ 0%, 80%, 100% {
2159
+ transform: scale(0);
2160
+ }
2161
+ 40% {
2162
+ transform: scale(1);
2163
+ }
2164
2164
  }