@viewlift/player-backup 2.0.282-backup → 2.0.283-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-fe71c875.js +1 -0
- package/cjs/bundle.css +53 -266
- package/cjs/{features-e4017545.js → features-90760526.js} +1 -1
- package/cjs/generic-b0efda72.js +1 -0
- package/cjs/index-3bdc6d4e.js +1 -0
- package/cjs/index-8c9f1a67.js +1 -0
- package/cjs/{index-14e6e582.js → index-ee7aefc5.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-ccee57f1.js → multicamv2-7a2f60f1.js} +1 -1
- package/cjs/{multicamv2-45a773a2.js → multicamv2-ee93bf7c.js} +1 -1
- package/cjs/{nextEpisodeButton-53ffc62b.js → nextEpisodeButton-9b032064.js} +1 -1
- package/cjs/playlist-c9565f07.js +1 -0
- package/cjs/{series-111c723a.js → series-31cb5b5e.js} +1 -1
- package/cjs/series-v2-66bb2be2.js +1 -0
- package/cjs/series-v2-e74b725b.js +1 -0
- package/cjs/{skin-104bd7ae.js → skin-24348af6.js} +1 -1
- package/cjs/skin-3dd98a5f.js +1 -0
- package/cjs/skin-667cd458.js +1 -0
- package/cjs/skin-90c61d0a.js +1 -0
- package/cjs/{skin-d00de581.js → skin-a193390e.js} +1 -1
- package/cjs/{skin-805e035d.js → skin-a54370b0.js} +1 -1
- package/cjs/{skin-09625e52.js → skin-a7446a3b.js} +1 -1
- package/cjs/{skin-34238400.js → skin-b151359d.js} +1 -1
- package/cjs/skin-cfd6c675.js +1 -0
- package/cjs/videoSelector-3f4ee7e2.js +1 -0
- package/cjs/videoSelector-c824876b.js +1 -0
- package/cjs/{videojs-dash5.es-75637b78.js → videojs-dash5.es-072614bc.js} +1 -1
- package/esm/autoNextVideo-efd28455.js +1 -0
- package/esm/bundle.css +53 -266
- package/esm/components/text-track-settings/text-track-settings.d.ts +2 -0
- package/esm/components/timer/index.d.ts +11 -0
- package/esm/{features-c47e31be.js → features-abc1af35.js} +1 -1
- package/esm/generic-bd7427c4.js +1 -0
- package/esm/{index-d5697b2b.js → index-209acda5.js} +1 -1
- package/esm/index-95713239.js +1 -0
- package/esm/index-c3dfd0f5.js +1 -0
- package/esm/index.js +1 -1
- package/esm/{multicamv2-8732ca5f.js → multicamv2-587a5bc1.js} +1 -1
- package/esm/{multicamv2-f90360ea.js → multicamv2-febf5390.js} +1 -1
- package/esm/{nextEpisodeButton-64117f65.js → nextEpisodeButton-9cb4a256.js} +1 -1
- package/esm/playlist-92500990.js +1 -0
- package/esm/{series-1ac7db2b.js → series-26c7f982.js} +1 -1
- package/esm/series-v2-5993fd16.js +1 -0
- package/esm/series-v2-c71b9a69.js +1 -0
- package/esm/{skin-b5551178.js → skin-1331a0e5.js} +1 -1
- package/esm/{skin-5ed8cfe9.js → skin-1b825a55.js} +1 -1
- package/esm/skin-1c513653.js +1 -0
- package/esm/{skin-387ebd2a.js → skin-49365d5b.js} +1 -1
- package/esm/skin-5419c4aa.js +1 -0
- package/esm/{skin-732ec4f4.js → skin-96f7cd4c.js} +1 -1
- package/esm/skin-b0ba54c4.js +1 -0
- package/esm/{skin-2d1b9dce.js → skin-c1f9b537.js} +1 -1
- package/esm/skin-f6e1b28e.js +1 -0
- package/esm/utilities/sse.d.ts +11 -0
- package/esm/videoSelector-aef83393.js +1 -0
- package/esm/videoSelector-f9366913.js +1 -0
- package/esm/{videojs-dash5.es-1a1bf509.js → videojs-dash5.es-e31d9fb5.js} +1 -1
- package/package.json +5 -2
- package/cjs/autoNextVideo-ac28d2b9.js +0 -1
- package/cjs/generic-b1efe604.js +0 -1
- package/cjs/index-2082ff2e.js +0 -1
- package/cjs/playlist-4a808d44.js +0 -1
- package/cjs/series-v2-c2be6eb6.js +0 -1
- package/cjs/series-v2-d1d3245e.js +0 -1
- package/cjs/skin-0e652a6f.js +0 -1
- package/cjs/skin-7bdb6fc3.js +0 -1
- package/cjs/skin-866f8a56.js +0 -1
- package/cjs/skin-b1f44b2e.js +0 -1
- package/cjs/util-5aef53ed.js +0 -1
- package/cjs/videoSelector-4244724a.js +0 -1
- package/cjs/videoSelector-a445d0f0.js +0 -1
- package/esm/autoNextVideo-ecd9516c.js +0 -1
- package/esm/generic-1dab1dd7.js +0 -1
- package/esm/index-f75073af.js +0 -1
- package/esm/playlist-aaf5934e.js +0 -1
- package/esm/series-v2-9e4bd723.js +0 -1
- package/esm/series-v2-c9ab640b.js +0 -1
- package/esm/skin-10791dff.js +0 -1
- package/esm/skin-3f9a9af9.js +0 -1
- package/esm/skin-747dd47c.js +0 -1
- package/esm/skin-b9448ea6.js +0 -1
- package/esm/util-9cb953bb.js +0 -1
- package/esm/videoSelector-6a24a43c.js +0 -1
- package/esm/videoSelector-a45d99aa.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,$ as n,M as t,_ as o,a0 as r}from"./generic-bd7427c4.js";import{b as s,a as i}from"./index-95713239.js";import{g as u,h as a}from"./skin-4f84b841.js";var l,d=0,c=0,v=new Set(["NOT_AIRED","VIDEO_NOT_AVAILABLE","CONTENT_NOT_AVAILABLE"]),f=function(e){return(null==e?void 0:e.response)||e},p=function(e,n){return e&&null!=n&&n.gist&&(e.response=e.response||{},e.response.video=e.response.video||{},e.response.video.gist=n.gist),e},h=function(e){var n,t,o=f(e),r=null==o||null===(n=o.response)||void 0===n?void 0:n.data;return 403===(null==o||null===(t=o.response)||void 0===t?void 0:t.status)||(!!(null!=r&&r.scheduleStartDate&&Number(r.scheduleStartDate)>Date.now())||!(null==r||!r.errorCode||!v.has(r.errorCode)))},g=function(e,n){clearTimeout(d);var t=f(n);i(e,t,null);var o=u(e);o&&!o.paused()&&o.pause()},m=function(e,n,o){var r=o[e];if(function(e){var n,t=null==e||null===(n=e.gist)||void 0===n?void 0:n.scheduleStartDate;return t&&Number(t)>Date.now()}(r))return Promise.reject(function(e){var n,t,o;return{response:{data:{errorMessage:null!=e&&null!==(n=e.gist)&&void 0!==n&&n.scheduleStartDate?"Coming soon":"Content not available",scheduleStartDate:null==e||null===(t=e.gist)||void 0===t?void 0:t.scheduleStartDate,scheduleEndDate:null==e||null===(o=e.gist)||void 0===o?void 0:o.scheduleEndDate,gist:null==e?void 0:e.gist}}}}(r));if(!u(n)){var s={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",s),Promise.reject(s)}return t(n,r.id)},D=function(t){clearTimeout(d);var i=null==t?void 0:t.content;l=null==t?void 0:t.cb;var v=t.playerId;s(v,function(){var t=u(v);0!==(null==t?void 0:t.currentTime())&&((c=o())>i.length-1||(r(c+1),m(c,v,i).then(function(n){a(c,v),e(n.response),c++,N(n)}).catch(function(e){N(p(e,i[idx])),a(c,v),h(e)?g(v,e):(c++,d=setTimeout(function(){n(v)&&T(c,v,i)},5e3))})))})},T=function e(n,t,o,s){c=n,n>o.length-1||(r(c+1),m(n,t,o).then(function(e){a(c,t),c++,N(e)}).catch(function(r){N(p(r,o[n])),h(r)?g(t,r):setTimeout(function(){a(c,t),c++,e(c,t,o)},5e3)}))},N=function(e){l&&l(e)};export{D as a,T as s};
|
package/esm/bundle.css
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
4
|
.video-js.skin_news .vjs-button>.vjs-icon-placeholder:before {
|
|
7
5
|
font-size: 2.2em;
|
|
8
6
|
line-height: 2.6;
|
|
@@ -1001,6 +999,7 @@
|
|
|
1001
999
|
|
|
1002
1000
|
|
|
1003
1001
|
|
|
1002
|
+
|
|
1004
1003
|
.video-js.skin_news_live .vjs-button>.vjs-icon-placeholder:before {
|
|
1005
1004
|
font-size: 2.2em;
|
|
1006
1005
|
line-height: 2.6;
|
|
@@ -1699,6 +1698,7 @@
|
|
|
1699
1698
|
}
|
|
1700
1699
|
}
|
|
1701
1700
|
|
|
1701
|
+
|
|
1702
1702
|
/* CSS for videojs-dvr-seekbar */
|
|
1703
1703
|
|
|
1704
1704
|
.video-js.vjs-dvr-seekbar {
|
|
@@ -1961,7 +1961,6 @@
|
|
|
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,294 +2009,82 @@
|
|
|
2010
2009
|
width: 22px;
|
|
2011
2010
|
}
|
|
2012
2011
|
|
|
2013
|
-
/* nextep — up-next card (centered in player, scales with player size) */
|
|
2014
|
-
.video-js:has(.next-ep-preview),
|
|
2015
|
-
.video-js:has(.next-ep-preview-player-thumb) {
|
|
2016
|
-
position: relative;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
.next-ep-preview {
|
|
2020
|
-
container-type: inline-size;
|
|
2021
|
-
container-name: next-ep-preview;
|
|
2022
2012
|
|
|
2013
|
+
/* nextep */
|
|
2014
|
+
.next-ep-preview{
|
|
2023
2015
|
position: absolute;
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
z-index: 15;
|
|
2030
|
-
|
|
2031
|
-
box-sizing: border-box;
|
|
2032
|
-
width: min(92%, 16rem);
|
|
2033
|
-
max-width: calc(100% - 1.5rem);
|
|
2034
|
-
max-height: min(90%, 100%);
|
|
2035
|
-
overflow: auto;
|
|
2036
|
-
overscroll-behavior: contain;
|
|
2037
|
-
|
|
2038
|
-
padding: clamp(0.625rem, 3.5cqi, 1rem) clamp(0.75rem, 4cqi, 1rem);
|
|
2039
|
-
border-radius: clamp(0.5rem, 2cqi, 0.75rem);
|
|
2040
|
-
|
|
2041
|
-
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
2042
|
-
color: #fff;
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
.next-heading-wrapper {
|
|
2046
|
-
display: flex;
|
|
2047
|
-
flex-direction: row;
|
|
2048
|
-
justify-content: space-between;
|
|
2049
|
-
align-items: flex-start;
|
|
2050
|
-
gap: clamp(0.375rem, 2cqi, 0.5rem);
|
|
2051
|
-
margin-bottom: clamp(0.375rem, 2.5cqi, 0.5rem);
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
.next-ep-header {
|
|
2055
|
-
display: flex;
|
|
2056
|
-
flex-direction: row;
|
|
2057
|
-
flex-wrap: wrap;
|
|
2058
|
-
align-items: baseline;
|
|
2059
|
-
gap: 0.35em;
|
|
2060
|
-
flex: 1;
|
|
2061
|
-
min-width: 0;
|
|
2062
|
-
text-align: left;
|
|
2063
|
-
font-weight: 600;
|
|
2064
|
-
font-size: clamp(0.5625rem, 3.2cqi, 0.6875rem);
|
|
2065
|
-
text-transform: uppercase;
|
|
2066
|
-
color: rgba(255, 255, 255, 0.95);
|
|
2067
|
-
margin: 0;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
.next-ep-header-text {
|
|
2071
|
-
flex-shrink: 0;
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
.next-ep-header .next-ep-duration {
|
|
2075
|
-
flex-shrink: 0;
|
|
2076
|
-
font-weight: 700;
|
|
2077
|
-
color: #fff;
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
.next-ep-close {
|
|
2081
|
-
display: flex;
|
|
2082
|
-
align-items: center;
|
|
2083
|
-
justify-content: center;
|
|
2084
|
-
flex-shrink: 0;
|
|
2085
|
-
padding: clamp(0.125rem, 1cqi, 0.25rem) clamp(0.25rem, 1.5cqi, 0.25rem);
|
|
2086
|
-
margin: 0;
|
|
2016
|
+
height: min-content;
|
|
2017
|
+
width: 300px;
|
|
2018
|
+
bottom: 16%;
|
|
2019
|
+
right: 1.5%;
|
|
2020
|
+
padding: 13px;
|
|
2087
2021
|
border-radius: 4px;
|
|
2088
|
-
|
|
2089
|
-
color: rgba(255, 255, 255, 0.85);
|
|
2090
|
-
line-height: 0;
|
|
2091
|
-
opacity: 0.9;
|
|
2022
|
+
background: rgba(0, 0, 0, 0.75);
|
|
2092
2023
|
}
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
.next-ep-close svg {
|
|
2099
|
-
width: clamp(0.75rem, 4cqi, 1rem);
|
|
2100
|
-
height: clamp(0.75rem, 4cqi, 1rem);
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
.next-ep-content {
|
|
2104
|
-
display: flex;
|
|
2105
|
-
flex-direction: column;
|
|
2106
|
-
align-items: stretch;
|
|
2107
|
-
gap: clamp(0.5rem, 3cqi, 0.75rem);
|
|
2108
|
-
cursor: pointer;
|
|
2109
|
-
min-width: 0;
|
|
2110
|
-
}
|
|
2111
|
-
|
|
2112
|
-
.next-ep-content:hover {
|
|
2113
|
-
opacity: 0.98;
|
|
2114
|
-
}
|
|
2115
|
-
|
|
2116
|
-
.next-ep-thumb-wrap {
|
|
2117
|
-
position: relative;
|
|
2118
|
-
width: 100%;
|
|
2119
|
-
aspect-ratio: 16 / 9;
|
|
2120
|
-
border-radius: clamp(0.375rem, 2cqi, 0.5rem);
|
|
2121
|
-
overflow: hidden;
|
|
2122
|
-
background: #1a1a1a;
|
|
2024
|
+
.next-ep-img{
|
|
2025
|
+
width: 185px;
|
|
2026
|
+
height: 95px;
|
|
2027
|
+
|
|
2123
2028
|
}
|
|
2124
|
-
|
|
2125
|
-
.next-ep-img {
|
|
2029
|
+
.next-ep-img-container{
|
|
2126
2030
|
width: 100%;
|
|
2127
2031
|
height: 100%;
|
|
2128
|
-
object-fit: cover;
|
|
2129
|
-
display: block;
|
|
2130
|
-
}
|
|
2131
|
-
|
|
2132
|
-
.next-ep-thumb-runtime {
|
|
2133
|
-
position: absolute;
|
|
2134
|
-
left: clamp(0.375rem, 2.5cqi, 0.625rem);
|
|
2135
|
-
bottom: clamp(0.375rem, 2.5cqi, 0.625rem);
|
|
2136
|
-
padding: clamp(0.125rem, 1cqi, 0.1875rem) clamp(0.375rem, 2cqi, 0.5rem);
|
|
2137
|
-
border-radius: 999px;
|
|
2138
|
-
font-size: clamp(0.5625rem, 2.8cqi, 0.6875rem);
|
|
2139
|
-
font-weight: 600;
|
|
2140
|
-
color: #fff;
|
|
2141
|
-
background: rgba(0, 0, 0, 0.65);
|
|
2142
|
-
letter-spacing: 0.02em;
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
.next-ep-thumb-runtime--empty {
|
|
2146
|
-
display: none;
|
|
2147
2032
|
}
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
gap: clamp(0.375rem, 2.5cqi, 0.625rem);
|
|
2154
|
-
min-width: 0;
|
|
2155
|
-
}
|
|
2156
|
-
|
|
2157
|
-
.next-ep-meta-with-logo > .next-ep-meta {
|
|
2158
|
-
flex: 1;
|
|
2159
|
-
min-width: 0;
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
|
-
.next-ep-meta {
|
|
2163
|
-
display: flex;
|
|
2164
|
-
flex-direction: column;
|
|
2165
|
-
gap: 0;
|
|
2166
|
-
min-width: 0;
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
.next-ep-title {
|
|
2170
|
-
font-size: clamp(0.75rem, 4.5cqi, 0.875rem);
|
|
2171
|
-
font-weight: 700;
|
|
2172
|
-
line-height: 1.25;
|
|
2173
|
-
color: #fff;
|
|
2174
|
-
margin: 0;
|
|
2175
|
-
min-width: 0;
|
|
2176
|
-
white-space: nowrap;
|
|
2177
|
-
overflow: hidden;
|
|
2178
|
-
text-overflow: ellipsis;
|
|
2033
|
+
.next-ep-header{
|
|
2034
|
+
text-align: left;
|
|
2035
|
+
font-weight: bold;
|
|
2036
|
+
font-size: 18px;
|
|
2037
|
+
margin-bottom: 8px;
|
|
2179
2038
|
}
|
|
2180
2039
|
|
|
2181
|
-
.next-ep-
|
|
2182
|
-
font-size:
|
|
2183
|
-
|
|
2184
|
-
line-height: 1.35;
|
|
2185
|
-
color: rgba(255, 255, 255, 0.82);
|
|
2186
|
-
margin: 0;
|
|
2187
|
-
min-width: 0;
|
|
2188
|
-
white-space: nowrap;
|
|
2189
|
-
overflow: hidden;
|
|
2190
|
-
text-overflow: ellipsis;
|
|
2191
|
-
}
|
|
2040
|
+
.next-ep-title{
|
|
2041
|
+
font-size: 15px;
|
|
2042
|
+
margin-left: 8px;
|
|
2192
2043
|
|
|
2193
|
-
.next-ep-desc--empty {
|
|
2194
|
-
display: none;
|
|
2195
2044
|
}
|
|
2196
2045
|
|
|
2197
|
-
.next-ep-
|
|
2046
|
+
.next-ep-content{
|
|
2198
2047
|
display: flex;
|
|
2199
|
-
flex-direction: row;
|
|
2200
2048
|
align-items: center;
|
|
2201
|
-
justify-content: flex-start;
|
|
2202
|
-
gap: clamp(0.375rem, 2.5cqi, 0.625rem);
|
|
2203
|
-
margin-top: 2px;
|
|
2204
|
-
min-width: 0;
|
|
2205
2049
|
}
|
|
2206
|
-
|
|
2207
|
-
|
|
2050
|
+
.next-ep-content:hover{
|
|
2051
|
+
cursor: pointer;
|
|
2052
|
+
}
|
|
2053
|
+
.next-heading-wrapper{
|
|
2208
2054
|
display: flex;
|
|
2209
|
-
flex-direction:
|
|
2055
|
+
flex-direction: unset;
|
|
2056
|
+
justify-content: space-between;
|
|
2210
2057
|
align-items: center;
|
|
2211
|
-
gap: clamp(0.375rem, 2cqi, 0.5rem);
|
|
2212
|
-
min-width: 0;
|
|
2213
|
-
flex: 1;
|
|
2214
2058
|
}
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
font-size:
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
text-transform: uppercase;
|
|
2222
|
-
padding: clamp(0.0625rem, 0.8cqi, 0.125rem) clamp(0.1875rem, 1.6cqi, 0.25rem);
|
|
2223
|
-
border: 1px solid rgba(255, 255, 255, 0.75);
|
|
2059
|
+
.next-ep-close{
|
|
2060
|
+
align-items: right;
|
|
2061
|
+
font-weight: bold;
|
|
2062
|
+
font-size: 18px;
|
|
2063
|
+
margin-bottom: 8px;
|
|
2064
|
+
font-size: 20px;
|
|
2224
2065
|
border-radius: 3px;
|
|
2225
|
-
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
.next-ep-badge--empty {
|
|
2229
|
-
display: none;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
.next-ep-episode {
|
|
2233
|
-
font-size: clamp(0.6875rem, 3.6cqi, 0.75rem);
|
|
2234
|
-
color: rgba(255, 255, 255, 0.88);
|
|
2235
|
-
white-space: nowrap;
|
|
2236
|
-
overflow: hidden;
|
|
2237
|
-
text-overflow: ellipsis;
|
|
2238
|
-
min-width: 0;
|
|
2239
|
-
}
|
|
2240
|
-
|
|
2241
|
-
.next-ep-network-logo {
|
|
2242
|
-
flex-shrink: 0;
|
|
2243
|
-
max-height: clamp(0.875rem, 5cqi, 1.375rem);
|
|
2244
|
-
max-width: clamp(2.5rem, 14cqi, 3.5rem);
|
|
2245
|
-
width: auto;
|
|
2246
|
-
height: auto;
|
|
2247
|
-
object-fit: contain;
|
|
2248
|
-
opacity: 0.98;
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
.next-ep-network-logo--empty {
|
|
2252
|
-
display: none;
|
|
2066
|
+
cursor: pointer;
|
|
2253
2067
|
}
|
|
2254
2068
|
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2069
|
+
@media (max-width:600px){
|
|
2070
|
+
.next-ep-preview{
|
|
2071
|
+
width: 170px;
|
|
2072
|
+
right: 2.5%;
|
|
2073
|
+
padding: 6px;
|
|
2074
|
+
bottom: 56px;
|
|
2260
2075
|
}
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2076
|
+
.next-ep-header{
|
|
2077
|
+
font-size: 12px;
|
|
2078
|
+
}
|
|
2079
|
+
.next-ep-img {
|
|
2080
|
+
width: 100px;
|
|
2081
|
+
height: 60px;
|
|
2082
|
+
}
|
|
2083
|
+
.next-ep-title {
|
|
2084
|
+
font-size: 9px;
|
|
2085
|
+
margin-left: 8px;
|
|
2264
2086
|
}
|
|
2265
2087
|
}
|
|
2266
|
-
|
|
2267
|
-
/* Full-player thumbnail while the next episode asset loads */
|
|
2268
|
-
.video-js.next-ep-load-pending {
|
|
2269
|
-
position: relative;
|
|
2270
|
-
}
|
|
2271
|
-
|
|
2272
|
-
.next-ep-preview-player-thumb {
|
|
2273
|
-
position: absolute;
|
|
2274
|
-
inset: 0;
|
|
2275
|
-
z-index: 5;
|
|
2276
|
-
overflow: hidden;
|
|
2277
|
-
background: #000;
|
|
2278
|
-
pointer-events: none;
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
.next-ep-load-overlay {
|
|
2282
|
-
position: absolute;
|
|
2283
|
-
inset: 0;
|
|
2284
|
-
z-index: 10;
|
|
2285
|
-
overflow: hidden;
|
|
2286
|
-
background: #000;
|
|
2287
|
-
pointer-events: none;
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2290
|
-
.next-ep-load-overlay-img {
|
|
2291
|
-
width: 100%;
|
|
2292
|
-
height: 100%;
|
|
2293
|
-
object-fit: cover;
|
|
2294
|
-
display: block;
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
.video-js.next-ep-load-pending .vjs-loading-spinner {
|
|
2298
|
-
z-index: 30 !important;
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
2088
|
/* a wrapper element that tracks the mouse vertically */
|
|
2302
2089
|
.vjs-thumbnail-holder {
|
|
2303
2090
|
position: absolute;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
export namespace scheduleTimerInstanceManager {
|
|
2
|
+
function get(): {
|
|
3
|
+
scheduleStartTimeMs: number;
|
|
4
|
+
scheduleEndTimeMs: number;
|
|
5
|
+
};
|
|
6
|
+
function set(scheduleTime: any): void;
|
|
7
|
+
}
|
|
1
8
|
export function handleCountdownTimer(playerId: any, err: any, completeCb: any): void;
|
|
2
9
|
export function monthDiff(d1: any, d2: any): number;
|
|
3
10
|
export function yearDiff(date1: any, date2: any): number;
|
|
4
11
|
export function getValues(countDown: any, targetDate: any): number[];
|
|
5
12
|
export function createUI([years, months, weeks, days, hours, minutes, seconds, container]: [any, any, any, any, any, any, any, any]): void;
|
|
13
|
+
export function handlePlayerMessage(playerId: any, { scheduleEndDate, scheduleStartDate }: {
|
|
14
|
+
scheduleEndDate: any;
|
|
15
|
+
scheduleStartDate: any;
|
|
16
|
+
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import l from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{K as a,H as s}from"./generic-
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import l from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{K as a,H as s}from"./generic-bd7427c4.js";import{g as c}from"./renditions-19f0b3a9.js";import{g as d,p as u}from"./skin-4f84b841.js";import{g as p}from"./localisation-0bf399a1.js";function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?m(Object(r),!0).forEach(function(n){e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(e){var t=v();return function(){var n,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var g=function(e){var o=function(e){r(i,e);var o=f(i);function i(e,n){var r;t(this,i);var l=(r=o.call(this,e,n)).el_;return l.classList.add("vjs-slowmo-button"),l.textContent=p("slowMoText")||"Slow Mo",r}return n(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)},C=function(e,o,l){var s=function(o){r(s,o);var i=f(s);function s(e,n){var r;t(this,s);var o=(r=i.call(this,e,n)).el_;o.classList.add("vjs-rewind-button");var a=u(l);return o.append(a),r}return n(s,[{key:"handleClick",value:function(){a(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},y=function(e,o,l){var a=function(o){r(a,o);var i=f(a);function a(e,n){var r;t(this,a);var o=(r=i.call(this,e,n)).el_;o.classList.add("vjs-skip-button");var s=u(l);return o.append(s),r}return n(a,[{key:"handleClick",value:function(){s(e,10)}}]),a}(i.getComponent("Button"));i.registerComponent("MyButton",a),i(e).getChild("controlBar").addChild("myButton",{},1)},B=function(e,t,n){import("./resolution-56c85eaf.js").then(function(r){var o=r.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=d(e),a=c(e);(null==a?void 0:a.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:n,renditions:a},l.controlBar.children().length-4))})},b=function(e,t,n){import("./nextEpisodeButton-9cb4a256.js").then(function(r){var o=r.default,l=d(n);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:n,sres:e,res:t},l.controlBar.children().length-5)})},j=function(e,t,n){import("./series-26c7f982.js").then(function(r){var o=r.seriesModule,l=d(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]&&r.handleSeasonChange(t[e],e,l,n)})},c=0;c<a.length;c++)s(c)})},k=function(e,t){import("./videoSelector-aef83393.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("videoSelector",r),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},S=function(e,t){import("./caption-settings-106547c2.js").then(function(n){var r,o,l,a,s=n.default,c=d(e);i.registerComponent("captionSelector",s),null===(r=document)||void 0===r||null===(o=r.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(),c&&c.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},E=function(e,t){import("./settings-icon-0de53818.js").then(function(n){var r,o,l,a,s=n.default,c=d(e);i.registerComponent("settingsSelector",s),null===(r=document)||void 0===r||null===(o=r.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(),c&&c.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},c.controlBar.children().length-3)})},O=function(e,t){import("./playlist-92500990.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("playlistSelector",r),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)})},I=function(e,t){import("./series-v2-5993fd16.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("seriesV2",r),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},w=function(e,t){import("./multicamv2-febf5390.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("streamSelector",r),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},M=function(e,t){var n=d(e).el(),r=i.dom.createEl("div",{className:"output-overlay",innerHTML:'<iframe frameBorder="0" src='.concat(t,"></iframe>")});n.append(r)},P=function(e){var t=d(e).el(),n=0,r=d(e);r.addChild("fullscreenToggle");var o=function(){var e,n=null==t||null===(e=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===e?void 0:e[0];n&&n.click()};r.el().addEventListener("dblclick",o),window._multiplayer_dbClickHandler=o;r.el().addEventListener("touchend",function(){var e=(new Date).getTime(),r=e-n;if(r<300&&r>0){var o,l=null==t||null===(o=t.getElementsByClassName("vjs-fullscreen-control"))||void 0===o?void 0:o[0];l&&l.click()}n=e}),window._multiplayer_dbTapHandler=o},x=function(e,t){import("./videoSelector-f9366913.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("videoSelector",r),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)})},L=function(e,t){import("./series-v2-c71b9a69.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("seriesV2",r),o.getChild("controlBar").addChild("seriesV2",h({playerId:e},t),o.controlBar.children().length-3)})},N=function(e,t){import("./multicamv2-587a5bc1.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("streamSelector",r),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)})},_=function(e,t){import("./index-7f9c8eec.js").then(function(n){var r=n.default,o=d(e);i.registerComponent("MuteButton",r),o.addChild("MuteButton",h({playerId:e},t))})};export{B as a,j as b,b as c,y as d,C as e,E as f,S as g,M as h,g as i,x as j,N as k,O as l,L as m,P as n,k as o,I as p,w as q,_ as r};
|