@viewlift/player-backup 2.0.354-backup → 2.0.356-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 (142) hide show
  1. package/cjs/{autoNextVideo-66b37002.js → autoNextVideo-9c748d88.js} +1 -1
  2. package/cjs/bundle.css +443 -443
  3. package/cjs/caption-settings-50cfa585.js +1 -0
  4. package/cjs/captions-23ff3076.js +1 -0
  5. package/cjs/features-3956bca9.js +1 -0
  6. package/cjs/generic-9971cde9.js +1 -0
  7. package/cjs/index-39dbaae8.js +1 -0
  8. package/cjs/index-6ce8b961.js +1 -0
  9. package/cjs/index-6ecb2219.js +1 -0
  10. package/cjs/index-d82692d6.js +1 -0
  11. package/cjs/index-d9460e79.js +1 -0
  12. package/cjs/index.js +1 -1
  13. package/cjs/multicamv2-552d5534.js +1 -0
  14. package/cjs/multicamv2-8cbb3c7a.js +1 -0
  15. package/cjs/nextEpisodeButton-3136a7c9.js +1 -0
  16. package/cjs/playlist-a2f57a3e.js +1 -0
  17. package/cjs/relatedVideosManager-44ec6d59.js +1 -0
  18. package/cjs/renditions-05a85e06.js +1 -0
  19. package/cjs/resolution-b5880a17.js +1 -0
  20. package/cjs/series-e936a6e1.js +1 -0
  21. package/cjs/series-v2-e901704c.js +1 -0
  22. package/cjs/series-v2-ee1f4fed.js +1 -0
  23. package/cjs/settings-icon-91d87df4.js +1 -0
  24. package/cjs/skin-27d57991.js +1 -0
  25. package/cjs/skin-2c4c53c4.js +1 -0
  26. package/cjs/skin-3a9f55cb.js +1 -0
  27. package/cjs/skin-3f0f7c5d.js +1 -0
  28. package/cjs/{skin-f3d7e5b4.js → skin-46438f7f.js} +1 -1
  29. package/cjs/skin-55634dc6.js +1 -0
  30. package/cjs/skin-8e71d9b3.js +1 -0
  31. package/cjs/{skin-4fd8fceb.js → skin-90d2da2a.js} +1 -1
  32. package/cjs/skin-cd9c9b0b.js +1 -0
  33. package/cjs/skin-d80d7f8d.js +1 -0
  34. package/cjs/skin-ea8fc84f.js +1 -0
  35. package/cjs/videoSelector-625ce469.js +1 -0
  36. package/cjs/videoSelector-f5dfa63f.js +1 -0
  37. package/cjs/videojs-dash5.es-0f92604f.js +1 -0
  38. package/esm/apis/index.d.ts +4 -4
  39. package/esm/{autoNextVideo-1b14fa41.js → autoNextVideo-88053576.js} +1 -1
  40. package/esm/bundle.css +443 -443
  41. package/esm/caption-settings-d0e2275a.js +1 -0
  42. package/esm/captions-4dea3682.js +1 -0
  43. package/esm/features-34bf2890.js +1 -0
  44. package/esm/generic-ea2aba32.js +1 -0
  45. package/esm/helpers/token.d.ts +1 -1
  46. package/esm/index-023de7f0.js +1 -0
  47. package/esm/index-1a02e503.js +1 -0
  48. package/esm/index-22d23be0.js +1 -0
  49. package/esm/index-5b6be94c.js +1 -0
  50. package/esm/index-fe388994.js +1 -0
  51. package/esm/index.d.ts +1 -1
  52. package/esm/index.js +1 -1
  53. package/esm/multicamv2-4422945d.js +1 -0
  54. package/esm/multicamv2-7b1e8eab.js +1 -0
  55. package/esm/nextEpisodeButton-867ef9ad.js +1 -0
  56. package/esm/playlist-bebcdc17.js +1 -0
  57. package/esm/relatedVideosManager-93533a90.js +1 -0
  58. package/esm/renditions-28891b91.js +1 -0
  59. package/esm/resolution-3f14386f.js +1 -0
  60. package/esm/series-a2b568b3.js +1 -0
  61. package/esm/series-v2-9d0288fb.js +1 -0
  62. package/esm/series-v2-acf69186.js +1 -0
  63. package/esm/settings-icon-74213ca6.js +1 -0
  64. package/esm/skin-0d5a03a0.js +1 -0
  65. package/esm/skin-1769448f.js +1 -0
  66. package/esm/skin-2340ab80.js +1 -0
  67. package/esm/skin-2a3ee818.js +1 -0
  68. package/esm/skin-3eb9f992.js +1 -0
  69. package/esm/skin-4674228b.js +1 -0
  70. package/esm/skin-7fdd9116.js +1 -0
  71. package/esm/{skin-26dcef2b.js → skin-81eb2f7e.js} +1 -1
  72. package/esm/skin-e92e8857.js +1 -0
  73. package/esm/{skin-88e8889d.js → skin-f319c0bd.js} +1 -1
  74. package/esm/skin-fc42d6bb.js +1 -0
  75. package/esm/videoSelector-3b4d3856.js +1 -0
  76. package/esm/videoSelector-b9df91cb.js +1 -0
  77. package/esm/videojs-dash5.es-cfe95daa.js +1 -0
  78. package/package.json +1 -1
  79. package/cjs/caption-settings-0d09a023.js +0 -1
  80. package/cjs/captions-4dfe293a.js +0 -1
  81. package/cjs/features-1883e654.js +0 -1
  82. package/cjs/generic-17f4d6ca.js +0 -1
  83. package/cjs/index-58f88daa.js +0 -1
  84. package/cjs/index-75726505.js +0 -1
  85. package/cjs/index-7e74fcd2.js +0 -1
  86. package/cjs/index-958a579b.js +0 -1
  87. package/cjs/index-e0d9278b.js +0 -1
  88. package/cjs/multicamv2-627af073.js +0 -1
  89. package/cjs/multicamv2-657be51d.js +0 -1
  90. package/cjs/nextEpisodeButton-42b4ca8d.js +0 -1
  91. package/cjs/playlist-1371374f.js +0 -1
  92. package/cjs/relatedVideosManager-0a220d05.js +0 -1
  93. package/cjs/renditions-627bdfad.js +0 -1
  94. package/cjs/resolution-3af2cf1b.js +0 -1
  95. package/cjs/series-237f8263.js +0 -1
  96. package/cjs/series-v2-ae64961e.js +0 -1
  97. package/cjs/series-v2-e8dd491b.js +0 -1
  98. package/cjs/settings-icon-8bb0d3f0.js +0 -1
  99. package/cjs/skin-3dafaeb9.js +0 -1
  100. package/cjs/skin-40759447.js +0 -1
  101. package/cjs/skin-4b7e4c3c.js +0 -1
  102. package/cjs/skin-66dce245.js +0 -1
  103. package/cjs/skin-c12352cf.js +0 -1
  104. package/cjs/skin-d80e0ade.js +0 -1
  105. package/cjs/skin-deb91d1c.js +0 -1
  106. package/cjs/skin-f084eec8.js +0 -1
  107. package/cjs/skin-f8978ebe.js +0 -1
  108. package/cjs/videoSelector-6494f026.js +0 -1
  109. package/cjs/videoSelector-d09bd203.js +0 -1
  110. package/cjs/videojs-dash5.es-80bdd597.js +0 -1
  111. package/esm/caption-settings-e1a53633.js +0 -1
  112. package/esm/captions-1f931e14.js +0 -1
  113. package/esm/features-b1f1eb39.js +0 -1
  114. package/esm/generic-c437cc53.js +0 -1
  115. package/esm/index-353bbd6f.js +0 -1
  116. package/esm/index-85c4eeac.js +0 -1
  117. package/esm/index-95d1ec66.js +0 -1
  118. package/esm/index-b793da28.js +0 -1
  119. package/esm/index-cd2ea379.js +0 -1
  120. package/esm/multicamv2-167ae99d.js +0 -1
  121. package/esm/multicamv2-3856d35b.js +0 -1
  122. package/esm/nextEpisodeButton-93a4cb9b.js +0 -1
  123. package/esm/playlist-eb2ef6bc.js +0 -1
  124. package/esm/relatedVideosManager-81661348.js +0 -1
  125. package/esm/renditions-620d93b3.js +0 -1
  126. package/esm/resolution-2ee017b4.js +0 -1
  127. package/esm/series-c636d9ee.js +0 -1
  128. package/esm/series-v2-4e1800dc.js +0 -1
  129. package/esm/series-v2-d71173d8.js +0 -1
  130. package/esm/settings-icon-c65eb622.js +0 -1
  131. package/esm/skin-1cf42cac.js +0 -1
  132. package/esm/skin-3653c5b3.js +0 -1
  133. package/esm/skin-44d2671b.js +0 -1
  134. package/esm/skin-5f4c8961.js +0 -1
  135. package/esm/skin-661b5043.js +0 -1
  136. package/esm/skin-6f29d75a.js +0 -1
  137. package/esm/skin-87e08483.js +0 -1
  138. package/esm/skin-965eac32.js +0 -1
  139. package/esm/skin-96ac9396.js +0 -1
  140. package/esm/videoSelector-b056bac9.js +0 -1
  141. package/esm/videoSelector-e079ee9a.js +0 -1
  142. package/esm/videojs-dash5.es-45c88e15.js +0 -1
@@ -4,8 +4,8 @@ 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>>;
@@ -1 +1 @@
1
- import{h as e,aa as n,V as t,a9 as o,ab as r}from"./generic-c437cc53.js";import{b as s,a as i}from"./index-b793da28.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};
1
+ import{h as e,aa as n,V as t,a9 as o,ab as r}from"./generic-ea2aba32.js";import{b as s,a as i}from"./index-fe388994.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};