@castlabs/prestoplay 6.34.0 → 6.34.1
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/CHANGELOG.md +10 -0
- package/cjs/cl.adobe.js +3 -3
- package/cjs/cl.airplay.js +3 -3
- package/cjs/cl.broadpeak.js +19 -19
- package/cjs/cl.cast.js +128 -128
- package/cjs/cl.conviva.js +31 -31
- package/cjs/cl.core.js +604 -604
- package/cjs/cl.crypto.js +9 -9
- package/cjs/cl.dash.js +100 -100
- package/cjs/cl.externs.js +36 -36
- package/cjs/cl.freewheel.js +26 -26
- package/cjs/cl.hls.js +77 -77
- package/cjs/cl.hlssmpte.js +6 -6
- package/cjs/cl.htmlcue.js +30 -30
- package/cjs/cl.ima.js +24 -24
- package/cjs/cl.mediatailor.js +3 -3
- package/cjs/cl.mse.js +341 -344
- package/cjs/cl.muxdata.js +14 -14
- package/cjs/cl.onboard.js +4 -4
- package/cjs/cl.persistent.js +14 -14
- package/cjs/cl.playlist.js +6 -6
- package/cjs/cl.simid.js +16 -16
- package/cjs/cl.smooth.js +70 -70
- package/cjs/cl.thumbnails.js +26 -26
- package/cjs/cl.tizen.js +72 -72
- package/cjs/cl.ttml.js +29 -29
- package/cjs/cl.verimatrix.js +5 -5
- package/cjs/cl.vimond.js +11 -11
- package/cjs/cl.vr.js +19 -19
- package/cjs/cl.vtt.js +14 -14
- package/cjs/cl.yospace.js +4 -4
- package/cjs/cl.youbora.js +38 -38
- package/cl.adobe.js +3 -3
- package/cl.airplay.js +3 -3
- package/cl.broadpeak.js +14 -14
- package/cl.cast.js +101 -101
- package/cl.conviva.js +26 -26
- package/cl.core.js +126 -126
- package/cl.crypto.js +9 -9
- package/cl.dash.js +89 -89
- package/cl.externs.js +36 -36
- package/cl.freewheel.js +20 -20
- package/cl.hls.js +82 -82
- package/cl.hlssmpte.js +5 -5
- package/cl.htmlcue.js +26 -26
- package/cl.ima.js +19 -19
- package/cl.mediatailor.js +2 -2
- package/cl.mse.js +297 -299
- package/cl.muxdata.js +4 -4
- package/cl.smooth.js +61 -61
- package/cl.thumbnails.js +4 -4
- package/cl.tizen.js +55 -55
- package/cl.ttml.js +2 -2
- package/cl.vimond.js +1 -1
- package/cl.vr.js +2 -2
- package/cl.vtt.js +5 -5
- package/cl.youbora.js +13 -13
- package/package.json +1 -1
- package/typings.d.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
# 6.34.1
|
|
2
|
+
|
|
3
|
+
## Changes
|
|
4
|
+
|
|
5
|
+
* Improve recovery in case of gaps in the buffer on LG TV (webOS). Note that
|
|
6
|
+
this recovery mechanism may not fully work on devices with old version of MSE
|
|
7
|
+
such as Tizen 3 or webOS 3.
|
|
8
|
+
* Fix freeze of multi-period DASH streams with segment timing discrepancies
|
|
9
|
+
in the manifest.
|
|
10
|
+
|
|
1
11
|
# 6.34.0
|
|
2
12
|
|
|
3
13
|
## New Features
|
package/cjs/cl.adobe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){var g={}; var _ = _ || {}
|
|
2
|
-
var f=function(window){var
|
|
3
|
-
".")),
|
|
4
|
-
|
|
2
|
+
var f=function(window){var bY=function(){this.m=this.f=null;this.a="";this.g=new _.L("clpp.adobe.AdobePlugin")},eY=function(a){a.f=new _.li;a.f.on(a.m,_.Gg,function(){return cY(a)});a.f.on(a.m,_.Fg,function(){s.Media.play(a.a,a.m.getPosition())});a.f.on(a.m,_.Ge,function(){return dY(a)});a.f.on(a.m,_.vf,function(b){b=b.detail;switch(b.currentState){case 8:a.a.length||dY(a);s.Media.play(a.a,a.m.getPosition());break;case 10:case 6:cY(a);break;case 11:case 0:case 3:a.g.info("Close session for "+a.a+" in player state "+(b.currentState+
|
|
3
|
+
".")),cY(a),s.Media.close(a.a),a.a=""}})},dY=function(a){var b=a.m.$a();a.a=b?b.name||b.url:"";a.g.info("Open session for "+a.a+" with duration "+a.m.getDuration());s.Media.open(a.a,a.m.getDuration(),_.Ca)},cY=function(a){s.Media.stop(a.a,a.m.getPosition())},fY=function(){};_.w(bY,_.iw);bY.prototype.onPlayerCreated=function(a){var b=a.getConfiguration().adobe;b&&!1===b.enabled?this.g.debug("Adobe plugin is disabled."):window.s&&s.Media?(this.m=a,eY(this)):this.g.warn("Adobe API not available.")};
|
|
4
|
+
bY.prototype.onPlayerWillDestroy=function(){this.f&&(this.f.release(),this.f=null);this.m=null;this.a=""};bY.prototype.id=function(){return"adobe"};_.J("clpp.adobe.AdobeAnalyticsPlugin",bY);bY.Id="adobe";fY.prototype.create=function(){return new bY};_.fu(new fY);};
|
|
5
5
|
if(typeof(module)!="undefined"&&module.exports){var x=require("./cl.core.js");_ = x._;(f.call(g,this));module.exports=g;}
|
|
6
6
|
else if (typeof(define)!="undefined"&&define.amd) {define(["./cl.core"], function(c){_=c._;(f.call(g,this));return g;});}
|
|
7
7
|
else{_=this.clpp._;(f.call(g,this));}
|
package/cjs/cl.airplay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){var g={}; var _ = _ || {}
|
|
2
|
-
var f=function(window){var
|
|
3
|
-
_.r.onPlayerWillRelease=function(){this.o.stop();this.h.release()};_.r.id=function(){return"airplay"};_.r.Dn=function(a){switch(a.availability){case "available":this.f=!0;break;case "not-available":this.f=!1}this.m.trigger(new _.R(_.
|
|
4
|
-
_.r.zd=function(){return this.f};_.r.$o=function(){this.f&&(this.l=!this.m.isPaused(),this.a.webkitShowPlaybackTargetPicker())};_.J("clpp.airplay.AirPlayPlugin"
|
|
2
|
+
var f=function(window){var $X=function(){var a=this;this.a=this.m=null;this.l=this.f=this.j=!1;this.o=new _.Xh(function(){a.m.play()["catch"](function(){})});this.h=new _.li},aY=function(){};_.w($X,_.iw);_.r=$X.prototype;_.r.onPlayerCreated=function(a){this.m=a;this.a=a.getSurface().getMedia()};_.r.onContentWillLoad=function(){this.a&&(this.h.on(this.a,"webkitplaybacktargetavailabilitychanged",this.Dn.bind(this)),this.h.on(this.a,"webkitcurrentplaybacktargetiswirelesschanged",this.no.bind(this)))};
|
|
3
|
+
_.r.onPlayerWillRelease=function(){this.o.stop();this.h.release()};_.r.id=function(){return"airplay"};_.r.Dn=function(a){switch(a.availability){case "available":this.f=!0;break;case "not-available":this.f=!1}this.m.trigger(new _.R(_.Hc,{canCast:this.f}))};_.r.no=function(){var a=(this.j=this.a.webkitCurrentPlaybackTargetIsWireless)?_.Gc:_.Fc;if(this.l||!this.m.isPaused()||8===this.m.getPlayerState())this.l?this.m.play()["catch"](function(){}):this.o.ia(.01);this.m.trigger(new _.R(a))};_.r.Da=function(){return this.j};
|
|
4
|
+
_.r.zd=function(){return this.f};_.r.$o=function(){this.f&&(this.l=!this.m.isPaused(),this.a.webkitShowPlaybackTargetPicker())};_.J("clpp.airplay.AirPlayPlugin",$X);$X.prototype.showCastMenu=$X.prototype.$o;$X.prototype.canCast=$X.prototype.zd;$X.prototype.isCasting=$X.prototype.Da;$X.Id="airplay";aY.prototype.create=function(){return new $X};_.fu(new aY);};
|
|
5
5
|
if(typeof(module)!="undefined"&&module.exports){var x=require("./cl.core.js");_ = x._;(f.call(g,this));module.exports=g;}
|
|
6
6
|
else if (typeof(define)!="undefined"&&define.amd) {define(["./cl.core"], function(c){_=c._;(f.call(g,this));return g;});}
|
|
7
7
|
else{_=this.clpp._;(f.call(g,this));}
|
package/cjs/cl.broadpeak.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
(function(){var g={}; var _ = _ || {}
|
|
2
|
-
var f=function(window){var
|
|
3
|
-
GenericPlayerApi);b.prototype.getPlayerName=function(){return _.
|
|
4
|
-
this.a):c};b.prototype.getCurrentBitrate=function(){var c=this.m.getStats();return(c?c.streamBandwidth:0)/1E3};b.prototype.getCapabilities=function(){return{adTracking:this.m.getConfiguration().broadpeak.adTracking}};return new b(a)},
|
|
5
|
-
_.
|
|
6
|
-
|
|
7
|
-
_.r.getAdvertiserName=function(){return""};_.r.getTitle=function(){return""};_.r.getDuration=function(){return 0>=this.a.duration?-1:this.a.duration/1E3};_.r.getPosition=function(){return this.o};_.r.setPosition=function(a){this.o=a};_.r.getSkipTimeOffset=function(){return 0===this.a.skipPosition?-1:(this.a.skipPosition-this.a.startPosition)/1E3};_.r.Kb=function(){return!1};_.r
|
|
8
|
-
_.r.Ga=function(){return 0};_.r.Ha=function(){return 0===this.f.startPosition?0:0<this.w&&this.f.startPosition+this.f.duration>=this.w?_.
|
|
9
|
-
_.r.canSeek=function(){return!1};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_.r.Ik=function(a){var b=this.m,c=this.a;a=a.detail;var d=a.currentState;6===a.previousState&&c.notifyStallEnd(!b.isPaused());switch(d){case 6:c.notifyStallStart();break;case 8:this.h?c.notifyResume():(this.a.notifyFirstImage(),this.h=!0);break;case 10:this.h||(this.a.notifyFirstImage(),this.h=!0),c.notifyPause()}};_.r.Hk=function(){var a=1E3*this.m.getPosition();this.a.notifySeek(a)};_.r.release=function(){this.f&&(_.
|
|
13
|
-
_.r.initialize=function(a,b){var c=this;this.j=a;a.activateAdvertising();
|
|
14
|
-
c.a=null}})};_.r.mo=function(){if(this.a&&this.j){var a=this.a
|
|
15
|
-
_.r.yn=function(){if(this.a&&this.f){var a=this.m.getPosition()-this.f.startPosition/1E3,b=this.a.getDuration();0<b&&a>b||(this.a.setPosition(a),this.m.trigger(new _.R(_.
|
|
16
|
-
_.r.Pc=function(){return!0};_.r.skip=function(){if(this.a){var a=this.a.getPosition(),b=this.a.getSkipTimeOffset();-1===b||a<b||(a=this.m.getPosition()-a+this.a.getDuration(),b=this.a,this.f=this.a=null,
|
|
17
|
-
_.r.isMuted=function(){return!1};_.r.zb=function(){return!1};_.r.getPosition=function(){return this.a?this.a.getPosition():-1};_.r.Ac=function(){
|
|
18
|
-
|
|
19
|
-
_.r.onContentLoaded=function(){!1!==this.l&&this.a.precacheEnded()};_.r.Fk=function(a){a=a.detail;if(7003===a.code)
|
|
20
|
-
_.r.id=function(){return"broadpeak"};_.J("clpp.broadpeak.BroadpeakPlugin",
|
|
2
|
+
var f=function(window){var NX=function(a,b,c){this.a=a||{};this.f=b||{};this.w=c||0;this.o=0;this.l=this.j=this.h=!1},OX=function(a,b){this.m=a;this.a=b;this.f=new _.li;this.h=!1},PX=function(a){this.m=a;this.l=new _.li;this.h=this.j=this.f=this.a=null;this.o=this.yn.bind(this)},QX=function(a){var b=a.m.getSurface().getMedia();b&&(a.h=a.mo.bind(a),b.addEventListener("click",a.h))},RX=function(a){a.l.off(a.m,_.vg,a.o)},SX=function(a){function b(c){var d=GenericPlayerApi.call(this)||this;d.m=c;d.f=_.Ti();d.a=0;return d}_.w(b,
|
|
3
|
+
GenericPlayerApi);b.prototype.getPlayerName=function(){return _.Ca};b.prototype.getVersion=function(){return _.ka};b.prototype.getOSName=function(){return this.f.os};b.prototype.getDeviceVersion=function(){return this.f.osVersion.name};b.prototype.getDeviceType=function(){return"browser"};b.prototype.getTotalDuration=function(){return this.m.isLive()?0:this.a=1E3*this.m.getDuration()};b.prototype.getCurrentPosition=function(){var c=1E3*this.m.getPosition();return 11===this.m.getPlayerState()?Math.max(c,
|
|
4
|
+
this.a):c};b.prototype.getCurrentBitrate=function(){var c=this.m.getStats();return(c?c.streamBandwidth:0)/1E3};b.prototype.getCapabilities=function(){return{adTracking:this.m.getConfiguration().broadpeak.adTracking}};return new b(a)},TX=function(){this.o=this.f=this.a=this.h=this.m=null;this.w=new _.li;this.l=!1;this.j=null},UX=function(a,b){var c=b.analyticsAddress||null,d=b.nanoCDNHost||null,e=b.broadpeakDomainNames||"",f=b.uuid||null;a.h||(a.h=SmartLib.getInstance(),a.h.init(c,d,e),typeof f===
|
|
5
|
+
_.ig&&a.h.setUUID(f))},VX=function(a,b,c){var d=c.customParameters||{},e=a.h.createStreamingSession();a.a=e;var f=c.sessionOptions||{},g;for(g in f){var k=f[g];if(null!=k){var l=Number(g);Number.isNaN(l)||e.setOption(l,k)}}null==f[StreamingSessionOptions.SESSION_PRECACHE]&&e.setOption(StreamingSessionOptions.SESSION_PRECACHE,!1);for(var m in d)a.a.setCustomParameter(m,d[m]);c.adTracking&&(a.j=b.getAdsManager(),a.j.initialize(a.a,c.adParameters||{}));a.w.on(b,_.me,a.Fk.bind(a));a.o=SX(b);a.a.attachPlayer(a.o)},
|
|
6
|
+
WX=function(a,b){_.oi(a.w);a.f&&(a.f.release(),a.f=null);a.a&&(a.a.stopStreamingSession(b),a.a=null)},XX=function(){return!window.SmartLib||!window.GenericPlayerApi},YX=function(){},ZX=function(){};_.r=NX.prototype;_.r.kb=function(){return"Broadpeak"};_.r.lb=function(){return""};_.r.ob=function(){return 1};_.r.getId=function(){return this.a.adId};_.r.getCreativeId=function(){return this.a.creativeId};_.r.Ib=function(){return null};_.r.getApiFramework=function(){return null};_.r.getAdSystem=function(){return""};
|
|
7
|
+
_.r.getAdvertiserName=function(){return""};_.r.getTitle=function(){return""};_.r.getDuration=function(){return 0>=this.a.duration?-1:this.a.duration/1E3};_.r.getPosition=function(){return this.o};_.r.setPosition=function(a){this.o=a};_.r.getSkipTimeOffset=function(){return 0===this.a.skipPosition?-1:(this.a.skipPosition-this.a.startPosition)/1E3};_.r.Kb=function(){return!1};_.r.Za=function(){return this.a.clickURL};_.r.getMediaUrl=function(){return null};_.r.eb=function(){return 0};_.r.cb=function(){return 0};
|
|
8
|
+
_.r.Ga=function(){return 0};_.r.Ha=function(){return 0===this.f.startPosition?0:0<this.w&&this.f.startPosition+this.f.duration>=this.w?_.Ck:_.Fk};_.r.getPodIndex=function(){return 1};_.r.yb=function(){return this.f.startPosition/1E3};_.r.nb=function(){return this.a.index+1};_.r.fb=function(){return 0>=this.f.adCount?-1:this.f.adCount};_.r.getWrapperAdIds=function(){return[]};_.r.getWrapperAdSystems=function(){return[]};_.r.getWrapperCreativeIds=function(){return[]};_.r.Jb=function(){return null};
|
|
9
|
+
_.r.canSeek=function(){return!1};NX.prototype.canSeek=NX.prototype.canSeek;NX.prototype.getVideoElement=NX.prototype.Jb;NX.prototype.getWrapperCreativeIds=NX.prototype.getWrapperCreativeIds;NX.prototype.getWrapperAdSystems=NX.prototype.getWrapperAdSystems;NX.prototype.getWrapperAdIds=NX.prototype.getWrapperAdIds;NX.prototype.getSequenceLength=NX.prototype.fb;NX.prototype.getPositionInSequence=NX.prototype.nb;NX.prototype.getPodTimeOffset=NX.prototype.yb;NX.prototype.getPodIndex=NX.prototype.getPodIndex;
|
|
10
|
+
NX.prototype.getPodType=NX.prototype.Ha;NX.prototype.getMediaBitrate=NX.prototype.Ga;NX.prototype.getMediaHeight=NX.prototype.cb;NX.prototype.getMediaWidth=NX.prototype.eb;NX.prototype.getMediaUrl=NX.prototype.getMediaUrl;NX.prototype.getClickThroughUrl=NX.prototype.Za;NX.prototype.isBumper=NX.prototype.Kb;NX.prototype.getSkipTimeOffset=NX.prototype.getSkipTimeOffset;NX.prototype.getPosition=NX.prototype.getPosition;NX.prototype.getDuration=NX.prototype.getDuration;NX.prototype.getTitle=NX.prototype.getTitle;
|
|
11
|
+
NX.prototype.getAdvertiserName=NX.prototype.getAdvertiserName;NX.prototype.getAdSystem=NX.prototype.getAdSystem;NX.prototype.getApiFramework=NX.prototype.getApiFramework;NX.prototype.getSourceId=NX.prototype.Ib;NX.prototype.getCreativeId=NX.prototype.getCreativeId;NX.prototype.getId=NX.prototype.getId;NX.prototype.getTechnology=NX.prototype.ob;NX.prototype.getAdManagerVersion=NX.prototype.lb;NX.prototype.getAdManagerName=NX.prototype.kb;_.r=OX.prototype;_.r.init=function(){var a=this.m,b=this.f;b.on(a,_.vf,this.Ik.bind(this));b.on(a,_.bd,this.Gk.bind(this));b.on(a,"seek",this.Hk.bind(this))};_.r.Gk=function(a){a=a.detail;typeof a.bandwidth===_.h&&this.a.notifyLayerSwitch(a.bandwidth/1E3)};
|
|
12
|
+
_.r.Ik=function(a){var b=this.m,c=this.a;a=a.detail;var d=a.currentState;6===a.previousState&&c.notifyStallEnd(!b.isPaused());switch(d){case 6:c.notifyStallStart();break;case 8:this.h?c.notifyResume():(this.a.notifyFirstImage(),this.h=!0);break;case 10:this.h||(this.a.notifyFirstImage(),this.h=!0),c.notifyPause()}};_.r.Hk=function(){var a=1E3*this.m.getPosition();this.a.notifySeek(a)};_.r.release=function(){this.f&&(_.oi(this.f),this.f=null)};_.r=PX.prototype;
|
|
13
|
+
_.r.initialize=function(a,b){var c=this;this.j=a;a.activateAdvertising();QX(this);for(var d in b)a.setAdParameter(d,b[d]);a.setAdEventsListener({onAdBreakBegin:function(){c.m.trigger(new _.R(_.hc,{ad:null}));c.l.on(c.m,_.vg,c.o)},onAdBegin:function(e,f){c.f=e;c.a=new NX(e,f,1E3*c.m.getDuration());c.m.trigger(new _.R(_.Ac,{ad:c.a}))},onAdSkippable:function(){},onAdEnd:function(){if(c.a){var e={ad:c.a};c.m.trigger(new _.R(_.lc,e));c.m.trigger(new _.R(_.Bc,e));c.a=null;c.f=null}},onAdBreakEnd:function(){RX(c);c.m.trigger(new _.R(_.ic));
|
|
14
|
+
c.a=null}})};_.r.mo=function(){if(this.a&&this.j){var a=this.a.Za();a&&(this.j.adUserInteraction("click"),this.m.trigger(new _.R(_.kc,{ad:this.a})),this.m.pause(),(a=window.open(a,"_blank"))&&a.focus())}};
|
|
15
|
+
_.r.yn=function(){if(this.a&&this.f){var a=this.m.getPosition()-this.f.startPosition/1E3,b=this.a.getDuration();0<b&&a>b||(this.a.setPosition(a),this.m.trigger(new _.R(_.vc,{ad:this.a})),!this.a.h&&a>=b/4&&(this.a.h=!0,this.m.trigger(new _.R(_.mc,{ad:this.a}))),!this.a.j&&a>=b/2&&(this.a.j=!0,this.m.trigger(new _.R(_.tc,{ad:this.a}))),!this.a.l&&a>=3*b/4&&(this.a.l=!0,this.m.trigger(new _.R(_.Cc,{ad:this.a}))))}};_.r.load=function(){return Promise.resolve()};_.r.Bb=function(){return!0};_.r.Sc=function(){};
|
|
16
|
+
_.r.Pc=function(){return!0};_.r.skip=function(){if(this.a){var a=this.a.getPosition(),b=this.a.getSkipTimeOffset();-1===b||a<b||(a=this.m.getPosition()-a+this.a.getDuration(),b=this.a,this.f=this.a=null,RX(this),this.m.trigger(new _.R(_.yc,{ad:b})),this.m.setPosition(a))}};_.r.Sa=function(){};_.r.isPaused=function(){};_.r.pause=function(){};_.r.resume=function(){};_.r.getAdVolume=function(){return 0};_.r.Pa=function(){};_.r.getVolume=function(){return 0};_.r.setVolume=function(){};_.r.setMuted=function(){};
|
|
17
|
+
_.r.isMuted=function(){return!1};_.r.zb=function(){return!1};_.r.getPosition=function(){return this.a?this.a.getPosition():-1};_.r.Ac=function(){RX(this);this.l.release();var a=this.m.getSurface().getMedia();a&&this.h&&(a.removeEventListener("click",this.h),this.h=null);this.j=this.f=this.a=null;return Promise.resolve()};PX.prototype.getPosition=PX.prototype.getPosition;PX.prototype.setVolume=PX.prototype.setVolume;PX.prototype.getVolume=PX.prototype.getVolume;PX.prototype.resume=PX.prototype.resume;
|
|
18
|
+
PX.prototype.pause=PX.prototype.pause;PX.prototype.skip=PX.prototype.skip;_.w(TX,_.iw);_.r=TX.prototype;_.r.onPlayerCreated=function(a){this.m=a};_.r.onContentWillLoad=function(a,b){var c=this,d=a.getConfiguration().broadpeak;if(d){if(XX())return a.onError(new _.O(1,9,11E3));this.l=!0;UX(this,d);VX(this,a,d);return this.a.getURL(b.url).then(function(e){if(e.isError()){var f=e.getDetailedErrorCode();e=e.getDetailedErrorMessage();c.m.onError(new _.O(1,9,11001,{bpkErrorCode:f,message:e}));WX(c,void 0)}else b.url=e.getURL(),c.f=new OX(c.m,c.o),c.f.init()})}};
|
|
19
|
+
_.r.onContentLoaded=function(){!1!==this.l&&this.a.precacheEnded()};_.r.Fk=function(a){a=a.detail;if(7003===a.code)WX(this,SmartLib.BPFormatNotSupportedError);else if(a.severity===_.Q)switch(a.category){case 3:WX(this,SmartLib.BPDecodingError);break;case 1:WX(this,SmartLib.BPNetworkingError);break;case 6:WX(this,SmartLib.BPAccessRightError);break;default:WX(this,SmartLib.BPUnspecifiedError)}};_.r.onPlayerWillRelease=function(){this.j=null;XX()||WX(this,SmartLib.BPSessionEndsNormally);this.l=!1};
|
|
20
|
+
_.r.id=function(){return"broadpeak"};_.J("clpp.broadpeak.BroadpeakPlugin",TX);TX.isSdkMissing=XX;TX.Id="broadpeak";YX.prototype.create=function(){return new TX};ZX.prototype.name=function(){return"clpp.broadpeak.AdsManagerFactory"};ZX.prototype.a=function(a,b){return XX()?!1:!!(b&&b.broadpeak&&b.broadpeak.adTracking)};ZX.prototype.create=function(a){return new PX(a)};_.fu(new YX);_.Zq(new ZX);};
|
|
21
21
|
if(typeof(module)!="undefined"&&module.exports){var x=require("./cl.core.js");_ = x._;(f.call(g,this));module.exports=g;}
|
|
22
22
|
else if (typeof(define)!="undefined"&&define.amd) {define(["./cl.core"], function(c){_=c._;(f.call(g,this));return g;});}
|
|
23
23
|
else{_=this.clpp._;(f.call(g,this));}
|