@viewlift/player-backup 2.0.357-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.
Files changed (145) hide show
  1. package/cjs/{autoNextVideo-7dc12fbd.js → autoNextVideo-5acd50bf.js} +1 -1
  2. package/cjs/bundle.css +303 -303
  3. package/cjs/caption-settings-0d09a023.js +1 -0
  4. package/cjs/captions-4dfe293a.js +1 -0
  5. package/cjs/features-1fdd43c2.js +1 -0
  6. package/cjs/generic-0e04dc4c.js +1 -0
  7. package/cjs/index-58f88daa.js +1 -0
  8. package/cjs/index-6b01cc51.js +1 -0
  9. package/cjs/index-71fabb0b.js +1 -0
  10. package/cjs/index-9fe59f16.js +1 -0
  11. package/cjs/index-cad52287.js +1 -0
  12. package/cjs/index.js +1 -1
  13. package/cjs/multicamv2-28dfff4d.js +1 -0
  14. package/cjs/multicamv2-4198ced1.js +1 -0
  15. package/cjs/nextEpisodeButton-0bfac861.js +1 -0
  16. package/cjs/playlist-908627f4.js +1 -0
  17. package/cjs/relatedVideosManager-0a220d05.js +1 -0
  18. package/cjs/renditions-627bdfad.js +1 -0
  19. package/cjs/resolution-3af2cf1b.js +1 -0
  20. package/cjs/series-b469f8d8.js +1 -0
  21. package/cjs/series-v2-c118b5b4.js +1 -0
  22. package/cjs/series-v2-f711728c.js +1 -0
  23. package/cjs/settings-icon-8bb0d3f0.js +1 -0
  24. package/cjs/skin-092c01b4.js +1 -0
  25. package/cjs/skin-3a0b669c.js +1 -0
  26. package/cjs/skin-66dce245.js +1 -0
  27. package/cjs/skin-6cebb462.js +1 -0
  28. package/cjs/skin-6f1311ff.js +1 -0
  29. package/cjs/skin-8097bbc6.js +1 -0
  30. package/cjs/{skin-e865635f.js → skin-80bcaf98.js} +1 -1
  31. package/cjs/skin-a0d45e48.js +1 -0
  32. package/cjs/skin-a57ede66.js +1 -0
  33. package/cjs/skin-b7431e3a.js +1 -0
  34. package/cjs/{skin-0c40cf8f.js → skin-e86ab3da.js} +1 -1
  35. package/cjs/videoSelector-7a084795.js +1 -0
  36. package/cjs/videoSelector-d46d8440.js +1 -0
  37. package/cjs/videojs-dash5.es-80bdd597.js +1 -0
  38. package/esm/apis/index.d.ts +4 -4
  39. package/esm/{autoNextVideo-4cf0f4a1.js → autoNextVideo-ede5b5c1.js} +1 -1
  40. package/esm/bundle.css +303 -303
  41. package/esm/caption-settings-e1a53633.js +1 -0
  42. package/esm/captions-1f931e14.js +1 -0
  43. package/esm/components/chapters/markers.d.ts +1 -1
  44. package/esm/components/chapters/offsets.d.ts +22 -0
  45. package/esm/components/chapters/timelineMapper.d.ts +2 -2
  46. package/esm/features-2ea12f2c.js +1 -0
  47. package/esm/generic-daefa770.js +1 -0
  48. package/esm/helpers/token.d.ts +1 -1
  49. package/esm/index-00da34a7.js +1 -0
  50. package/esm/index-24d43bc9.js +1 -0
  51. package/esm/index-448ca043.js +1 -0
  52. package/esm/index-85c4eeac.js +1 -0
  53. package/esm/index-f0da6521.js +1 -0
  54. package/esm/index.d.ts +1 -1
  55. package/esm/index.js +1 -1
  56. package/esm/multicamv2-ba88d491.js +1 -0
  57. package/esm/multicamv2-e80ac30f.js +1 -0
  58. package/esm/nextEpisodeButton-bd60bd5b.js +1 -0
  59. package/esm/playlist-947d9301.js +1 -0
  60. package/esm/relatedVideosManager-81661348.js +1 -0
  61. package/esm/renditions-620d93b3.js +1 -0
  62. package/esm/resolution-2ee017b4.js +1 -0
  63. package/esm/series-9fdac719.js +1 -0
  64. package/esm/series-v2-0bf9dd32.js +1 -0
  65. package/esm/series-v2-ddf1ba50.js +1 -0
  66. package/esm/settings-icon-c65eb622.js +1 -0
  67. package/esm/skin-247c87d8.js +1 -0
  68. package/esm/skin-291e7831.js +1 -0
  69. package/esm/{skin-9984616a.js → skin-34fdf5e7.js} +1 -1
  70. package/esm/skin-3653c5b3.js +1 -0
  71. package/esm/skin-551ed4f3.js +1 -0
  72. package/esm/{skin-9f779ad6.js → skin-855bee07.js} +1 -1
  73. package/esm/skin-b31bf39e.js +1 -0
  74. package/esm/skin-e168909b.js +1 -0
  75. package/esm/skin-e1adcb28.js +1 -0
  76. package/esm/skin-e533e02a.js +1 -0
  77. package/esm/skin-f713d05a.js +1 -0
  78. package/esm/videoSelector-b35ce4cd.js +1 -0
  79. package/esm/videoSelector-f62f655e.js +1 -0
  80. package/esm/videojs-dash5.es-45c88e15.js +1 -0
  81. package/package.json +1 -1
  82. package/cjs/caption-settings-50cfa585.js +0 -1
  83. package/cjs/captions-23ff3076.js +0 -1
  84. package/cjs/features-c3ba6738.js +0 -1
  85. package/cjs/generic-1d2924e4.js +0 -1
  86. package/cjs/index-45d0440b.js +0 -1
  87. package/cjs/index-4f2c4197.js +0 -1
  88. package/cjs/index-ab298461.js +0 -1
  89. package/cjs/index-b830c794.js +0 -1
  90. package/cjs/index-d9460e79.js +0 -1
  91. package/cjs/multicamv2-777cff29.js +0 -1
  92. package/cjs/multicamv2-9ec521fe.js +0 -1
  93. package/cjs/nextEpisodeButton-dd497b14.js +0 -1
  94. package/cjs/playlist-437ae4d0.js +0 -1
  95. package/cjs/relatedVideosManager-44ec6d59.js +0 -1
  96. package/cjs/renditions-05a85e06.js +0 -1
  97. package/cjs/resolution-b5880a17.js +0 -1
  98. package/cjs/series-c2e69ef9.js +0 -1
  99. package/cjs/series-v2-ca1e1dcf.js +0 -1
  100. package/cjs/series-v2-d1621561.js +0 -1
  101. package/cjs/settings-icon-91d87df4.js +0 -1
  102. package/cjs/skin-0b460890.js +0 -1
  103. package/cjs/skin-2145a200.js +0 -1
  104. package/cjs/skin-3b4c3343.js +0 -1
  105. package/cjs/skin-495fd9b1.js +0 -1
  106. package/cjs/skin-55634dc6.js +0 -1
  107. package/cjs/skin-8e7871c7.js +0 -1
  108. package/cjs/skin-9f83d761.js +0 -1
  109. package/cjs/skin-f2b1620b.js +0 -1
  110. package/cjs/skin-f8f8b377.js +0 -1
  111. package/cjs/videoSelector-26f46819.js +0 -1
  112. package/cjs/videoSelector-99295ac2.js +0 -1
  113. package/cjs/videojs-dash5.es-0f92604f.js +0 -1
  114. package/esm/caption-settings-d0e2275a.js +0 -1
  115. package/esm/captions-4dea3682.js +0 -1
  116. package/esm/features-135f0a6f.js +0 -1
  117. package/esm/generic-f38ec1b4.js +0 -1
  118. package/esm/index-255a28ea.js +0 -1
  119. package/esm/index-3163ca3e.js +0 -1
  120. package/esm/index-420a2762.js +0 -1
  121. package/esm/index-5b6be94c.js +0 -1
  122. package/esm/index-769725aa.js +0 -1
  123. package/esm/multicamv2-2f3f3c8b.js +0 -1
  124. package/esm/multicamv2-c7385bff.js +0 -1
  125. package/esm/nextEpisodeButton-ad350822.js +0 -1
  126. package/esm/playlist-b27dbd94.js +0 -1
  127. package/esm/relatedVideosManager-93533a90.js +0 -1
  128. package/esm/renditions-28891b91.js +0 -1
  129. package/esm/resolution-3f14386f.js +0 -1
  130. package/esm/series-37dc8e8a.js +0 -1
  131. package/esm/series-v2-36bb1a71.js +0 -1
  132. package/esm/series-v2-458d48ea.js +0 -1
  133. package/esm/settings-icon-74213ca6.js +0 -1
  134. package/esm/skin-2a3ee818.js +0 -1
  135. package/esm/skin-2b343308.js +0 -1
  136. package/esm/skin-4dfc3138.js +0 -1
  137. package/esm/skin-81019a83.js +0 -1
  138. package/esm/skin-8fe9f3d2.js +0 -1
  139. package/esm/skin-96edf41b.js +0 -1
  140. package/esm/skin-9938ac53.js +0 -1
  141. package/esm/skin-be2928d2.js +0 -1
  142. package/esm/skin-ef97291f.js +0 -1
  143. package/esm/videoSelector-a0e1f200.js +0 -1
  144. package/esm/videoSelector-d606fa08.js +0 -1
  145. package/esm/videojs-dash5.es-cfe95daa.js +0 -1
@@ -4,10 +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
12
  export function apiHeaders(endpoint: any): any;
13
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-f38ec1b4.js";import{b as s,a as i}from"./index-3163ca3e.js";import{g as a,h as u}from"./skin-2a3ee818.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};
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};