@viewlift/player-backup 2.0.351-backup → 2.1.58
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-b61ef51a.js → autoNextVideo-ba0e980c.js} +1 -1
- package/cjs/bundle.css +1050 -1050
- package/cjs/caption-settings-34ca0188.js +1 -0
- package/cjs/{caption-settings-0d09a023.js → caption-settings-749e3991.js} +1 -1
- package/cjs/captions-0ca41a03.js +1 -0
- package/cjs/{features-85cc0d0e.js → features-a9b106b1.js} +1 -1
- package/cjs/generic-11fbe54f.js +1 -0
- package/cjs/{index-0df2452b.js → index-3c8cc926.js} +1 -1
- package/cjs/index-84cce26a.js +1 -0
- package/cjs/{index-003f4563.js → index-c265b095.js} +1 -1
- package/cjs/{index-95592b91.js → index-ca6ed680.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{multicamv2-1d8f22bd.js → multicamv2-0a607f96.js} +1 -1
- package/cjs/{multicamv2-66c8a520.js → multicamv2-d7921aa4.js} +1 -1
- package/cjs/{nextEpisodeButton-f2ec19c2.js → nextEpisodeButton-6586c080.js} +1 -1
- package/cjs/{playlist-c8698689.js → playlist-d6d47ce3.js} +1 -1
- package/cjs/{series-93fdfc9e.js → series-928c71ca.js} +1 -1
- package/cjs/{series-v2-b67b1a33.js → series-v2-2105fd89.js} +1 -1
- package/cjs/series-v2-67f83149.js +1 -0
- package/cjs/{series-v2-3530d560.js → series-v2-ba776119.js} +1 -1
- package/cjs/skin-00e8f3ce.js +1 -0
- package/cjs/{skin-42c4ec6f.js → skin-2a0db90e.js} +1 -1
- package/cjs/{skin-7eab8810.js → skin-2eb334a3.js} +1 -1
- package/cjs/{skin-1ac5d660.js → skin-2f79a725.js} +1 -1
- package/cjs/{skin-0908f28a.js → skin-69ef3035.js} +1 -1
- package/cjs/{skin-b3988dd7.js → skin-6f208a68.js} +1 -1
- package/cjs/{skin-57bc5d49.js → skin-ad961a34.js} +1 -1
- package/cjs/skin-ce7f39da.js +1 -0
- package/cjs/skin-e2f642f7.js +1 -0
- package/cjs/skin-e974dad9.js +1 -0
- package/cjs/{videoSelector-259674e8.js → videoSelector-b5e2084e.js} +1 -1
- package/cjs/videoSelector-b6e03076.js +1 -0
- package/cjs/videoSelector-ffad15a8.js +1 -0
- package/cjs/videojs-dash5.es-874b887d.js +1 -0
- package/esm/{autoNextVideo-88f2eb8a.js → autoNextVideo-cb262c5f.js} +1 -1
- package/esm/bundle.css +1050 -1050
- package/esm/{caption-settings-e1a53633.js → caption-settings-567b8533.js} +1 -1
- package/esm/caption-settings-cb47408f.js +1 -0
- package/esm/captions-15915fce.js +1 -0
- package/esm/components/series-v2/series-v2.d.ts +0 -4
- package/esm/core/captions.d.ts +0 -1
- package/esm/features-9098e71f.js +1 -0
- package/esm/generic-d0f5d86c.js +1 -0
- package/esm/{index-b48a5d93.js → index-255be282.js} +1 -1
- package/esm/index-5d92eaa3.js +1 -0
- package/esm/{index-669ae4a1.js → index-acddb9d9.js} +1 -1
- package/esm/{index-5d7fe297.js → index-edd84bad.js} +1 -1
- package/esm/index.d.ts +0 -2
- package/esm/index.js +1 -1
- package/esm/{multicamv2-4f74662c.js → multicamv2-3fbbac57.js} +1 -1
- package/esm/{multicamv2-9e3efadb.js → multicamv2-5fcf237e.js} +1 -1
- package/esm/{nextEpisodeButton-3e35a0f1.js → nextEpisodeButton-ada37c7c.js} +1 -1
- package/esm/{playlist-42c7068f.js → playlist-7dc11330.js} +1 -1
- package/esm/{series-160fc0ca.js → series-85520747.js} +1 -1
- package/esm/series-v2-63ae5ed6.js +1 -0
- package/esm/{series-v2-f6d0f5ce.js → series-v2-6e9853f8.js} +1 -1
- package/esm/series-v2-da905faf.js +1 -0
- package/esm/{skin-f5d7a540.js → skin-24466443.js} +1 -1
- package/esm/{skin-a0327a5a.js → skin-34a22ce2.js} +1 -1
- package/esm/skin-78f45035.js +1 -0
- package/esm/{skin-b4d23af8.js → skin-87abea35.js} +1 -1
- package/esm/{skin-116c35d0.js → skin-954a4a36.js} +1 -1
- package/esm/{skin-f2b54133.js → skin-b16f97c4.js} +1 -1
- package/esm/{skin-240a0d58.js → skin-b5db4100.js} +1 -1
- package/esm/{skin-6ba68c5f.js → skin-dfd6326a.js} +1 -1
- package/esm/{skin-fd0c3eb0.js → skin-e42eefa2.js} +1 -1
- package/esm/{skin-7c392524.js → skin-f7e1a520.js} +1 -1
- package/esm/utilities/beacon.d.ts +0 -1
- package/esm/{videoSelector-a8a75506.js → videoSelector-3715144e.js} +1 -1
- package/esm/videoSelector-def99d5e.js +1 -0
- package/esm/videoSelector-e70b1dd5.js +1 -0
- package/esm/videojs-dash5.es-640f7001.js +1 -0
- package/package.json +28 -25
- package/cjs/caption-settings-67212c17.js +0 -1
- package/cjs/captions-4dfe293a.js +0 -1
- package/cjs/generic-37fccf7c.js +0 -1
- package/cjs/index-641241d9.js +0 -1
- package/cjs/series-v2-56531302.js +0 -1
- package/cjs/skin-070a81bf.js +0 -1
- package/cjs/skin-33783b72.js +0 -1
- package/cjs/skin-5e1cf589.js +0 -1
- package/cjs/skin-f0259f24.js +0 -1
- package/cjs/videoSelector-b90fe564.js +0 -1
- package/cjs/videoSelector-d2938e5e.js +0 -1
- package/cjs/videojs-dash5.es-80bdd597.js +0 -1
- package/esm/caption-settings-2e47813b.js +0 -1
- package/esm/captions-1f931e14.js +0 -1
- package/esm/components/subs-caps-button/subs-caps-button.d.ts +0 -2
- package/esm/features-48c7570e.js +0 -1
- package/esm/generic-89376c33.js +0 -1
- package/esm/helpers/accessibility.d.ts +0 -1
- package/esm/helpers/playerControlEvents.d.ts +0 -56
- package/esm/index-dffbf847.js +0 -1
- package/esm/series-v2-2b76e863.js +0 -1
- package/esm/series-v2-b5605328.js +0 -1
- package/esm/skin-8a9b5520.js +0 -1
- package/esm/utilities/castCommands.d.ts +0 -12
- package/esm/videoSelector-89c7f4d2.js +0 -1
- package/esm/videoSelector-a23d4a40.js +0 -1
- package/esm/videojs-dash5.es-45c88e15.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t=require("./generic-
|
|
1
|
+
"use strict";var e,t=require("./generic-11fbe54f.js"),n=require("./index-ca6ed680.js"),o=require("./skin-66dce245.js"),i=0,r=0,u=new Set(["NOT_AIRED","VIDEO_NOT_AVAILABLE","CONTENT_NOT_AVAILABLE"]),l=function(e){return(null==e?void 0:e.response)||e},s=function(e,t){return e&&null!=t&&t.gist&&(e.response=e.response||{},e.response.video=e.response.video||{},e.response.video.gist=t.gist),e},d=function(e){var t,n,o=l(e),i=null==o||null===(t=o.response)||void 0===t?void 0:t.data;return 403===(null==o||null===(n=o.response)||void 0===n?void 0:n.status)||(!!(null!=i&&i.scheduleStartDate&&Number(i.scheduleStartDate)>Date.now())||!(null==i||!i.errorCode||!u.has(i.errorCode)))},a=function(e,t){clearTimeout(i);var r=l(t);n.handleCountdownTimer(e,r,null);var u=o.getPlayer(e);u&&!u.paused()&&u.pause()},c=function(e,n,i){var r=i[e];if(function(e){var t,n=null==e||null===(t=e.gist)||void 0===t?void 0:t.scheduleStartDate;return n&&Number(n)>Date.now()}(r))return Promise.reject(function(e){var t,n,o;return{response:{data:{errorMessage:null!=e&&null!==(t=e.gist)&&void 0!==t&&t.scheduleStartDate?"Coming soon":"Content not available",scheduleStartDate:null==e||null===(n=e.gist)||void 0===n?void 0:n.scheduleStartDate,scheduleEndDate:null==e||null===(o=e.gist)||void 0===o?void 0:o.scheduleEndDate,gist:null==e?void 0:e.gist}}}}(r));if(!o.getPlayer(n)){var u={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",u),Promise.reject(u)}return t.load(n,r.id)},v=[],h=function e(n,i,u,l){r=n,n>u.length-1||(t.setVideoIdx(r+1),c(n,i,u).then(function(e){o.highlightVideo(r,i),r++,g(e)}).catch(function(t){g(s(t,u[n])),d(t)?a(i,t):setTimeout(function(){o.highlightVideo(r,i),r++,e(r,i,u)},5e3)}))},g=function(t){e&&e(t)};exports.autoPlayNext=function(u){clearTimeout(i),v=(null==u?void 0:u.content)||[],e=null==u?void 0:u.cb;var l=u.playerId;n.onVideoEnded(l,function(){var e=o.getPlayer(l);0!==(null==e?void 0:e.currentTime())&&((r=t.getVideoIdx())>v.length-1||(t.setVideoIdx(r+1),c(r,l,v).then(function(e){o.highlightVideo(r,l),t.setCurrentVideo(e.response),r++,g(e)}).catch(function(e){g(s(e,v[idx])),o.highlightVideo(r,l),d(e)?a(l,e):(r++,i=setTimeout(function(){t.isPaused(l)&&h(r,l,v)},5e3))})))})},exports.switchToNext=h,exports.updateContent=function(e){v=e||[]};
|