From fa93a94c34190c125fd6b484b484a29fdcb08b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Obispo?= Date: Wed, 5 Jun 2024 12:30:16 +0200 Subject: [PATCH] update manually compilation because of wrong npm update --- dist/shaka-player.compiled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/shaka-player.compiled.js b/dist/shaka-player.compiled.js index 36b3df0d63..340081d256 100644 --- a/dist/shaka-player.compiled.js +++ b/dist/shaka-player.compiled.js @@ -267,7 +267,7 @@ r.Pa=function(){return Math.max(0,this.bb()-(this.V()||this.gb()?this.Jc:0))};r. S.prototype.setUserSeekStart=S.prototype.je;S.prototype.getSegmentAvailabilityStart=S.prototype.Qa;S.prototype.isInProgress=S.prototype.gb;S.prototype.isLive=S.prototype.V;S.prototype.offset=S.prototype.offset;S.prototype.notifyMaxSegmentDuration=S.prototype.od;S.prototype.notifyMinSegmentStartTime=S.prototype.pd;S.prototype.notifySegments=S.prototype.yb;S.prototype.getDelay=S.prototype.He;S.prototype.setDelay=S.prototype.zf;S.prototype.setSegmentAvailabilityDuration=S.prototype.Fd; S.prototype.setStatic=S.prototype.$b;S.prototype.setClockOffset=S.prototype.ie;S.prototype.getAvailabilityTimeOffset=S.prototype.Ge;S.prototype.getMaxSegmentEndTime=S.prototype.Pe;S.prototype.getPresentationStartTime=S.prototype.Ve;S.prototype.setDuration=S.prototype.Ha;S.prototype.getMaxSegmentDuration=S.prototype.Oe;S.prototype.getDuration=S.prototype.getDuration;function ii(a,b){this.j=a;this.m=ji(a);this.g=a.g.currentTime;this.l=Date.now()/1E3;this.h=!1;this.o=b;this.i=function(){}}ii.prototype.release=function(){this.j=null;this.i=function(){}};function ki(a,b){a.i=b}function li(a){this.g=a}function ji(a){if(a.g.paused||0==a.g.playbackRate||0==a.g.buffered.length)var b=!1;else a:{b=a.g.currentTime;a=t(Wd(a.g.buffered));for(var c=a.next();!c.done;c=a.next())if(c=c.value,!(bc.end-.5)){b=!0;break a}b=!1}return b};function mi(a,b,c,d,e){var f=this;this.g=a;this.C=b;this.l=c;this.B=e;this.h=new Ue;this.u=!1;this.F=a.readyState;this.j=!1;this.s=0;this.i=d;this.o=!1;this.h.v(a,"waiting",function(){return ni(f)});this.h.v(a,"playing",function(){f.s=Date.now()});this.m=(new P(function(){ni(f)})).ua(.25)}mi.prototype.release=function(){this.h&&(this.h.release(),this.h=null);null!=this.m&&(this.m.stop(),this.m=null);this.i&&(this.i.release(),this.i=null);this.g=this.C=this.B=null}; mi.prototype.sd=function(){this.o=!0;ni(this)}; -function ni(a){if(0!=a.g.readyState&&!(5E3>Date.now()-a.s)){if(a.g.seeking){if(!a.u)return}else a.u=!1;if(!a.g.paused||0==a.g.currentTime&&(a.g.autoplay||0!=a.g.currentTime)){a.g.readyState!=a.F&&(a.j=!1,a.F=a.g.readyState);var b;if(!(b=!a.i)){b=a.i;var c=b.j,d=ji(c),e=c.g.currentTime,f=Date.now()/1E3;if(b.g!=e||b.m!=d)b.l=f,b.g=e,b.m=d,b.h=!1;e=f-b.l;if(d=e>=b.o&&d&&!b.h)b.i(b.g,e),b.h=!0,b.g=c.g.currentTime;b=!d}if(b){e=a.l.smallGapLimit;var g=a.g.currentTime;b=a.g.buffered;c=Xd(b,g,a.l.gapDetectionThreshold); +function ni(a){if(0!=a.g.readyState){if(a.g.seeking){if(!a.u)return}else a.u=!1;if(!a.g.paused||0==a.g.currentTime&&(a.g.autoplay||0!=a.g.currentTime)){a.g.readyState!=a.F&&(a.j=!1,a.F=a.g.readyState);var b;if(!(b=!a.i)){b=a.i;var c=b.j,d=ji(c),e=c.g.currentTime,f=Date.now()/1E3;if(b.g!=e||b.m!=d)b.l=f,b.g=e,b.m=d,b.h=!1;e=f-b.l;if(d=e>=b.o&&d&&!b.h)b.i(b.g,e),b.h=!0,b.g=c.g.currentTime;b=!d}if(b){e=a.l.smallGapLimit;var g=a.g.currentTime;b=a.g.buffered;c=Xd(b,g,a.l.gapDetectionThreshold); if(!(null==c||0==c&&!a.o||(d=b.start(c),d>=a.C.Pa()))){var h=d-g;e=h<=e;f=!1;.001>h||(e||a.j||(a.j=!0,g=(new Map).set("currentTime",g).set("gapSize",h),g=new Q("largegap",g),g.cancelable=!0,a.B(g),a.l.jumpLargeGaps&&!g.defaultPrevented&&(f=!0)),!e&&!f)||(0!=c&&b.end(c-1),a.s=Date.now(),a.g.currentTime=d)}}}}};function oi(a,b,c,d){b==HTMLMediaElement.HAVE_NOTHING||a.readyState>=b?d():(b=pi.value().get(b),c.ra(a,b,d))}var pi=new lb(function(){return new Map([[HTMLMediaElement.HAVE_METADATA,"loadedmetadata"],[HTMLMediaElement.HAVE_CURRENT_DATA,"loadeddata"],[HTMLMediaElement.HAVE_FUTURE_DATA,"canplay"],[HTMLMediaElement.HAVE_ENOUGH_DATA,"canplaythrough"]])});function qi(a,b,c){var d=this;this.g=a;this.l=b;this.j=c;this.m=!1;this.h=new Ue;this.i=new ri(a);oi(this.g,HTMLMediaElement.HAVE_METADATA,this.h,function(){si(d,d.j)})}qi.prototype.release=function(){this.h&&(this.h.release(),this.h=null);null!=this.i&&(this.i.release(),this.i=null);this.l=function(){};this.g=null};function ti(a){return a.m?a.g.currentTime:a.j}function ui(a,b){0Math.abs(a.g.currentTime-b)?wi(a):(a.h.ra(a.g,"seeking",function(){wi(a)}),vi(a.i,0==a.g.currentTime?b:a.g.currentTime))}function wi(a){a.m=!0;a.h.v(a.g,"seeking",function(){return a.l()})}function ri(a){var b=this;this.h=a;this.m=10;this.l=this.j=this.i=0;this.g=new P(function(){0>=b.i?b.g.stop():b.h.currentTime!=b.j?b.g.stop():(b.h.currentTime=b.l,b.i--)})}ri.prototype.release=function(){this.g&&(this.g.stop(),this.g=null);this.h=null}; function vi(a,b){a.j=a.h.currentTime;a.l=b;a.i=a.m;a.h.currentTime=b;a.g.ua(.1)};function xi(a){function b(){null==c.h||0==c.h?c.j=!0:(c.i.ra(c.g,"seeking",function(){c.j=!0}),c.g.currentTime=Math.max(0,c.g.currentTime+c.h))}var c=this;this.g=a;this.j=!1;this.h=null;this.i=new Ue;oi(this.g,HTMLMediaElement.HAVE_CURRENT_DATA,this.i,function(){b()})}xi.prototype.release=function(){this.i&&(this.i.release(),this.i=null);this.g=null};xi.prototype.o=function(a){this.h=this.j?this.h:a};xi.prototype.m=function(){return(this.j?this.g.currentTime:this.h)||0};xi.prototype.C=function(){};