@viewlift/player-backup 2.0.246-backup → 2.0.247-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-3e25079f.js +1 -0
- package/cjs/bundle.css +392 -392
- package/cjs/features-3075686f.js +1 -0
- package/cjs/generic-db870227.js +1 -0
- package/cjs/index-88ede636.js +1 -0
- package/cjs/index-a56e6e97.js +1 -0
- package/cjs/index-e69c4d12.js +1 -0
- package/cjs/index.js +1 -1
- package/cjs/multicamv2-20f77ea3.js +1 -0
- package/cjs/multicamv2-60804a5a.js +1 -0
- package/cjs/nextEpisodeButton-188b8505.js +1 -0
- package/cjs/playlist-abe34c5f.js +1 -0
- package/cjs/series-e3c1b68d.js +1 -0
- package/cjs/series-v2-992dd942.js +1 -0
- package/cjs/series-v2-b3d8e38a.js +1 -0
- package/cjs/skin-10b1b9d6.js +1 -0
- package/cjs/skin-44ef8cae.js +1 -0
- package/cjs/skin-5551ded0.js +1 -0
- package/cjs/skin-95b88521.js +1 -0
- package/cjs/skin-a5cf45e1.js +1 -0
- package/cjs/skin-a9bf21c4.js +1 -0
- package/cjs/skin-b8ede192.js +1 -0
- package/cjs/skin-df701f7f.js +1 -0
- package/cjs/skin-e3457edf.js +1 -0
- package/cjs/util-d9e258bf.js +1 -0
- package/cjs/videoSelector-2d53cc1d.js +1 -0
- package/cjs/videoSelector-62ab8ed2.js +1 -0
- package/esm/autoNextVideo-9b006590.js +1 -0
- package/esm/bundle.css +392 -392
- package/esm/features-ac78c223.js +1 -0
- package/esm/generic-eed0af74.js +1 -0
- package/esm/index-14888a28.js +1 -0
- package/esm/index-b4fb7a5c.js +1 -0
- package/esm/index-eae12758.js +1 -0
- package/esm/index.js +1 -1
- package/esm/multicamv2-31675dca.js +1 -0
- package/esm/multicamv2-d89508e4.js +1 -0
- package/esm/nextEpisodeButton-3bf82897.js +1 -0
- package/esm/playlist-0842f1ca.js +1 -0
- package/esm/series-91a0cd74.js +1 -0
- package/esm/series-v2-d49ccbd1.js +1 -0
- package/esm/series-v2-f35a7d27.js +1 -0
- package/esm/skin-287e5953.js +1 -0
- package/esm/skin-41a7f5fa.js +1 -0
- package/esm/skin-5b6fb562.js +1 -0
- package/esm/skin-5fc6f58c.js +1 -0
- package/esm/skin-6125d53d.js +1 -0
- package/esm/skin-83b7a717.js +1 -0
- package/esm/skin-a51b0f57.js +1 -0
- package/esm/skin-b92d8974.js +1 -0
- package/esm/skin-ff5872e2.js +1 -0
- package/esm/util-a4c82afd.js +1 -0
- package/esm/videoSelector-795f5619.js +1 -0
- package/esm/videoSelector-b784ee49.js +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,i=require("./currentVideoInfo-5802821b.js"),t=require("./generic-db870227.js"),n=require("./util-d9e258bf.js"),o=require("./skin-eeec7a85.js"),r=require("./player_instance-fcf6a8fb.js"),u=0,d=0,c=function e(n,r,u,c){d=n,n>u.length-1||(i.setVideoIdx(d+1),t.load(r,u[n].id).then(function(e){o.highlightVideo(d,r),d++,s(e)}).catch(function(i){s(i),setTimeout(function(){o.highlightVideo(d,r),d++,e(d,r,u)},5e3)}))},s=function(i){e&&e(i)};exports.autoPlayNext=function(h){clearTimeout(u);var l=null==h?void 0:h.content;e=null==h?void 0:h.cb;var a=h.playerId;n.onVideoEnded(a,function(){var e=r.getPlayer(a);0!==(null==e?void 0:e.currentTime())&&((d=i.getVideoIdx())>l.length-1||(i.setVideoIdx(d+1),t.load(a,l[d].id).then(function(e){o.highlightVideo(d,a),i.setCurrentVideo(e.response),d++,s(e)}).catch(function(e){s(e),o.highlightVideo(d,a),d++,u=setTimeout(function(){t.isPaused(a)&&c(d,a,l)},5e3)})))})},exports.switchToNext=c;
|