@viewlift/player-backup 2.0.292-backup → 2.0.294-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-d783039e.js → autoNextVideo-4e5aceb8.js} +1 -1
- package/cjs/bundle.css +201 -201
- package/cjs/{features-e77b2cc5.js → features-d070e5e9.js} +1 -1
- package/cjs/generic-b2ccfd5e.js +1 -0
- package/cjs/{index-ba862bae.js → index-04ba3869.js} +1 -1
- package/cjs/{index-9c86b65a.js → index-358d3a74.js} +1 -1
- package/cjs/{index-248cea68.js → index-c69cc94c.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-a43f64a1.js → multicamv2-082968be.js} +1 -1
- package/cjs/{multicamv2-420b64ce.js → multicamv2-fefbef03.js} +1 -1
- package/cjs/{nextEpisodeButton-a0c35a98.js → nextEpisodeButton-e3411358.js} +1 -1
- package/cjs/{playlist-51489f94.js → playlist-aacf1e48.js} +1 -1
- package/cjs/{series-9abe4870.js → series-f4111a52.js} +1 -1
- package/cjs/{series-v2-828e87bd.js → series-v2-2cf1a060.js} +1 -1
- package/cjs/{series-v2-4630b42f.js → series-v2-7b6dc717.js} +1 -1
- package/cjs/{skin-7e07993b.js → skin-012a6dac.js} +1 -1
- package/cjs/{skin-737b56f1.js → skin-015c723e.js} +1 -1
- package/cjs/{skin-cf55d6a4.js → skin-7860187e.js} +1 -1
- package/cjs/{skin-bfa66ca0.js → skin-908e8c2b.js} +1 -1
- package/cjs/{skin-dff6e173.js → skin-966aa1e7.js} +1 -1
- package/cjs/{skin-25f9f101.js → skin-a75bf11a.js} +1 -1
- package/cjs/{skin-e7515c1a.js → skin-c46d8f40.js} +1 -1
- package/cjs/{skin-3abb4521.js → skin-c8afd3aa.js} +1 -1
- package/cjs/{skin-64830002.js → skin-f0ba253b.js} +1 -1
- package/cjs/{videoSelector-7b25405a.js → videoSelector-66a04b3f.js} +1 -1
- package/cjs/{videoSelector-3d5ff1bf.js → videoSelector-ac6eae36.js} +1 -1
- package/esm/autoNextVideo-e34d4926.js +1 -0
- package/esm/bundle.css +201 -201
- package/esm/{features-a8a9f436.js → features-dbe64e24.js} +1 -1
- package/esm/generic-bfe86693.js +1 -0
- package/esm/helpers/drmErrorDetection.d.ts +6 -0
- package/esm/index-16598af9.js +1 -0
- package/esm/index-a271dbe5.js +1 -0
- package/esm/{index-2621a170.js → index-b50bbe70.js} +1 -1
- package/esm/index.js +1 -1
- package/esm/{multicamv2-49b2f54d.js → multicamv2-978e7d5c.js} +1 -1
- package/esm/{multicamv2-acbd2e35.js → multicamv2-cb086d7a.js} +1 -1
- package/esm/{nextEpisodeButton-f2bddf2c.js → nextEpisodeButton-cfc892fc.js} +1 -1
- package/esm/{playlist-8f26ed93.js → playlist-03c2520c.js} +1 -1
- package/esm/{series-82908795.js → series-bbeb06d0.js} +1 -1
- package/esm/{series-v2-6be7f616.js → series-v2-10c541bd.js} +1 -1
- package/esm/{series-v2-ed3a799c.js → series-v2-40f0a1a0.js} +1 -1
- package/esm/{skin-5cf211bb.js → skin-233e7f23.js} +1 -1
- package/esm/skin-24287449.js +1 -0
- package/esm/skin-63a75648.js +1 -0
- package/esm/{skin-739f37c9.js → skin-806ff63d.js} +1 -1
- package/esm/{skin-bc25c1dc.js → skin-94eafdb7.js} +1 -1
- package/esm/{skin-9061acb8.js → skin-afac5246.js} +1 -1
- package/esm/{skin-c27ab30f.js → skin-c3de509e.js} +1 -1
- package/esm/{skin-b64addd2.js → skin-d70b645b.js} +1 -1
- package/esm/{skin-f0691120.js → skin-e5bb0687.js} +1 -1
- package/esm/{videoSelector-ca70dece.js → videoSelector-48a731a1.js} +1 -1
- package/esm/{videoSelector-0148241c.js → videoSelector-9d4fe718.js} +1 -1
- package/package.json +29 -29
- package/cjs/generic-690f32fe.js +0 -1
- package/esm/autoNextVideo-c799bcd9.js +0 -1
- package/esm/generic-2e248650.js +0 -1
- package/esm/index-c957fc87.js +0 -1
- package/esm/index-cad73f72.js +0 -1
- package/esm/skin-503626ae.js +0 -1
- package/esm/skin-ece7709a.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t=require("./generic-
|
|
1
|
+
"use strict";var e,t=require("./generic-b2ccfd5e.js"),n=require("./index-04ba3869.js"),o=require("./skin-16ae23af.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)},h=[],v=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++,g(e)}).catch(function(t){g(s(t,u[n])),d(t)?a(i,t):setTimeout(function(){o.highlightVideo(r,i),r++,e(r,i,u)},5e3)}))},g=function(t){e&&e(t)};exports.autoPlayNext=function(u){clearTimeout(i),h=(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())>h.length-1||(t.setVideoIdx(r+1),c(r,l,h).then(function(e){o.highlightVideo(r,l),t.setCurrentVideo(e.response),r++,g(e)}).catch(function(e){g(s(e,h[idx])),o.highlightVideo(r,l),d(e)?a(l,e):(r++,i=setTimeout(function(){t.isPaused(l)&&v(r,l,h)},5e3))})))})},exports.switchToNext=v,exports.updateContent=function(e){h=e||[]};
|
package/cjs/bundle.css
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
4
7
|
.video-js.skin_news_live .vjs-button>.vjs-icon-placeholder:before {
|
|
5
8
|
font-size: 2.2em;
|
|
6
9
|
line-height: 2.6;
|
|
@@ -1031,6 +1034,202 @@
|
|
|
1031
1034
|
|
|
1032
1035
|
|
|
1033
1036
|
|
|
1037
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
1038
|
+
height: 0.7em;
|
|
1039
|
+
position: absolute;
|
|
1040
|
+
top: -0.7em;
|
|
1041
|
+
width: 100%;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
1045
|
+
height: 100%;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
1049
|
+
line-height: 2.5;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
1053
|
+
height: 19px;
|
|
1054
|
+
width: 19px;
|
|
1055
|
+
cursor: pointer;
|
|
1056
|
+
}
|
|
1057
|
+
.video-js.skin_vlone .vjs-control {
|
|
1058
|
+
user-select: none;
|
|
1059
|
+
}
|
|
1060
|
+
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
1061
|
+
user-select: none;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
1065
|
+
height: 19px;
|
|
1066
|
+
width: 19px;
|
|
1067
|
+
cursor: pointer;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.video-js.skin_vlone .vjs-play-progress:before {
|
|
1071
|
+
display: none !important;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
1075
|
+
margin: 0 !important;
|
|
1076
|
+
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
1081
|
+
display: block;
|
|
1082
|
+
flex: 1 1 auto;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
1086
|
+
z-index: 1;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
.video-js.skin_vlone .vjs-control-bar {
|
|
1091
|
+
height: 40px;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
1095
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1096
|
+
position: relative !important;
|
|
1097
|
+
}
|
|
1098
|
+
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
1099
|
+
display: flex;
|
|
1100
|
+
left: 0px;
|
|
1101
|
+
top: -1px;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.vjs-button>.vjs-icon-placeholder:before {
|
|
1105
|
+
font-size: 2em !important;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.video-js.skin_vlone .vjs-control {
|
|
1109
|
+
width: 4.3em;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.vjs-menu-button-popup .vjs-menu {
|
|
1113
|
+
bottom: 10px !important;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
1118
|
+
height: 1.3em;
|
|
1119
|
+
position: absolute;
|
|
1120
|
+
top: -1.3em;
|
|
1121
|
+
transition: height 0.3s, top 0.3s;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
1126
|
+
display: none !important;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1130
|
+
display: block;
|
|
1131
|
+
}
|
|
1132
|
+
.video-js.skin_vlone .vjs-remaining-time {
|
|
1133
|
+
display: none;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
1137
|
+
line-height: 3.5em;
|
|
1138
|
+
font-size: 1.1em;
|
|
1139
|
+
min-width: 4em;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.video-js.skin_vlone .vjs-time-divider > div{
|
|
1143
|
+
display: flex;
|
|
1144
|
+
justify-content: center;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.video-js.skin_vlone .vjs-live-control{
|
|
1148
|
+
align-items: center;
|
|
1149
|
+
}
|
|
1150
|
+
.video-js.skin_vlone .vjs-live-display{
|
|
1151
|
+
height: 2.2em;
|
|
1152
|
+
display: flex;
|
|
1153
|
+
align-items: center;
|
|
1154
|
+
font-family: monospace;
|
|
1155
|
+
width: 4em;
|
|
1156
|
+
justify-content: center;
|
|
1157
|
+
background: red;
|
|
1158
|
+
margin: 4px 0px 4px 12px;
|
|
1159
|
+
}
|
|
1160
|
+
.video-js.skin_vlone .vjs-live-display:hover{
|
|
1161
|
+
cursor: pointer;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.video-js.skin_vlone .vjs-time-control {
|
|
1165
|
+
line-height: 3.5em !important;
|
|
1166
|
+
font-size: 1.1em !important;
|
|
1167
|
+
width: min-content !important;
|
|
1168
|
+
min-width: 1.5em;
|
|
1169
|
+
padding: 0 !important;
|
|
1170
|
+
user-select: none;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
1174
|
+
margin-left: 16px !important;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
1178
|
+
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
1179
|
+
font-size: 1.2em !important;
|
|
1180
|
+
line-height: 1.5em !important;
|
|
1181
|
+
padding: 0.2em 0.8em !important;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
/* Big play */
|
|
1186
|
+
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
1187
|
+
width: 80px;
|
|
1188
|
+
height: 80px;
|
|
1189
|
+
display: flex;
|
|
1190
|
+
justify-content: center;
|
|
1191
|
+
align-items: center;
|
|
1192
|
+
border: none;
|
|
1193
|
+
position: absolute;
|
|
1194
|
+
top: 0;
|
|
1195
|
+
left: 0;
|
|
1196
|
+
right: 0;
|
|
1197
|
+
bottom: 0;
|
|
1198
|
+
margin: auto;
|
|
1199
|
+
font-size: 5em;
|
|
1200
|
+
line-height: 1.3em;
|
|
1201
|
+
transform: none !important;
|
|
1202
|
+
border-radius: 1.3em;
|
|
1203
|
+
}
|
|
1204
|
+
.video-js.skin_vlone .ssai-ad-container{
|
|
1205
|
+
position: absolute;
|
|
1206
|
+
bottom: 4px;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
@media(max-width:600px){
|
|
1210
|
+
.video-js.skin_vlone button.vjs-big-play-button {
|
|
1211
|
+
width: 50px !important;
|
|
1212
|
+
height: 50px !important;
|
|
1213
|
+
font-size: 2.1rem !important;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.video-js.skin_vlone .ssai-ad-container {
|
|
1217
|
+
position: absolute;
|
|
1218
|
+
bottom: 2px;
|
|
1219
|
+
}
|
|
1220
|
+
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
1221
|
+
display: none;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
1225
|
+
/* display: none; */
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
1229
|
+
/* display: none; */
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1034
1233
|
.video-js.skin_mini .vjs-button>.vjs-icon-placeholder:before {
|
|
1035
1234
|
font-size: 2.2em;
|
|
1036
1235
|
line-height: 2.6;
|
|
@@ -1500,205 +1699,6 @@
|
|
|
1500
1699
|
}
|
|
1501
1700
|
|
|
1502
1701
|
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control {
|
|
1507
|
-
height: 0.7em;
|
|
1508
|
-
position: absolute;
|
|
1509
|
-
top: -0.7em;
|
|
1510
|
-
width: 100%;
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
.video-js.skin_vlone .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
|
|
1514
|
-
height: 100%;
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value{
|
|
1518
|
-
line-height: 2.5;
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button > svg{
|
|
1522
|
-
height: 19px;
|
|
1523
|
-
width: 19px;
|
|
1524
|
-
cursor: pointer;
|
|
1525
|
-
}
|
|
1526
|
-
.video-js.skin_vlone .vjs-control {
|
|
1527
|
-
user-select: none;
|
|
1528
|
-
}
|
|
1529
|
-
.video-js.skin_vlone .vjs-custom-control-spacer{
|
|
1530
|
-
user-select: none;
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button > svg{
|
|
1534
|
-
height: 19px;
|
|
1535
|
-
width: 19px;
|
|
1536
|
-
cursor: pointer;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
.video-js.skin_vlone .vjs-play-progress:before {
|
|
1540
|
-
display: none !important;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
.video-js.skin_vlone .vjs-progress-control>.vjs-progress-holder.vjs-slider {
|
|
1544
|
-
margin: 0 !important;
|
|
1545
|
-
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
.video-js.skin_vlone .vjs-custom-control-spacer {
|
|
1550
|
-
display: block;
|
|
1551
|
-
flex: 1 1 auto;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
.video-js.skin_vlone .vjs-volume-panel.vjs-volume-panel-vertical{
|
|
1555
|
-
z-index: 1;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
.video-js.skin_vlone .vjs-control-bar {
|
|
1560
|
-
height: 40px;
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before,
|
|
1564
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
1565
|
-
position: relative !important;
|
|
1566
|
-
}
|
|
1567
|
-
.video-js.skin_vlone .vjs-big-play-button .vjs-icon-placeholder:before{
|
|
1568
|
-
display: flex;
|
|
1569
|
-
left: 0px;
|
|
1570
|
-
top: -1px;
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
.vjs-button>.vjs-icon-placeholder:before {
|
|
1574
|
-
font-size: 2em !important;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
.video-js.skin_vlone .vjs-control {
|
|
1578
|
-
width: 4.3em;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
.vjs-menu-button-popup .vjs-menu {
|
|
1582
|
-
bottom: 10px !important;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
.video-js.skin_vlone .vjs-control-bar .vjs-progress-control.vjs-control:hover {
|
|
1587
|
-
height: 1.3em;
|
|
1588
|
-
position: absolute;
|
|
1589
|
-
top: -1.3em;
|
|
1590
|
-
transition: height 0.3s, top 0.3s;
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
.video-js.skin_vlone.vjs-live .vjs-time-control{
|
|
1595
|
-
display: none !important;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
1599
|
-
display: block;
|
|
1600
|
-
}
|
|
1601
|
-
.video-js.skin_vlone .vjs-remaining-time {
|
|
1602
|
-
display: none;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
.video-js.skin_vlone .vjs-remaining-time.vjs-time-control.vjs-control>span.vjs-remaining-time-display {
|
|
1606
|
-
line-height: 3.5em;
|
|
1607
|
-
font-size: 1.1em;
|
|
1608
|
-
min-width: 4em;
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
.video-js.skin_vlone .vjs-time-divider > div{
|
|
1612
|
-
display: flex;
|
|
1613
|
-
justify-content: center;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
.video-js.skin_vlone .vjs-live-control{
|
|
1617
|
-
align-items: center;
|
|
1618
|
-
}
|
|
1619
|
-
.video-js.skin_vlone .vjs-live-display{
|
|
1620
|
-
height: 2.2em;
|
|
1621
|
-
display: flex;
|
|
1622
|
-
align-items: center;
|
|
1623
|
-
font-family: monospace;
|
|
1624
|
-
width: 4em;
|
|
1625
|
-
justify-content: center;
|
|
1626
|
-
background: red;
|
|
1627
|
-
margin: 4px 0px 4px 12px;
|
|
1628
|
-
}
|
|
1629
|
-
.video-js.skin_vlone .vjs-live-display:hover{
|
|
1630
|
-
cursor: pointer;
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
.video-js.skin_vlone .vjs-time-control {
|
|
1634
|
-
line-height: 3.5em !important;
|
|
1635
|
-
font-size: 1.1em !important;
|
|
1636
|
-
width: min-content !important;
|
|
1637
|
-
min-width: 1.5em;
|
|
1638
|
-
padding: 0 !important;
|
|
1639
|
-
user-select: none;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
.video-js.skin_vlone .vjs-current-time.vjs-time-control.vjs-control {
|
|
1643
|
-
margin-left: 16px !important;
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-default-button,
|
|
1647
|
-
.video-js.skin_vlone .vjs-text-track-settings .vjs-track-settings-controls .vjs-done-button {
|
|
1648
|
-
font-size: 1.2em !important;
|
|
1649
|
-
line-height: 1.5em !important;
|
|
1650
|
-
padding: 0.2em 0.8em !important;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
/* Big play */
|
|
1655
|
-
.video-js.skin_vlone.vjs-paused .vjs-big-play-button {
|
|
1656
|
-
width: 80px;
|
|
1657
|
-
height: 80px;
|
|
1658
|
-
display: flex;
|
|
1659
|
-
justify-content: center;
|
|
1660
|
-
align-items: center;
|
|
1661
|
-
border: none;
|
|
1662
|
-
position: absolute;
|
|
1663
|
-
top: 0;
|
|
1664
|
-
left: 0;
|
|
1665
|
-
right: 0;
|
|
1666
|
-
bottom: 0;
|
|
1667
|
-
margin: auto;
|
|
1668
|
-
font-size: 5em;
|
|
1669
|
-
line-height: 1.3em;
|
|
1670
|
-
transform: none !important;
|
|
1671
|
-
border-radius: 1.3em;
|
|
1672
|
-
}
|
|
1673
|
-
.video-js.skin_vlone .ssai-ad-container{
|
|
1674
|
-
position: absolute;
|
|
1675
|
-
bottom: 4px;
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
@media(max-width:600px){
|
|
1679
|
-
.video-js.skin_vlone button.vjs-big-play-button {
|
|
1680
|
-
width: 50px !important;
|
|
1681
|
-
height: 50px !important;
|
|
1682
|
-
font-size: 2.1rem !important;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
.video-js.skin_vlone .ssai-ad-container {
|
|
1686
|
-
position: absolute;
|
|
1687
|
-
bottom: 2px;
|
|
1688
|
-
}
|
|
1689
|
-
.video-js.skin_vlone .vjs-playback-rate .vjs-playback-rate-value {
|
|
1690
|
-
display: none;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-rewind-button>svg {
|
|
1694
|
-
/* display: none; */
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
.video-js.skin_vlone button.vjs-control.vjs-button.vjs-skip-button>svg {
|
|
1698
|
-
/* display: none; */
|
|
1699
|
-
}
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
1702
|
/* CSS for videojs-dvr-seekbar */
|
|
1703
1703
|
|
|
1704
1704
|
.video-js.vjs-dvr-seekbar {
|
|
@@ -1881,6 +1881,7 @@
|
|
|
1881
1881
|
|
|
1882
1882
|
|
|
1883
1883
|
|
|
1884
|
+
|
|
1884
1885
|
.video-js .multicamera-parent.default{
|
|
1885
1886
|
height: 345px;
|
|
1886
1887
|
position: absolute;
|
|
@@ -1960,8 +1961,6 @@
|
|
|
1960
1961
|
}
|
|
1961
1962
|
|
|
1962
1963
|
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
1964
|
.vjs-custom-big-mute.vjs-control{
|
|
1966
1965
|
position: absolute;
|
|
1967
1966
|
align-items: center;
|
|
@@ -2010,6 +2009,7 @@
|
|
|
2010
2009
|
width: 22px;
|
|
2011
2010
|
}
|
|
2012
2011
|
|
|
2012
|
+
|
|
2013
2013
|
/* nextep — up-next card (centered in player, scales with player size) */
|
|
2014
2014
|
.video-js:has(.next-ep-preview),
|
|
2015
2015
|
.video-js:has(.next-ep-preview-player-thumb) {
|
|
@@ -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-b2ccfd5e.js"),s=require("./renditions-6f165ef5.js"),d=require("./skin-16ae23af.js"),u=require("./localisation-56e0a999.js");function c(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 h(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?c(Object(n),!0).forEach(function(r){e(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function p(e){var t=v();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 v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}exports.addBigMuteButton=function(e,t){Promise.resolve().then(function(){return require("./index-b6608461.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("MuteButton",n),o.addChild("MuteButton",h({playerId:e},t))})},exports.addCaptionButton=function(e,t){Promise.resolve().then(function(){return require("./caption-settings-5efc7591.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-fefbef03.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-082968be.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-e3411358.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-aacf1e48.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-19103db5.js")}).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=p(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");var a=d.parseSvgString(l);return o.append(a),n}return r(s,[{key:"handleClick",value:function(){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-f4111a52.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-7b6dc717.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},exports.addSeriesSelectorV2_DEFAULTV2_TEMP=function(e,t){Promise.resolve().then(function(){return require("./series-v2-2cf1a060.js")}).then(function(r){var n=r.default,o=d.getPlayer(e);i.registerComponent("seriesV2",n),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then(function(){return require("./settings-icon-43534947.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=function(o){n(s,o);var i=p(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");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",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSlowMotion=function(e){var o=function(e){n(i,e);var o=p(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.addVideoSelector=function(e,t){Promise.resolve().then(function(){return require("./videoSelector-ac6eae36.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-66a04b3f.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)})};
|