@viewlift/player-backup 2.0.114-backup → 2.0.116-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-a860d3e8.js → autoNextVideo-d2ba145d.js} +1 -1
- package/cjs/bundle.css +79 -29
- package/cjs/{features-2bb2dd4e.js → features-b9518c47.js} +1 -1
- package/cjs/generic-377c0573.js +1 -0
- package/cjs/{index-c5039d58.js → index-62222a39.js} +1 -1
- package/cjs/index-88dc9e09.js +1 -0
- package/cjs/index-94a30fd0.js +1 -0
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-4afd8915.js → multicamv2-833efcf1.js} +1 -1
- package/cjs/{multicamv2-aaaa65d6.js → multicamv2-8d52871f.js} +1 -1
- package/cjs/{nextEpisodeButton-d160dcfd.js → nextEpisodeButton-b98fc202.js} +1 -1
- package/cjs/{playlist-72ba84d5.js → playlist-ce7f9db5.js} +1 -1
- package/cjs/{series-6049ffcc.js → series-1ba5aa80.js} +1 -1
- package/cjs/{series-v2-8a4359ea.js → series-v2-66cc35c6.js} +1 -1
- package/cjs/{series-v2-ea10318d.js → series-v2-b1911450.js} +1 -1
- package/cjs/{settings-icon-27b60de6.js → settings-icon-7384b65d.js} +1 -1
- package/cjs/{skin-7a98d3fd.js → skin-207038f1.js} +1 -1
- package/cjs/skin-710efb6a.js +1 -0
- package/cjs/{skin-84eed465.js → skin-8fd50d98.js} +1 -1
- package/cjs/skin-ac9b0b26.js +1 -0
- package/cjs/{skin-021caaea.js → skin-b1e9a1d6.js} +1 -1
- package/cjs/{skin-43e130dc.js → skin-cd625772.js} +1 -1
- package/cjs/start-begin-btn-95c6cc92.js +1 -0
- package/cjs/{videoSelector-187f3529.js → videoSelector-481263de.js} +1 -1
- package/cjs/{videoSelector-9c3339e2.js → videoSelector-4cd10521.js} +1 -1
- package/cjs/{watch-live-btn-04bf383d.js → watch-live-btn-8a160941.js} +1 -1
- package/esm/{autoNextVideo-51072eff.js → autoNextVideo-0cba47e8.js} +1 -1
- package/esm/bundle.css +79 -29
- package/esm/{features-2d66d073.js → features-b17a311f.js} +1 -1
- package/esm/generic-e4833832.js +1 -0
- package/esm/{index-5863b4b8.js → index-20d3b872.js} +1 -1
- package/esm/index-7dec4239.js +1 -0
- package/esm/index-e1f939b0.js +1 -0
- package/esm/index.js +1 -1
- package/esm/{multicamv2-beef2152.js → multicamv2-716b15d0.js} +1 -1
- package/esm/{multicamv2-20406485.js → multicamv2-ea35068b.js} +1 -1
- package/esm/{nextEpisodeButton-ce9c073f.js → nextEpisodeButton-a918f043.js} +1 -1
- package/esm/{playlist-3fc8d123.js → playlist-ad9491f0.js} +1 -1
- package/esm/{series-59e62fbe.js → series-efca8869.js} +1 -1
- package/esm/{series-v2-ecbcd52a.js → series-v2-0f338773.js} +1 -1
- package/esm/{series-v2-0de0cb77.js → series-v2-38415907.js} +1 -1
- package/esm/{skin-59cd094a.js → skin-1d3bf1bb.js} +1 -1
- package/esm/{skin-757c1e70.js → skin-3fa3b400.js} +1 -1
- package/esm/{skin-93e0aec2.js → skin-6520acf0.js} +1 -1
- package/esm/{skin-7b1fe120.js → skin-c51a3958.js} +1 -1
- package/esm/skin-e55951c5.js +1 -0
- package/esm/skin-f2cb9f9e.js +1 -0
- package/esm/start-begin-btn-8120ecdd.js +1 -0
- package/esm/{videoSelector-6d99a9f5.js → videoSelector-64c721c9.js} +1 -1
- package/esm/{videoSelector-69c96a51.js → videoSelector-7c82db41.js} +1 -1
- package/esm/{watch-live-btn-2d5cd4d3.js → watch-live-btn-d4d27011.js} +1 -1
- package/package.json +1 -1
- package/cjs/generic-26d3fd75.js +0 -1
- package/cjs/index-1a9cf743.js +0 -1
- package/cjs/skin-32396be4.js +0 -1
- package/cjs/skin-a86f763d.js +0 -1
- package/cjs/start-begin-btn-35c37795.js +0 -1
- package/esm/apis/index.d.ts +0 -11
- package/esm/assets/icons.d.ts +0 -24
- package/esm/components/advertisement/advertisement.d.ts +0 -1
- package/esm/components/auto-next-video/autoNextVideo.d.ts +0 -2
- package/esm/components/broadcaster_image/index.d.ts +0 -1
- package/esm/components/caption-settings/caption-settings.d.ts +0 -14
- package/esm/components/dvr-overlay/index.d.ts +0 -1
- package/esm/components/dvr-overlay/start-begin-btn.d.ts +0 -6
- package/esm/components/dvr-overlay/watch-live-btn.d.ts +0 -6
- package/esm/components/dvr-seekbar/index.d.ts +0 -14
- package/esm/components/multicam/multicam.d.ts +0 -18
- package/esm/components/multicam-v2/multicamv2.d.ts +0 -13
- package/esm/components/multicam-v2_TEMP/multicamv2.d.ts +0 -13
- package/esm/components/next-ep-preview/next-ep-preview.d.ts +0 -1
- package/esm/components/next-episode/nextEpisodeButton.d.ts +0 -13
- package/esm/components/playlist-tray/playlist.d.ts +0 -15
- package/esm/components/quality-selector/index.d.ts +0 -1
- package/esm/components/resolution/resolution-v2.d.ts +0 -18
- package/esm/components/resolution/resolution.d.ts +0 -20
- package/esm/components/series/series.d.ts +0 -10
- package/esm/components/series-v2/helper.d.ts +0 -3
- package/esm/components/series-v2/series-v2.d.ts +0 -25
- package/esm/components/series-v2_TEMP/helper.d.ts +0 -1
- package/esm/components/series-v2_TEMP/series-v2.d.ts +0 -21
- package/esm/components/settings-icon/settings-icon.d.ts +0 -17
- package/esm/components/trickplay/helper.d.ts +0 -13
- package/esm/components/trickplay/index.d.ts +0 -1
- package/esm/components/trickplay/videojs.thumbnails.d.ts +0 -1
- package/esm/components/video-selector/videoSelector.d.ts +0 -18
- package/esm/components/video-selector_TEMP/videoSelector.d.ts +0 -16
- package/esm/components/watch-history/handleWatchHistory.d.ts +0 -2
- package/esm/contentHandler/content_types/epg.d.ts +0 -4
- package/esm/contentHandler/content_types/external.d.ts +0 -4
- package/esm/contentHandler/content_types/index.d.ts +0 -5
- package/esm/contentHandler/content_types/series.d.ts +0 -4
- package/esm/contentHandler/content_types/vod.d.ts +0 -4
- package/esm/contentHandler/firePlayer.d.ts +0 -4
- package/esm/core/captions.d.ts +0 -10
- package/esm/core/generic.d.ts +0 -48
- package/esm/core/player_instance.d.ts +0 -6
- package/esm/core/renditions.d.ts +0 -6
- package/esm/core/util.d.ts +0 -16
- package/esm/core/volume.d.ts +0 -2
- package/esm/dash/dashHandler.d.ts +0 -1
- package/esm/dash/sgai.d.ts +0 -9
- package/esm/features.d.ts +0 -32
- package/esm/generic-7fb8e9c5.js +0 -1
- package/esm/globalPlayerEvents.d.ts +0 -8
- package/esm/helpers/browser.d.ts +0 -2
- package/esm/helpers/currentVideoInfo.d.ts +0 -14
- package/esm/helpers/errorHandling.d.ts +0 -2
- package/esm/helpers/loader.d.ts +0 -2
- package/esm/helpers/localisation.d.ts +0 -2
- package/esm/helpers/scriptLoader.d.ts +0 -2
- package/esm/helpers/secondary-switching.d.ts +0 -1
- package/esm/helpers/skin.d.ts +0 -14
- package/esm/helpers/sourceRetriever.d.ts +0 -11
- package/esm/helpers/ssaiEventHandler.d.ts +0 -27
- package/esm/helpers/token.d.ts +0 -9
- package/esm/index-3b50e289.js +0 -1
- package/esm/index.d.ts +0 -42
- package/esm/plugins/chromecast.d.ts +0 -18
- package/esm/plugins/index.d.ts +0 -2
- package/esm/plugins/library.d.ts +0 -7
- package/esm/plugins/videojs-dash5.es.d.ts +0 -51
- package/esm/plugins/videojs_contrib_dash.d.ts +0 -51
- package/esm/skin/carousel/skin.d.ts +0 -1
- package/esm/skin/default/events.d.ts +0 -1
- package/esm/skin/default/skin.d.ts +0 -1
- package/esm/skin/defaultV2/events.d.ts +0 -1
- package/esm/skin/defaultV2/skin.d.ts +0 -1
- package/esm/skin/index.d.ts +0 -1
- package/esm/skin/minimalist/skin.d.ts +0 -1
- package/esm/skin/multiplayer/events.d.ts +0 -1
- package/esm/skin/multiplayer/skin.d.ts +0 -1
- package/esm/skin/vl_one/events.d.ts +0 -1
- package/esm/skin/vl_one/skin.d.ts +0 -1
- package/esm/skin-0c5f06e9.js +0 -1
- package/esm/skin-6185e3d0.js +0 -1
- package/esm/start-begin-btn-63a71f73.js +0 -1
- package/esm/utilities/analytics.d.ts +0 -3
- package/esm/utilities/beacon.d.ts +0 -3
- package/esm/utilities/controlsColor.d.ts +0 -1
- package/esm/utilities/conviva.d.ts +0 -5
- package/esm/utilities/keyboardShortcuts.d.ts +0 -5
- package/esm/utilities/replaceMacros.d.ts +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export { Html5DashJS as default };
|
|
2
|
-
/**
|
|
3
|
-
* videojs-contrib-dash
|
|
4
|
-
*
|
|
5
|
-
* Use Dash.js to playback DASH content inside of Video.js via a SourceHandler
|
|
6
|
-
*/
|
|
7
|
-
declare class Html5DashJS {
|
|
8
|
-
static buildDashJSProtData(keySystemOptions: any): {};
|
|
9
|
-
/**
|
|
10
|
-
* Get a list of hooks for a specific lifecycle
|
|
11
|
-
*
|
|
12
|
-
* @param {string} type the lifecycle to get hooks from
|
|
13
|
-
* @param {Function|Function[]} [hook] Optionally add a hook tothe lifecycle
|
|
14
|
-
* @return {Array} an array of hooks or epty if none
|
|
15
|
-
* @method hooks
|
|
16
|
-
*/
|
|
17
|
-
static hooks(type: string, hook?: Function | Function[]): any[];
|
|
18
|
-
/**
|
|
19
|
-
* Add a function hook to a specific dash lifecycle
|
|
20
|
-
*
|
|
21
|
-
* @param {string} type the lifecycle to hook the function to
|
|
22
|
-
* @param {Function|Function[]} hook the function or array of functions to attach
|
|
23
|
-
* @method hook
|
|
24
|
-
*/
|
|
25
|
-
static hook(type: string, hook: Function | Function[]): void;
|
|
26
|
-
/**
|
|
27
|
-
* Remove a hook from a specific dash lifecycle.
|
|
28
|
-
*
|
|
29
|
-
* @param {string} type the lifecycle that the function hooked to
|
|
30
|
-
* @param {Function} hook The hooked function to remove
|
|
31
|
-
* @return {boolean} True if the function was removed, false if not found
|
|
32
|
-
* @method removeHook
|
|
33
|
-
*/
|
|
34
|
-
static removeHook(type: string, hook: Function): boolean;
|
|
35
|
-
constructor(source: any, tech: any, options: any);
|
|
36
|
-
player: import("video.js/dist/types/player").default;
|
|
37
|
-
tech_: any;
|
|
38
|
-
el_: any;
|
|
39
|
-
elParent_: any;
|
|
40
|
-
hasFiniteDuration_: boolean;
|
|
41
|
-
keySystemOptions_: {};
|
|
42
|
-
mediaPlayer_: any;
|
|
43
|
-
retriggerError_: (event: any) => void;
|
|
44
|
-
getDuration_: (event: any) => void;
|
|
45
|
-
ttmlContainer_: import("video.js/dist/types/component").default;
|
|
46
|
-
dispose(): void;
|
|
47
|
-
duration(): any;
|
|
48
|
-
}
|
|
49
|
-
declare namespace Html5DashJS {
|
|
50
|
-
const hooks_: {};
|
|
51
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export { Html5DashJS as default };
|
|
2
|
-
/**
|
|
3
|
-
* videojs-contrib-dash
|
|
4
|
-
*
|
|
5
|
-
* Use Dash.js to playback DASH content inside of Video.js via a SourceHandler
|
|
6
|
-
*/
|
|
7
|
-
declare class Html5DashJS {
|
|
8
|
-
static buildDashJSProtData(keySystemOptions: any): {};
|
|
9
|
-
/**
|
|
10
|
-
* Get a list of hooks for a specific lifecycle
|
|
11
|
-
*
|
|
12
|
-
* @param {string} type the lifecycle to get hooks from
|
|
13
|
-
* @param {Function|Function[]} [hook] Optionally add a hook tothe lifecycle
|
|
14
|
-
* @return {Array} an array of hooks or epty if none
|
|
15
|
-
* @method hooks
|
|
16
|
-
*/
|
|
17
|
-
static hooks(type: string, hook?: Function | Function[]): any[];
|
|
18
|
-
/**
|
|
19
|
-
* Add a function hook to a specific dash lifecycle
|
|
20
|
-
*
|
|
21
|
-
* @param {string} type the lifecycle to hook the function to
|
|
22
|
-
* @param {Function|Function[]} hook the function or array of functions to attach
|
|
23
|
-
* @method hook
|
|
24
|
-
*/
|
|
25
|
-
static hook(type: string, hook: Function | Function[]): void;
|
|
26
|
-
/**
|
|
27
|
-
* Remove a hook from a specific dash lifecycle.
|
|
28
|
-
*
|
|
29
|
-
* @param {string} type the lifecycle that the function hooked to
|
|
30
|
-
* @param {Function} hook The hooked function to remove
|
|
31
|
-
* @return {boolean} True if the function was removed, false if not found
|
|
32
|
-
* @method removeHook
|
|
33
|
-
*/
|
|
34
|
-
static removeHook(type: string, hook: Function): boolean;
|
|
35
|
-
constructor(source: any, tech: any, options: any);
|
|
36
|
-
player: import("video.js/dist/types/player").default;
|
|
37
|
-
tech_: any;
|
|
38
|
-
el_: any;
|
|
39
|
-
elParent_: any;
|
|
40
|
-
hasFiniteDuration_: boolean;
|
|
41
|
-
keySystemOptions_: {};
|
|
42
|
-
mediaPlayer_: any;
|
|
43
|
-
retriggerError_: (event: any) => void;
|
|
44
|
-
getDuration_: (event: any) => void;
|
|
45
|
-
ttmlContainer_: import("video.js/dist/types/component").default;
|
|
46
|
-
dispose(): void;
|
|
47
|
-
duration(): any;
|
|
48
|
-
}
|
|
49
|
-
declare namespace Html5DashJS {
|
|
50
|
-
const hooks_: {};
|
|
51
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initaliseSkin(playerId: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function playerEvents(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initialiseSkin(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function playerEvents(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initialiseSkin(playerId: any, options: any): void;
|
package/esm/skin/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function skinHandling(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initaliseSkin(playerId: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function playerEvents(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initialiseSkin(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function playerEvents(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function initialiseSkin(playerId: any, options: any): void;
|
package/esm/skin-0c5f06e9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l,h as o,d as i,e,o as n,p as a,q as r,r as t,s}from"./features-2d66d073.js";import{g as d}from"./player_instance-34118a5b.js";import{a as u,i as v,b as p}from"./index-5863b4b8.js";import{R as m,f as c,e as b,k as y}from"./generic-7fb8e9c5.js";import"videojs-contrib-quality-menu";import{S as f,c as g,d as h}from"./icons-c139587c.js";import j from"video.js";import{i as C,s as w}from"./index-3b50e289.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./skin-16f83185.js";import"./localisation-0bf399a1.js";import"./autoNextVideo-51072eff.js";import"./util-9649ae40.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"ua-parser-js";import"./captions-b619441b.js";import"video.js/dist/video-js.min.css";function k(i,e){var n,a=d(i),r=(null==e||null===(n=e.res)||void 0===n?void 0:n.siteId)||"";a&&(a.on("loadeddata",function(){var o,n,t,s,p;a.qualityLevels()&&a.qualityLevels().length?function(l){var o=d(l);o&&(null==o||o.qualityMenu,o.qualityMenu({useResolutionLabels:!0}))}(i):l(i,"vl_one",f()),!(null!=e&&null!==(o=e.series)&&void 0!==o&&o.enable||null!==(n=window)&&void 0!==n&&null!==(t=n.app_data)&&void 0!==t&&null!==(s=t.appcmsMain)&&void 0!==s&&null!==(p=s.features)&&void 0!==p&&p.auto_play)||null!=e&&e.liveVideo||u(i,e),null!=e&&e.liveVideo||m()||"b13633d9-f778-40c6-a5ea-c330617cdf55"===r||v(i)}),a.one("play",function(){var l,e,n,a;null!==(l=window)&&void 0!==l&&null!==(e=l.customData)&&void 0!==e&&e.iframeOverlayUrl&&o(i,null===(n=window)||void 0===n||null===(a=n.customData)||void 0===a?void 0:a.iframeOverlayUrl)}))}function B(l,o){d(l).addClass("skin_vlone"),k(l,o),function(l,o){var d,u,v,m,f,j,k,B,_,V,M,T,q,A,R,L=(null==o||null===(d=o.res)||void 0===d||null===(u=d.video)||void 0===u?void 0:u.isSSAIEnabled)||!1,O=c(null==o?void 0:o.res,l)||{};O.src;var x=(null==o?void 0:o.skin_settings)||{};null!=x&&x.skipBtn&&0==(null==o?void 0:o.liveVideo)&&0==(null==o?void 0:o.liveui)&&i(l,"VL_ONE",g());(null!=x&&x.rewindBtn&&0==(null==o?void 0:o.liveVideo)&&0==(null==o?void 0:o.liveui)||1==(null==o?void 0:o.liveui))&&e(l,"VL_ONE",h());(null==o||null===(v=o.relatedVideos)||void 0===v||null===(m=v.content)||void 0===m?void 0:m.length)>0&&n(l,null==o?void 0:o.relatedVideos);null!=o&&null!==(f=o.series)&&void 0!==f&&f.enable&&a(l,o);(null==o||null===(j=o.streams)||void 0===j?void 0:j.length)>1&&r(l,null==o?void 0:o.streams);if(p(l,o),C(l,o),"MEDIA_TAILOR"==(null===(k=window)||void 0===k||null===(B=k.app_data)||void 0===B||null===(_=B.appcmsMain)||void 0===_||null===(V=_.adsConfig)||void 0===V?void 0:V.vodAdSticherProvider)&&null!==(M=window)&&void 0!==M&&null!==(T=M.app_data)&&void 0!==T&&null!==(q=T.appcmsMain)&&void 0!==q&&null!==(A=q.adsConfig)&&void 0!==A&&A.vodAdClientSideTracking&&L){var D,E=null;if(null!=o&&null!==(D=o.series)&&void 0!==D&&D.enable){var I,P,S,N=null===(I=b())||void 0===I||null===(P=I.video)||void 0===P||null===(S=P.gist)||void 0===S?void 0:S.id,U=y(),$=(null==U?void 0:U.get(N))||{t:0,p:0},z=$.t;$.p<95&&(E=z)}else{var G=o.watchHistoryResumeTime;o.watchedPercentage<95&&(E=G)}w(l,E)}null!=o&&null!==(R=o.dvrConfig)&&void 0!==R&&R.enable&&null!=o&&o.isDvrEnabled&&(t(l,o),s(l,o))}(l,o),_(l,o)}var _=function(l,o){var i,e,n,a,r,t,s,u,v,p,m,c,b=d(l),y=(null==o?void 0:o.theme)||{},f=j.dom.$(".vjs-play-progress"),g=j.dom.$(".video-js .vjs-big-play-button .vjs-icon-placeholder");g&&(g.style.color="".concat(null===(i=window)||void 0===i||null===(e=i.app_data)||void 0===e||null===(n=e.appcmsMain)||void 0===n||null===(a=n.brand)||void 0===a||null===(r=a.cta)||void 0===r||null===(t=r.primary)||void 0===t?void 0:t.backgroundColor)),f&&(f.style.background="".concat(null===(s=window)||void 0===s||null===(u=s.app_data)||void 0===u||null===(v=u.appcmsMain)||void 0===v||null===(p=v.brand)||void 0===p||null===(m=p.cta)||void 0===m||null===(c=m.primary)||void 0===c?void 0:c.backgroundColor));var h=b.getChild("BigPlayButton")||null;(null==y?void 0:y.progressBarColor)&&f&&(f.style.background=y.progressBarColor),(null==y?void 0:y.playButtonBackgroundColor)&&h&&(h.el().style.background=y.playButtonBackgroundColor),(null==y?void 0:y.playButtonColor)&&g&&(g.style.color=y.playButtonColor),(null==y?void 0:y.playButtonType)&&("square"==(null==y?void 0:y.playButtonType)?h.el().style.borderRadius=".3em":h.el().style.borderRadius="1.3em")};export{B as initialiseSkin};
|
package/esm/skin-6185e3d0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,b as t,c as s,d as i,e as o}from"./features-2d66d073.js";import{i as r}from"./index-3b50e289.js";import{S as n,M as l,a,N as m,b as d,R as p}from"./icons-c139587c.js";import{g as u}from"./player_instance-34118a5b.js";import{b as c}from"./skin-16f83185.js";import{e as b}from"./generic-7fb8e9c5.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";import"video.js";import"./resolution-62be852a.js";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/assertThisInitialized";import"./localisation-0bf399a1.js";import"video.js/dist/video-js.min.css";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"./util-9649ae40.js";import"./captions-b619441b.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/slicedToArray";import"axios";import"js-cookie";import"ua-parser-js";function v(v,f){u(v).addClass("skin_default"),r(v,f),import("./skin-71be210e.js").then(function(e){var t=document.createElement("style");t.id="def_skin",t.append("".concat(e.default)),document.head.appendChild(t)}),function(e,t){0==t.liveVideo&&0==t.liveui&&i(e,"default",d());(0==t.liveVideo&&0==t.liveui||1==t.liveui)&&o(e,"default",p())}(v,f),function(i,o){var r=u(i),l=(null==o?void 0:o.sres)||null;r.on("loadeddata",function(){e(i,"default",n()),l&&import("./nextEpisodeButton-ce9c073f.js").then(function(e){e.initaliseFunctionality(o.sres.seasons,b())})}),r.one("loadedmetadata",function(){var e;l&&(t(i,null==o||null===(e=o.sres)||void 0===e?void 0:e.seasons,o),s(o.sres,o.res,i))})}(v,f),function(e,t){var s,i,o,r,n=u(e),d=document.getElementsByClassName("vjs-current-time")[0],p=document.getElementsByClassName("vjs-duration")[0],b=document.getElementsByClassName("vjs-time-divider")[0];t.liveVideo&&(d&&(d.style.display="none"),p&&(p.style.display="none"),b&&(b.style.display="none"));null===(s=n.controlBar.getChild("FullscreenToggle"))||void 0===s||null===(i=s.el())||void 0===i||i.appendChild(c(l(window.controlsColor))),null===(o=n.controlBar.getChild("FullscreenToggle"))||void 0===o||null===(r=o.el())||void 0===r||r.appendChild(c(a(window.controlsColor)));var v=n.controlBar.getChild("SubsCapsButton").el();document.getElementById(e).getElementsByClassName("vjs-subs-caps-button")[1].appendChild(c(m()));var f=document.createElement("div");f.classList.add("caption-header"),v.querySelector(".vjs-menu-content").insertBefore(f,v.querySelector(".vjs-menu-item"))}(v,f)}export{v as initialiseSkin};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/classCallCheck";import e from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import n from"@babel/runtime/helpers/possibleConstructorReturn";import o from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";import{s as l}from"./icons-c139587c.js";function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}var s=i.getComponent("Component"),c=function(){r(p,s);var c,u,m=(c=p,u=a(),function(){var t,e=o(c);if(u){var r=o(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return n(this,t)});function p(e,r){var n;return t(this,p),(n=m.call(this,e,r)).el().innerHTML=l(),r.userId,r.siteOwner,n.on("click",function(){e&&e.seekable()&&(e.currentTime(e.seekable().start(0)),e.play())}),n}return e(p,[{key:"createEl",value:function(){return i.dom.createEl("button",{className:"vjs-control vjs-button watch-begin-btn",role:"button",tabIndex:0,title:"Start From Beginning"})}}]),p}();export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function addColorToControls(color: any, player: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function replaceMacros(assetUrl: string, playerId: any, props: any): string;
|