@viewlift/player-backup 2.0.356-backup → 2.0.358-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-9c748d88.js → autoNextVideo-5acd50bf.js} +1 -1
- package/cjs/bundle.css +1079 -1079
- package/cjs/caption-settings-0d09a023.js +1 -0
- package/cjs/captions-4dfe293a.js +1 -0
- package/cjs/features-1fdd43c2.js +1 -0
- package/cjs/generic-0e04dc4c.js +1 -0
- package/cjs/index-58f88daa.js +1 -0
- package/cjs/index-6b01cc51.js +1 -0
- package/cjs/index-71fabb0b.js +1 -0
- package/cjs/index-9fe59f16.js +1 -0
- package/cjs/index-cad52287.js +1 -0
- package/cjs/index.js +1 -1
- package/cjs/multicamv2-28dfff4d.js +1 -0
- package/cjs/multicamv2-4198ced1.js +1 -0
- package/cjs/nextEpisodeButton-0bfac861.js +1 -0
- package/cjs/playlist-908627f4.js +1 -0
- package/cjs/relatedVideosManager-0a220d05.js +1 -0
- package/cjs/renditions-627bdfad.js +1 -0
- package/cjs/resolution-3af2cf1b.js +1 -0
- package/cjs/series-b469f8d8.js +1 -0
- package/cjs/series-v2-c118b5b4.js +1 -0
- package/cjs/series-v2-f711728c.js +1 -0
- package/cjs/settings-icon-8bb0d3f0.js +1 -0
- package/cjs/skin-092c01b4.js +1 -0
- package/cjs/skin-3a0b669c.js +1 -0
- package/cjs/skin-66dce245.js +1 -0
- package/cjs/skin-6cebb462.js +1 -0
- package/cjs/skin-6f1311ff.js +1 -0
- package/cjs/skin-8097bbc6.js +1 -0
- package/cjs/{skin-46438f7f.js → skin-80bcaf98.js} +1 -1
- package/cjs/skin-a0d45e48.js +1 -0
- package/cjs/skin-a57ede66.js +1 -0
- package/cjs/skin-b7431e3a.js +1 -0
- package/cjs/{skin-90d2da2a.js → skin-e86ab3da.js} +1 -1
- package/cjs/videoSelector-7a084795.js +1 -0
- package/cjs/videoSelector-d46d8440.js +1 -0
- package/cjs/videojs-dash5.es-80bdd597.js +1 -0
- package/esm/apis/index.d.ts +6 -4
- package/esm/{autoNextVideo-88053576.js → autoNextVideo-ede5b5c1.js} +1 -1
- package/esm/bundle.css +1079 -1079
- package/esm/caption-settings-e1a53633.js +1 -0
- package/esm/captions-1f931e14.js +1 -0
- package/esm/components/chapters/markers.d.ts +1 -1
- package/esm/components/chapters/offsets.d.ts +22 -0
- package/esm/components/chapters/timelineMapper.d.ts +2 -2
- package/esm/features-2ea12f2c.js +1 -0
- package/esm/generic-daefa770.js +1 -0
- package/esm/helpers/token.d.ts +1 -1
- package/esm/index-00da34a7.js +1 -0
- package/esm/index-24d43bc9.js +1 -0
- package/esm/index-448ca043.js +1 -0
- package/esm/index-85c4eeac.js +1 -0
- package/esm/index-f0da6521.js +1 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/multicamv2-ba88d491.js +1 -0
- package/esm/multicamv2-e80ac30f.js +1 -0
- package/esm/nextEpisodeButton-bd60bd5b.js +1 -0
- package/esm/playlist-947d9301.js +1 -0
- package/esm/relatedVideosManager-81661348.js +1 -0
- package/esm/renditions-620d93b3.js +1 -0
- package/esm/resolution-2ee017b4.js +1 -0
- package/esm/series-9fdac719.js +1 -0
- package/esm/series-v2-0bf9dd32.js +1 -0
- package/esm/series-v2-ddf1ba50.js +1 -0
- package/esm/settings-icon-c65eb622.js +1 -0
- package/esm/skin-247c87d8.js +1 -0
- package/esm/skin-291e7831.js +1 -0
- package/esm/{skin-81eb2f7e.js → skin-34fdf5e7.js} +1 -1
- package/esm/skin-3653c5b3.js +1 -0
- package/esm/skin-551ed4f3.js +1 -0
- package/esm/{skin-f319c0bd.js → skin-855bee07.js} +1 -1
- package/esm/skin-b31bf39e.js +1 -0
- package/esm/skin-e168909b.js +1 -0
- package/esm/skin-e1adcb28.js +1 -0
- package/esm/skin-e533e02a.js +1 -0
- package/esm/skin-f713d05a.js +1 -0
- package/esm/videoSelector-b35ce4cd.js +1 -0
- package/esm/videoSelector-f62f655e.js +1 -0
- package/esm/videojs-dash5.es-45c88e15.js +1 -0
- package/package.json +1 -1
- package/cjs/caption-settings-50cfa585.js +0 -1
- package/cjs/captions-23ff3076.js +0 -1
- package/cjs/features-3956bca9.js +0 -1
- package/cjs/generic-9971cde9.js +0 -1
- package/cjs/index-39dbaae8.js +0 -1
- package/cjs/index-6ce8b961.js +0 -1
- package/cjs/index-6ecb2219.js +0 -1
- package/cjs/index-d82692d6.js +0 -1
- package/cjs/index-d9460e79.js +0 -1
- package/cjs/multicamv2-552d5534.js +0 -1
- package/cjs/multicamv2-8cbb3c7a.js +0 -1
- package/cjs/nextEpisodeButton-3136a7c9.js +0 -1
- package/cjs/playlist-a2f57a3e.js +0 -1
- package/cjs/relatedVideosManager-44ec6d59.js +0 -1
- package/cjs/renditions-05a85e06.js +0 -1
- package/cjs/resolution-b5880a17.js +0 -1
- package/cjs/series-e936a6e1.js +0 -1
- package/cjs/series-v2-e901704c.js +0 -1
- package/cjs/series-v2-ee1f4fed.js +0 -1
- package/cjs/settings-icon-91d87df4.js +0 -1
- package/cjs/skin-27d57991.js +0 -1
- package/cjs/skin-2c4c53c4.js +0 -1
- package/cjs/skin-3a9f55cb.js +0 -1
- package/cjs/skin-3f0f7c5d.js +0 -1
- package/cjs/skin-55634dc6.js +0 -1
- package/cjs/skin-8e71d9b3.js +0 -1
- package/cjs/skin-cd9c9b0b.js +0 -1
- package/cjs/skin-d80d7f8d.js +0 -1
- package/cjs/skin-ea8fc84f.js +0 -1
- package/cjs/videoSelector-625ce469.js +0 -1
- package/cjs/videoSelector-f5dfa63f.js +0 -1
- package/cjs/videojs-dash5.es-0f92604f.js +0 -1
- package/esm/caption-settings-d0e2275a.js +0 -1
- package/esm/captions-4dea3682.js +0 -1
- package/esm/features-34bf2890.js +0 -1
- package/esm/generic-ea2aba32.js +0 -1
- package/esm/index-023de7f0.js +0 -1
- package/esm/index-1a02e503.js +0 -1
- package/esm/index-22d23be0.js +0 -1
- package/esm/index-5b6be94c.js +0 -1
- package/esm/index-fe388994.js +0 -1
- package/esm/multicamv2-4422945d.js +0 -1
- package/esm/multicamv2-7b1e8eab.js +0 -1
- package/esm/nextEpisodeButton-867ef9ad.js +0 -1
- package/esm/playlist-bebcdc17.js +0 -1
- package/esm/relatedVideosManager-93533a90.js +0 -1
- package/esm/renditions-28891b91.js +0 -1
- package/esm/resolution-3f14386f.js +0 -1
- package/esm/series-a2b568b3.js +0 -1
- package/esm/series-v2-9d0288fb.js +0 -1
- package/esm/series-v2-acf69186.js +0 -1
- package/esm/settings-icon-74213ca6.js +0 -1
- package/esm/skin-0d5a03a0.js +0 -1
- package/esm/skin-1769448f.js +0 -1
- package/esm/skin-2340ab80.js +0 -1
- package/esm/skin-2a3ee818.js +0 -1
- package/esm/skin-3eb9f992.js +0 -1
- package/esm/skin-4674228b.js +0 -1
- package/esm/skin-7fdd9116.js +0 -1
- package/esm/skin-e92e8857.js +0 -1
- package/esm/skin-fc42d6bb.js +0 -1
- package/esm/videoSelector-3b4d3856.js +0 -1
- package/esm/videoSelector-b9df91cb.js +0 -1
- package/esm/videojs-dash5.es-cfe95daa.js +0 -1
package/esm/apis/index.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export namespace baseUrlManager {
|
|
|
4
4
|
}
|
|
5
5
|
export function getVideoDetails(id: any, token: any, ssaiDisable?: boolean): Promise<any>;
|
|
6
6
|
export function getSeriesDetails(id: any, token: any): Promise<any>;
|
|
7
|
-
export function saveWatchHistory(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
export function getVideoInfo(videoId: any, token: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
export function getSeriesWatchHistory(data: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
+
export function saveWatchHistory(params: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
8
|
+
export function getVideoInfo(videoId: any, token: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
9
|
+
export function getSeriesWatchHistory(data: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
10
10
|
export function getLinearChannelDetails(params: any, token: any, ssaiDisable?: boolean): Promise<any>;
|
|
11
|
-
export function getEntitlementData(id: any, token: any, url: any, locationData: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
+
export function getEntitlementData(id: any, token: any, url: any, locationData: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
12
|
+
export function apiHeaders(endpoint: any): any;
|
|
13
|
+
export function apiParams(endpoint: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,aa as n,V as t,a9 as o,ab as r}from"./generic-
|
|
1
|
+
import{h as e,aa as n,V as t,a9 as o,ab as r}from"./generic-daefa770.js";import{b as s,a as i}from"./index-f0da6521.js";import{g as a,h as u}from"./skin-3653c5b3.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},g=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)))},h=function(e,n){clearTimeout(d);var t=f(n);i(e,t,null);var o=a(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(!a(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=[],T=function(e){D=e||[]},N=function(t){clearTimeout(d),D=(null==t?void 0:t.content)||[],l=null==t?void 0:t.cb;var i=t.playerId;s(i,function(){var t=a(i);0!==(null==t?void 0:t.currentTime())&&((c=o())>D.length-1||(r(c+1),m(c,i,D).then(function(n){u(c,i),e(n.response),c++,A(n)}).catch(function(e){A(p(e,D[idx])),u(c,i),g(e)?h(i,e):(c++,d=setTimeout(function(){n(i)&&b(c,i,D)},5e3))})))})},b=function e(n,t,o,s){c=n,n>o.length-1||(r(c+1),m(n,t,o).then(function(e){u(c,t),c++,A(e)}).catch(function(r){A(p(r,o[n])),g(r)?h(t,r):setTimeout(function(){u(c,t),c++,e(c,t,o)},5e3)}))},A=function(e){l&&l(e)};export{N as a,b as s,T as u};
|