@viewlift/player-backup 2.0.387-backup → 2.0.388-backup
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.
- package/cjs/{autoNextVideo-279149d3.js → autoNextVideo-5d96dfd8.js} +1 -1
- package/cjs/bundle.css +243 -243
- package/cjs/{features-52c016cf.js → features-159b6881.js} +1 -1
- package/cjs/{generic-819de11a.js → generic-a5c16647.js} +1 -1
- package/cjs/{index-59bda075.js → index-52087553.js} +1 -1
- package/cjs/{index-680e0123.js → index-788fb63b.js} +1 -1
- package/cjs/{index-5395c3d8.js → index-c05087e2.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-bc6beb4f.js → multicamv2-a0e40578.js} +1 -1
- package/cjs/{multicamv2-78d5cc82.js → multicamv2-ad4fbf67.js} +1 -1
- package/cjs/{nextEpisodeButton-5be2318e.js → nextEpisodeButton-938129c4.js} +1 -1
- package/cjs/{playlist-2325af1a.js → playlist-dc97212e.js} +1 -1
- package/cjs/{series-b06f3994.js → series-95f0d2b1.js} +1 -1
- package/cjs/{series-v2-392800ad.js → series-v2-4dfa43e1.js} +1 -1
- package/cjs/{series-v2-f8ef23dd.js → series-v2-d31d9594.js} +1 -1
- package/cjs/{skin-a7a321e3.js → skin-01c0f6b9.js} +1 -1
- package/cjs/{skin-f1693cf2.js → skin-0427f15f.js} +1 -1
- package/cjs/{skin-5b0f3693.js → skin-45b59e86.js} +1 -1
- package/cjs/{skin-11ae9ab1.js → skin-9860884e.js} +1 -1
- package/cjs/{skin-bcd700ea.js → skin-9c0c0ae3.js} +1 -1
- package/cjs/{skin-05b4e276.js → skin-ac9cf139.js} +1 -1
- package/cjs/{skin-e281435b.js → skin-c9fa937e.js} +1 -1
- package/cjs/{skin-9125ee37.js → skin-cab8b6d2.js} +1 -1
- package/cjs/{skin-63fc5196.js → skin-cbbea5d0.js} +1 -1
- package/cjs/{skin-f2e856c6.js → skin-ce275bae.js} +1 -1
- package/cjs/{videoSelector-44f6bce9.js → videoSelector-c825e386.js} +1 -1
- package/cjs/{videoSelector-b2c9045a.js → videoSelector-ced69919.js} +1 -1
- package/cjs/videojs-dash5.es-62f51650.js +1 -0
- package/esm/{autoNextVideo-87227cda.js → autoNextVideo-ac1f3171.js} +1 -1
- package/esm/bundle.css +243 -243
- package/esm/{features-39395559.js → features-64cd7edf.js} +1 -1
- package/esm/{generic-217313e8.js → generic-e5ce545a.js} +1 -1
- package/esm/{index-72e5103e.js → index-302e85e4.js} +1 -1
- package/esm/{index-3366a6f7.js → index-66c8402b.js} +1 -1
- package/esm/{index-8d1f9950.js → index-8192aad1.js} +1 -1
- package/esm/index.js +1 -1
- package/esm/{multicamv2-25494d76.js → multicamv2-05305256.js} +1 -1
- package/esm/{multicamv2-fddeec79.js → multicamv2-5824c3b6.js} +1 -1
- package/esm/{nextEpisodeButton-eb8cdbd0.js → nextEpisodeButton-44b32ceb.js} +1 -1
- package/esm/{playlist-62724bc8.js → playlist-207f98bd.js} +1 -1
- package/esm/{series-39042226.js → series-a776c9da.js} +1 -1
- package/esm/{series-v2-0d7c07ec.js → series-v2-3615cc8d.js} +1 -1
- package/esm/{series-v2-44ed649f.js → series-v2-41136150.js} +1 -1
- package/esm/{skin-9909d528.js → skin-11d9d9fa.js} +1 -1
- package/esm/{skin-dccc375d.js → skin-31df38ce.js} +1 -1
- package/esm/{skin-5baf0fae.js → skin-35f52ac7.js} +1 -1
- package/esm/{skin-0629adce.js → skin-469b3d49.js} +1 -1
- package/esm/{skin-79189761.js → skin-850c4cb7.js} +1 -1
- package/esm/{skin-8d2ffd30.js → skin-8bd7af13.js} +1 -1
- package/esm/{skin-3b52bfba.js → skin-9bca7f9c.js} +1 -1
- package/esm/{skin-f313521b.js → skin-c416303b.js} +1 -1
- package/esm/{skin-896a9884.js → skin-c4dea6da.js} +1 -1
- package/esm/{skin-41dfbb4d.js → skin-f923ce4c.js} +1 -1
- package/esm/{videoSelector-ffed3961.js → videoSelector-9592ec68.js} +1 -1
- package/esm/{videoSelector-a732d910.js → videoSelector-fb7fb8d6.js} +1 -1
- package/esm/videojs-dash5.es-24300b5e.js +1 -0
- package/package.json +1 -1
- package/cjs/videojs-dash5.es-0f92604f.js +0 -1
- package/esm/videojs-dash5.es-cfe95daa.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t=require("./generic-
|
|
1
|
+
"use strict";var e,t=require("./generic-a5c16647.js"),n=require("./index-c05087e2.js"),o=require("./skin-55634dc6.js"),i=0,r=0,u=new Set(["NOT_AIRED","VIDEO_NOT_AVAILABLE","CONTENT_NOT_AVAILABLE"]),l=function(e){return(null==e?void 0:e.response)||e},s=function(e,t){return e&&null!=t&&t.gist&&(e.response=e.response||{},e.response.video=e.response.video||{},e.response.video.gist=t.gist),e},d=function(e){var t,n,o=l(e),i=null==o||null===(t=o.response)||void 0===t?void 0:t.data;return 403===(null==o||null===(n=o.response)||void 0===n?void 0:n.status)||(!!(null!=i&&i.scheduleStartDate&&Number(i.scheduleStartDate)>Date.now())||!(null==i||!i.errorCode||!u.has(i.errorCode)))},a=function(e,t){clearTimeout(i);var r=l(t);n.handleCountdownTimer(e,r,null);var u=o.getPlayer(e);u&&!u.paused()&&u.pause()},c=function(e,n,i){var r=i[e];if(function(e){var t,n=null==e||null===(t=e.gist)||void 0===t?void 0:t.scheduleStartDate;return n&&Number(n)>Date.now()}(r))return Promise.reject(function(e){var t,n,o;return{response:{data:{errorMessage:null!=e&&null!==(t=e.gist)&&void 0!==t&&t.scheduleStartDate?"Coming soon":"Content not available",scheduleStartDate:null==e||null===(n=e.gist)||void 0===n?void 0:n.scheduleStartDate,scheduleEndDate:null==e||null===(o=e.gist)||void 0===o?void 0:o.scheduleEndDate,gist:null==e?void 0:e.gist}}}}(r));if(!o.getPlayer(n)){var u={status:!1,msg:"Player not initialised for next episode load",response:{playerId:n,episode:r}};return console.error("[autoNextVideo] player not found before trying next episode load",u),Promise.reject(u)}return t.load(n,r.id)},v=[],g=function e(n,i,u,l){r=n,n>u.length-1||(t.setVideoIdx(r+1),c(n,i,u).then((function(e){o.highlightVideo(r,i),r++,h(e)})).catch((function(t){h(s(t,u[n])),d(t)?a(i,t):setTimeout((function(){o.highlightVideo(r,i),r++,e(r,i,u)}),5e3)})))},h=function(t){e&&e(t)};exports.autoPlayNext=function(u){clearTimeout(i),v=(null==u?void 0:u.content)||[],e=null==u?void 0:u.cb;var l=u.playerId;n.onVideoEnded(l,(function(){var e=o.getPlayer(l);0!==(null==e?void 0:e.currentTime())&&((r=t.getVideoIdx())>v.length-1||(t.setVideoIdx(r+1),c(r,l,v).then((function(e){o.highlightVideo(r,l),t.setCurrentVideo(e.response),r++,h(e)})).catch((function(e){h(s(e,v[idx])),o.highlightVideo(r,l),d(e)?a(l,e):(r++,i=setTimeout((function(){t.isPaused(l)&&g(r,l,v)}),5e3))}))))}))},exports.switchToNext=g,exports.updateContent=function(e){v=e||[]};
|
package/cjs/bundle.css
CHANGED
|
@@ -1,214 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
4
|
-
height: 0.7em !important;
|
|
5
|
-
position: absolute !important;
|
|
6
|
-
top: -0.7em !important;
|
|
7
|
-
width: 100% !important;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
11
|
-
height: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
15
|
-
line-height: 2.5;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
19
|
-
height: 19px;
|
|
20
|
-
width: 19px;
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
}
|
|
23
|
-
.video-js.skin_vlone .vjs-control {
|
|
24
|
-
user-select: none;
|
|
25
|
-
}
|
|
26
|
-
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
27
|
-
user-select: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
31
|
-
height: 19px;
|
|
32
|
-
width: 19px;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.video-js.skin_vlone .vjs-play-progress:before {
|
|
37
|
-
display: none !important;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
41
|
-
margin: 0 !important;
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
47
|
-
display: block;
|
|
48
|
-
flex: 1 1 auto;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
52
|
-
z-index: 1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
.video-js.skin_vlone .vjs-control-bar {
|
|
57
|
-
height: 40px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
61
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
62
|
-
position: relative !important;
|
|
63
|
-
}
|
|
64
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
65
|
-
display: flex;
|
|
66
|
-
left: 0px;
|
|
67
|
-
top: -1px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
71
|
-
font-size: 2em !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.video-js.skin_vlone .vjs-control {
|
|
75
|
-
width: 4.3em;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.vjs-menu-button-popup .vjs-menu {
|
|
79
|
-
bottom: 10px !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.video-js .vjs-subs-caps-button .vjs-menu li,
|
|
83
|
-
.video-js .vjs-subtitles-button .vjs-menu li,
|
|
84
|
-
.video-js .vjs-captions-button .vjs-menu li {
|
|
85
|
-
text-transform: none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
90
|
-
height: 1.3em !important;
|
|
91
|
-
position: absolute !important;
|
|
92
|
-
top: -1.3em !important;
|
|
93
|
-
transition: height 0.3s, top 0.3s !important;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
98
|
-
display: none !important;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
102
|
-
display: block;
|
|
103
|
-
}
|
|
104
|
-
.video-js.skin_vlone .vjs-remaining-time {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
109
|
-
line-height: 3.5em;
|
|
110
|
-
font-size: 1.1em;
|
|
111
|
-
min-width: 4em;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.video-js.skin_vlone .vjs-time-divider > div{
|
|
115
|
-
display: flex;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.video-js.skin_vlone .vjs-live-control{
|
|
120
|
-
align-items: center;
|
|
121
|
-
}
|
|
122
|
-
.video-js.skin_vlone .vjs-live-display{
|
|
123
|
-
height: 2.2em;
|
|
124
|
-
display: flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
font-family: monospace;
|
|
127
|
-
width: 4em;
|
|
128
|
-
justify-content: center;
|
|
129
|
-
background: red;
|
|
130
|
-
margin: 4px 0px 4px 12px;
|
|
131
|
-
}
|
|
132
|
-
.video-js.skin_vlone .vjs-live-display.vjs-behind-live{
|
|
133
|
-
background: #6b6b6b;
|
|
134
|
-
}
|
|
135
|
-
.video-js.skin_vlone .vjs-live-display:hover{
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
140
|
-
line-height: 3.5em !important;
|
|
141
|
-
font-size: 1.1em !important;
|
|
142
|
-
width: min-content !important;
|
|
143
|
-
min-width: 1.5em;
|
|
144
|
-
padding: 0 !important;
|
|
145
|
-
user-select: none;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
149
|
-
margin-left: 16px !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
153
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
154
|
-
font-size: 1.2em !important;
|
|
155
|
-
line-height: 1.5em !important;
|
|
156
|
-
padding: 0.2em 0.8em !important;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
/* Big play */
|
|
161
|
-
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
162
|
-
width: 80px;
|
|
163
|
-
height: 80px;
|
|
164
|
-
display: flex;
|
|
165
|
-
justify-content: center;
|
|
166
|
-
align-items: center;
|
|
167
|
-
border: none;
|
|
168
|
-
position: absolute;
|
|
169
|
-
top: 0;
|
|
170
|
-
left: 0;
|
|
171
|
-
right: 0;
|
|
172
|
-
bottom: 0;
|
|
173
|
-
margin: auto;
|
|
174
|
-
font-size: 5em;
|
|
175
|
-
line-height: 1.3em;
|
|
176
|
-
transform: none !important;
|
|
177
|
-
border-radius: 1.3em;
|
|
178
|
-
}
|
|
179
|
-
.video-js.skin_vlone .ssai-ad-container{
|
|
180
|
-
position: absolute;
|
|
181
|
-
bottom: 4px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
@media(max-width:600px){
|
|
185
|
-
.video-js.skin_vlone button.vjs-big-play-button {
|
|
186
|
-
width: 50px !important;
|
|
187
|
-
height: 50px !important;
|
|
188
|
-
font-size: 2.1rem !important;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.video-js.skin_vlone .ssai-ad-container {
|
|
192
|
-
position: absolute;
|
|
193
|
-
bottom: 2px;
|
|
194
|
-
}
|
|
195
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
196
|
-
display: none;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
200
|
-
/* display: none; */
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
204
|
-
/* display: none; */
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
.video-js .vjs-control-bar .vjs-subs-caps-button .vjs-menu .vjs-selected {
|
|
208
|
-
text-decoration: underline;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
3
|
|
|
213
4
|
.video-js.skin_news .vjs-button>.vjs-icon-placeholder:before {
|
|
214
5
|
font-size: 2.2em;
|
|
@@ -738,6 +529,8 @@
|
|
|
738
529
|
|
|
739
530
|
|
|
740
531
|
|
|
532
|
+
|
|
533
|
+
|
|
741
534
|
.video-js.skin_news_live .vjs-button>.vjs-icon-placeholder:before {
|
|
742
535
|
font-size: 2.2em;
|
|
743
536
|
line-height: 2.6;
|
|
@@ -1220,6 +1013,213 @@
|
|
|
1220
1013
|
|
|
1221
1014
|
|
|
1222
1015
|
|
|
1016
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
1017
|
+
height: 0.7em !important;
|
|
1018
|
+
position: absolute !important;
|
|
1019
|
+
top: -0.7em !important;
|
|
1020
|
+
width: 100% !important;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
1024
|
+
height: 100%;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
1028
|
+
line-height: 2.5;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
1032
|
+
height: 19px;
|
|
1033
|
+
width: 19px;
|
|
1034
|
+
cursor: pointer;
|
|
1035
|
+
}
|
|
1036
|
+
.video-js.skin_vlone .vjs-control {
|
|
1037
|
+
user-select: none;
|
|
1038
|
+
}
|
|
1039
|
+
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
1040
|
+
user-select: none;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
1044
|
+
height: 19px;
|
|
1045
|
+
width: 19px;
|
|
1046
|
+
cursor: pointer;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.video-js.skin_vlone .vjs-play-progress:before {
|
|
1050
|
+
display: none !important;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
1054
|
+
margin: 0 !important;
|
|
1055
|
+
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
1060
|
+
display: block;
|
|
1061
|
+
flex: 1 1 auto;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
1065
|
+
z-index: 1;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
.video-js.skin_vlone .vjs-control-bar {
|
|
1070
|
+
height: 40px;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
1074
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1075
|
+
position: relative !important;
|
|
1076
|
+
}
|
|
1077
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
1078
|
+
display: flex;
|
|
1079
|
+
left: 0px;
|
|
1080
|
+
top: -1px;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1084
|
+
font-size: 2em !important;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.video-js.skin_vlone .vjs-control {
|
|
1088
|
+
width: 4.3em;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.vjs-menu-button-popup .vjs-menu {
|
|
1092
|
+
bottom: 10px !important;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.video-js .vjs-subs-caps-button .vjs-menu li,
|
|
1096
|
+
.video-js .vjs-subtitles-button .vjs-menu li,
|
|
1097
|
+
.video-js .vjs-captions-button .vjs-menu li {
|
|
1098
|
+
text-transform: none;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
1103
|
+
height: 1.3em !important;
|
|
1104
|
+
position: absolute !important;
|
|
1105
|
+
top: -1.3em !important;
|
|
1106
|
+
transition: height 0.3s, top 0.3s !important;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
1111
|
+
display: none !important;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1115
|
+
display: block;
|
|
1116
|
+
}
|
|
1117
|
+
.video-js.skin_vlone .vjs-remaining-time {
|
|
1118
|
+
display: none;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
1122
|
+
line-height: 3.5em;
|
|
1123
|
+
font-size: 1.1em;
|
|
1124
|
+
min-width: 4em;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.video-js.skin_vlone .vjs-time-divider > div{
|
|
1128
|
+
display: flex;
|
|
1129
|
+
justify-content: center;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.video-js.skin_vlone .vjs-live-control{
|
|
1133
|
+
align-items: center;
|
|
1134
|
+
}
|
|
1135
|
+
.video-js.skin_vlone .vjs-live-display{
|
|
1136
|
+
height: 2.2em;
|
|
1137
|
+
display: flex;
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
font-family: monospace;
|
|
1140
|
+
width: 4em;
|
|
1141
|
+
justify-content: center;
|
|
1142
|
+
background: red;
|
|
1143
|
+
margin: 4px 0px 4px 12px;
|
|
1144
|
+
}
|
|
1145
|
+
.video-js.skin_vlone .vjs-live-display.vjs-behind-live{
|
|
1146
|
+
background: #6b6b6b;
|
|
1147
|
+
}
|
|
1148
|
+
.video-js.skin_vlone .vjs-live-display:hover{
|
|
1149
|
+
cursor: pointer;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1153
|
+
line-height: 3.5em !important;
|
|
1154
|
+
font-size: 1.1em !important;
|
|
1155
|
+
width: min-content !important;
|
|
1156
|
+
min-width: 1.5em;
|
|
1157
|
+
padding: 0 !important;
|
|
1158
|
+
user-select: none;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
1162
|
+
margin-left: 16px !important;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
1166
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
1167
|
+
font-size: 1.2em !important;
|
|
1168
|
+
line-height: 1.5em !important;
|
|
1169
|
+
padding: 0.2em 0.8em !important;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
/* Big play */
|
|
1174
|
+
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
1175
|
+
width: 80px;
|
|
1176
|
+
height: 80px;
|
|
1177
|
+
display: flex;
|
|
1178
|
+
justify-content: center;
|
|
1179
|
+
align-items: center;
|
|
1180
|
+
border: none;
|
|
1181
|
+
position: absolute;
|
|
1182
|
+
top: 0;
|
|
1183
|
+
left: 0;
|
|
1184
|
+
right: 0;
|
|
1185
|
+
bottom: 0;
|
|
1186
|
+
margin: auto;
|
|
1187
|
+
font-size: 5em;
|
|
1188
|
+
line-height: 1.3em;
|
|
1189
|
+
transform: none !important;
|
|
1190
|
+
border-radius: 1.3em;
|
|
1191
|
+
}
|
|
1192
|
+
.video-js.skin_vlone .ssai-ad-container{
|
|
1193
|
+
position: absolute;
|
|
1194
|
+
bottom: 4px;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
@media(max-width:600px){
|
|
1198
|
+
.video-js.skin_vlone button.vjs-big-play-button {
|
|
1199
|
+
width: 50px !important;
|
|
1200
|
+
height: 50px !important;
|
|
1201
|
+
font-size: 2.1rem !important;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.video-js.skin_vlone .ssai-ad-container {
|
|
1205
|
+
position: absolute;
|
|
1206
|
+
bottom: 2px;
|
|
1207
|
+
}
|
|
1208
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
1209
|
+
display: none;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
1213
|
+
/* display: none; */
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
1217
|
+
/* display: none; */
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
.video-js .vjs-control-bar .vjs-subs-caps-button .vjs-menu .vjs-selected {
|
|
1221
|
+
text-decoration: underline;
|
|
1222
|
+
}
|
|
1223
1223
|
.video-js.skin_mini .vjs-button>.vjs-icon-placeholder:before {
|
|
1224
1224
|
font-size: 2.2em;
|
|
1225
1225
|
line-height: 2.6;
|
|
@@ -1692,6 +1692,7 @@
|
|
|
1692
1692
|
|
|
1693
1693
|
|
|
1694
1694
|
|
|
1695
|
+
|
|
1695
1696
|
.video-js.skin_cn_news .vjs-control-bar {
|
|
1696
1697
|
z-index: 1 !important;
|
|
1697
1698
|
height: auto !important;
|
|
@@ -2049,7 +2050,6 @@
|
|
|
2049
2050
|
}
|
|
2050
2051
|
}
|
|
2051
2052
|
|
|
2052
|
-
|
|
2053
2053
|
/* CSS for videojs-dvr-seekbar */
|
|
2054
2054
|
|
|
2055
2055
|
.video-js.vjs-dvr-seekbar {
|
|
@@ -2312,6 +2312,7 @@
|
|
|
2312
2312
|
|
|
2313
2313
|
|
|
2314
2314
|
|
|
2315
|
+
|
|
2315
2316
|
/* Watch in Vertical View Button */
|
|
2316
2317
|
.video-js .vjs-control.vjs-vertical-view-button {
|
|
2317
2318
|
width: auto !important;
|
|
@@ -2399,7 +2400,6 @@
|
|
|
2399
2400
|
}
|
|
2400
2401
|
}
|
|
2401
2402
|
|
|
2402
|
-
|
|
2403
2403
|
.vjs-custom-big-mute.vjs-control{
|
|
2404
2404
|
position: absolute;
|
|
2405
2405
|
align-items: center;
|
|
@@ -2730,38 +2730,6 @@
|
|
|
2730
2730
|
z-index: 30 !important;
|
|
2731
2731
|
}
|
|
2732
2732
|
|
|
2733
|
-
/* a wrapper element that tracks the mouse vertically */
|
|
2734
|
-
.vjs-thumbnail-holder {
|
|
2735
|
-
position: absolute;
|
|
2736
|
-
left: -1000px;
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
|
-
/* the thumbnail image itself */
|
|
2740
|
-
.vjs-thumbnail {
|
|
2741
|
-
position: absolute;
|
|
2742
|
-
left: 0;
|
|
2743
|
-
bottom: 1.3em;
|
|
2744
|
-
opacity: 0;
|
|
2745
|
-
transition: opacity .2s ease;
|
|
2746
|
-
-webkit-transition: opacity .2s ease;
|
|
2747
|
-
-moz-transition: opacity .2s ease;
|
|
2748
|
-
-mz-transition: opacity .2s ease;
|
|
2749
|
-
}
|
|
2750
|
-
|
|
2751
|
-
/* fade in the thumbnail when hovering over the progress bar */
|
|
2752
|
-
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2753
|
-
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2754
|
-
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2755
|
-
.vjs-progress-control:active .vjs-thumbnail {
|
|
2756
|
-
opacity: 1;
|
|
2757
|
-
}
|
|
2758
|
-
|
|
2759
|
-
/* ... but hide the thumbnail when hovering directly over it */
|
|
2760
|
-
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2761
|
-
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2762
|
-
opacity: 0;
|
|
2763
|
-
}
|
|
2764
|
-
|
|
2765
2733
|
.video-js.vjs-quality-menu {
|
|
2766
2734
|
display: block;
|
|
2767
2735
|
}
|
|
@@ -2841,6 +2809,38 @@
|
|
|
2841
2809
|
.video-js.vjs-quality-menu .vjs-quality-menu-wrapper .vjs-menu .vjs-menu-content::-webkit-scrollbar{
|
|
2842
2810
|
display: none;
|
|
2843
2811
|
}
|
|
2812
|
+
/* a wrapper element that tracks the mouse vertically */
|
|
2813
|
+
.vjs-thumbnail-holder {
|
|
2814
|
+
position: absolute;
|
|
2815
|
+
left: -1000px;
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
/* the thumbnail image itself */
|
|
2819
|
+
.vjs-thumbnail {
|
|
2820
|
+
position: absolute;
|
|
2821
|
+
left: 0;
|
|
2822
|
+
bottom: 1.3em;
|
|
2823
|
+
opacity: 0;
|
|
2824
|
+
transition: opacity .2s ease;
|
|
2825
|
+
-webkit-transition: opacity .2s ease;
|
|
2826
|
+
-moz-transition: opacity .2s ease;
|
|
2827
|
+
-mz-transition: opacity .2s ease;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
/* fade in the thumbnail when hovering over the progress bar */
|
|
2831
|
+
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
|
|
2832
|
+
.vjs-progress-control:hover .vjs-thumbnail,
|
|
2833
|
+
.vjs-progress-control.fake-active .vjs-thumbnail,
|
|
2834
|
+
.vjs-progress-control:active .vjs-thumbnail {
|
|
2835
|
+
opacity: 1;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
/* ... but hide the thumbnail when hovering directly over it */
|
|
2839
|
+
.vjs-progress-control:hover .vjs-thumbnail:hover,
|
|
2840
|
+
.vjs-progress-control:active .vjs-thumbnail:active {
|
|
2841
|
+
opacity: 0;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
2844
|
.vjs-poster {
|
|
2845
2845
|
display: inline-block;
|
|
2846
2846
|
vertical-align: middle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-a5c16647.js"),s=require("./renditions-05a85e06.js"),d=require("./skin-55634dc6.js"),u=require("./localisation-da6f64c6.js"),c=require("./playerControlEvents-db923a5c.js");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?h(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(e){var t=g();return function(){var r,n=l(e);if(t){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return o(this,r)}}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}exports.addBigMuteButton=function(e,t){Promise.resolve().then((function(){return require("./index-d9460e79.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("MuteButton",n),o.addChild("MuteButton",p({playerId:e},t))}))},exports.addCaptionButton=function(e,t){Promise.resolve().then((function(){return require("./caption-settings-c66e624f.js")})).then((function(r){var n,o,l,a,s=r.default,u=d.getPlayer(e);i.registerComponent("captionSelector",s),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("caption-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),u&&u.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},u.controlBar.children().length-3)}))},exports.addDBClickFullScreen=function(e){var t=d.getPlayer(e).el(),r=0,n=d.getPlayer(e);n.addChild("fullscreenToggle");var o=function(){var e,r=null==t||null===(e=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===e?void 0:e[0];r&&r.click()};n.el().addEventListener("dblclick",o),window._multiplayer_dbClickHandler=o;n.el().addEventListener("touchend",(function(){var e=(new Date).getTime(),n=e-r;if(n<300&&n>0){var o,l=null==t||null===(o=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===o?void 0:o[0];l&&l.click()}r=e})),window._multiplayer_dbTapHandler=o},exports.addMulticamSelector=function(e,t){Promise.resolve().then((function(){return require("./multicamv2-ad4fbf67.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)}))},exports.addMulticamSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then((function(){return require("./multicamv2-a0e40578.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)}))},exports.addNextEpisodeButton=function(e,t,r){Promise.resolve().then((function(){return require("./nextEpisodeButton-938129c4.js")})).then((function(n){var o=n.default,l=d.getPlayer(r);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:r,sres:e,res:t},l.controlBar.children().length-5)}))},exports.addOutputtingOverlay=function(e,t){var r=d.getPlayer(e).el(),n=i.dom.createEl("div",{className:"output-overlay",innerHTML:'<iframe frameBorder="0" src='.concat(t,"></iframe>")});r.append(n)},exports.addPlaylistSelector=function(e,t){Promise.resolve().then((function(){return require("./playlist-dc97212e.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("playlistSelector",n),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)}))},exports.addResolutionModule=function(e,t,r){Promise.resolve().then((function(){return require("./resolution-ac7705e6.js")})).then((function(e){return e.resolution})).then((function(n){var o=n.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=d.getPlayer(e),a=s.getRenditions(e);(null==a?void 0:a.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:r,renditions:a},l.controlBar.children().length-4))}))},exports.addRewindButton=function(e,o,l){var s=function(o){n(s,o);var i=v(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-rewind-button"),o.setAttribute("aria-label","Backward 10 seconds");var a=d.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){c.triggerPlayerAction(this.player_,c.PLAYER_ACTIONS.REPLAY),a.rewind(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSeriesModule=function(e,t,r){Promise.resolve().then((function(){return require("./series-95f0d2b1.js")})).then((function(n){var o=n.seriesModule,l=d.getPlayer(e);i.registerComponent("seriesModule",o),l.getChild("controlBar").addChild("seriesModule",{playerId:e,seriesData:t},l.controlBar.children().length-4);for(var a=document.querySelectorAll(".season-title-sdk"),s=function(e){a[e].addEventListener("click",(function(){t[e]&&n.handleSeasonChange(t[e],e,l,r)}))},u=0;u<a.length;u++)s(u)}))},exports.addSeriesSelectorV2=function(e,t){Promise.resolve().then((function(){return require("./series-v2-d31d9594.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",p({playerId:e},t),o.controlBar.children().length-3)}))},exports.addSeriesSelectorV2_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then((function(){return require("./series-v2-4dfa43e1.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",p({playerId:e},t),o.controlBar.children().length-3)}))},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then((function(){return require("./settings-icon-7a519942.js")})).then((function(r){var n,o,l,a,s=r.default,u=d.getPlayer(e);i.registerComponent("settingsSelector",s),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("settings-selection vjs-control vjs-button"))||void 0===l||null===(a=l[0])||void 0===a||a.remove(),u&&u.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},u.controlBar.children().length-3)}))},exports.addSkipButton=function(e,o,l){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=function(o){n(s,o);var i=v(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;o.classList.add("vjs-skip-button"),o.setAttribute("aria-label","Forward 10 seconds");var a=d.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){a.skip(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",u);var c=i(e);c.getChild("controlBar").addChild("myButton",{},1),a.isDvrPlayback(s)&&a.bindDvrSkipButtonVisibility(c)},exports.addSlowMotion=function(e){var o=function(e){n(i,e);var o=v(i);function i(e,r){var n;t(this,i);var l=(n=o.call(this,e,r)).el_;return l.classList.add("vjs-slowmo-button"),l.textContent=u.getLocalisation("slowMoText")||"Slow Mo",n}return r(i,[{key:"handleClick",value:function(){1==l.playbackRate()?(l.playbackRate(.5),this.el().style.background="darkgray"):(l.playbackRate(1),this.el().style.background="none")}}]),i}(i.getComponent("Button"));i.registerComponent("MyButton",o);var l=i(e);l.getChild("controlBar").addChild("myButton",{},2)},exports.addVerticalViewButton=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0===(null==r||null===(t=r.ui)||void 0===t?void 0:t.showVerticalViewButton)&&Promise.resolve().then((function(){return require("./index-22c077d0.js")})).then((function(t){var n=t.default,o=d.getPlayer(e);o&&(i.registerComponent("VerticalViewButton",n),o.getChild("VerticalViewButton")||o.addChild("VerticalViewButton",p({playerId:e},r)))}))},exports.addVideoSelector=function(e,t){Promise.resolve().then((function(){return require("./videoSelector-ced69919.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)}))},exports.addVideoSelector_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then((function(){return require("./videoSelector-c825e386.js")})).then((function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)}))};
|