@castlabs/prestoplay 6.32.0-beta.5 → 6.33.0-beta.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 +34 -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 +130 -128
- package/cjs/cl.conviva.js +32 -32
- package/cjs/cl.core.js +623 -628
- package/cjs/cl.crypto.js +9 -9
- package/cjs/cl.dash.js +101 -101
- package/cjs/cl.externs.js +46 -70
- 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 +26 -26
- package/cjs/cl.mediatailor.js +3 -3
- package/cjs/cl.mse.js +360 -353
- 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 +71 -71
- 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 +12 -12
- 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/cjs/polyfill.min.js +2 -2
- package/cl.adobe.js +3 -3
- package/cl.airplay.js +3 -3
- package/cl.broadpeak.js +14 -14
- package/cl.cast.js +101 -102
- package/cl.conviva.js +27 -27
- package/cl.core.js +497 -502
- package/cl.crypto.js +9 -9
- package/cl.dash.js +89 -89
- package/cl.externs.js +51 -67
- 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 +20 -20
- package/cl.mediatailor.js +2 -2
- package/cl.mse.js +306 -304
- package/cl.muxdata.js +13 -13
- package/cl.onboard.js +5 -4
- package/cl.persistent.js +11 -11
- package/cl.playlist.js +5 -5
- package/cl.simid.js +14 -14
- package/cl.smooth.js +61 -61
- package/cl.thumbnails.js +19 -19
- package/cl.tizen.js +57 -57
- package/cl.ttml.js +22 -22
- package/cl.verimatrix.js +4 -4
- package/cl.vimond.js +8 -8
- package/cl.vr.js +14 -14
- package/cl.vtt.js +12 -12
- package/cl.yospace.js +3 -3
- package/cl.youbora.js +30 -30
- package/package.json +1 -1
- package/typings.d.ts +38 -46
- package/cjs/cl.cdn.js +0 -13
- package/cl.cdn.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
|
+
# 6.34.O
|
|
2
|
+
|
|
3
|
+
## New Features
|
|
4
|
+
|
|
5
|
+
* Add ABR stalled segment cancellation.
|
|
6
|
+
* Improved ABR performance by cancelling long running segment requests.
|
|
7
|
+
|
|
8
|
+
# 6.33.0
|
|
9
|
+
|
|
10
|
+
## New Features
|
|
11
|
+
|
|
12
|
+
* Add player configuration option `forceXhr` which can be used to select XHR API
|
|
13
|
+
instead of Fetch API for all network requests.
|
|
14
|
+
|
|
15
|
+
## Changes
|
|
16
|
+
|
|
17
|
+
* Fix an issue with `disableAudioTracks` and `disableVideoTracks` when content
|
|
18
|
+
is encrypted.
|
|
19
|
+
* Fix an issue with releasing remotely loaded text tracks on Safari in HLS (native player).
|
|
20
|
+
* Fix bandwidth estimate calculation in situation where HTTP responses for
|
|
21
|
+
media segment do not have `Content-Length`.
|
|
22
|
+
* Fix severity of errors emitted for retried HTTP requests.
|
|
23
|
+
|
|
24
|
+
## Deprecations
|
|
25
|
+
|
|
26
|
+
* Events `clpp.events.DESTROYING` and `clpp.events.DESTROYED` are deprecated
|
|
27
|
+
and will be removed in version 7.
|
|
28
|
+
* Deprecate `clpp.Player.State.UNSET`, the player no longer reports this state.
|
|
29
|
+
|
|
1
30
|
# 6.32.0
|
|
2
31
|
|
|
3
32
|
## Changes
|
|
4
33
|
|
|
34
|
+
* Send `Content-Type: application/octet-stream` HTTP header with Widevine
|
|
35
|
+
DRM requests.
|
|
5
36
|
* Add `ReceiverConfiguration` to `start()` method of `clpp.cast.Receiver`.
|
|
6
37
|
It is now possible to configure the player engine used under the hood
|
|
7
38
|
by the Chromecast Receiver SDK.
|
|
@@ -18,6 +49,9 @@
|
|
|
18
49
|
* NPAW SDK v7 is now the default analytics integration. The minimum recommended version is v7.3.21.
|
|
19
50
|
* NPAW analytics are now configured via the `npaw` player configuration key. The `youbora` key is deprecated and will be removed in a future version.
|
|
20
51
|
* The legacy Youbora v6 integration remains available by using the `youbora` configuration key instead of `npaw`.
|
|
52
|
+
* Fix issues with track duplication and losing active track selection on iOS when
|
|
53
|
+
IMA ads are enabled.
|
|
54
|
+
* Added `clpp.events.TRACKS_REMOVED` event, fired when tracks are removed.
|
|
21
55
|
|
|
22
56
|
## Deprecations
|
|
23
57
|
|
package/cjs/cl.adobe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){var g={}; var _ = _ || {}
|
|
2
|
-
var f=function(window){var
|
|
3
|
-
(b.currentState+".")),
|
|
4
|
-
|
|
2
|
+
var f=function(window){var MX=function(){this.m=this.f=null;this.a="";this.g=new _.L("clpp.adobe.AdobePlugin")},PX=function(a){a.f=new _.ti;a.f.on(a.m,_.Hg,function(){return NX(a)});a.f.on(a.m,_.Gg,function(){s.Media.play(a.a,a.m.getPosition())});a.f.on(a.m,_.He,function(){return OX(a)});a.f.on(a.m,_.fg,function(b){b=b.detail;switch(b.currentState){case 3:a.a.length||OX(a);s.Media.play(a.a,a.m.getPosition());break;case 4:case 2:NX(a);break;case 5:case _.Zo:case _.so:a.g.info("Close session for "+a.a+" in player state "+
|
|
3
|
+
(b.currentState+".")),NX(a),s.Media.close(a.a),a.a=""}})},OX=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(),_.Ba)},NX=function(a){s.Media.stop(a.a,a.m.getPosition())},QX=function(){};_.w(MX,_.Pv);MX.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,PX(this)):this.g.warn("Adobe API not available.")};
|
|
4
|
+
MX.prototype.onPlayerWillDestroy=function(){this.f&&(this.f.release(),this.f=null);this.m=null;this.a=""};MX.prototype.id=function(){return"adobe"};_.K("clpp.adobe.AdobeAnalyticsPlugin",MX);MX.Id="adobe";QX.prototype.create=function(){return new MX};_.To(new QX);};
|
|
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.
|
|
4
|
-
_.r.zd=function(){return this.f};_.r.
|
|
2
|
+
var f=function(window){var KX=function(){var a=this;this.a=this.m=null;this.l=this.f=this.j=!1;this.o=new _.bj(function(){a.m.play()["catch"](function(){})});this.h=new _.ti},LX=function(){};_.w(KX,_.Pv);_.r=KX.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.Cn.bind(this)),this.h.on(this.a,"webkitcurrentplaybacktargetiswirelesschanged",this.mo.bind(this)))};
|
|
3
|
+
_.r.onPlayerWillRelease=function(){this.o.stop();this.h.release()};_.r.id=function(){return"airplay"};_.r.Cn=function(a){switch(a.availability){case "available":this.f=!0;break;case "not-available":this.f=!1}this.m.trigger(new _.Q(_.Hc,{canCast:this.f}))};_.r.mo=function(){var a=(this.j=this.a.webkitCurrentPlaybackTargetIsWireless)?_.Gc:_.Fc;if(this.l||!this.m.isPaused()||3===this.m.getState())this.l?this.m.play()["catch"](function(){}):this.o.ia(.01);this.m.trigger(new _.Q(a))};_.r.Ea=function(){return this.j};
|
|
4
|
+
_.r.zd=function(){return this.f};_.r.Zo=function(){this.f&&(this.l=!this.m.isPaused(),this.a.webkitShowPlaybackTargetPicker())};_.K("clpp.airplay.AirPlayPlugin",KX);KX.prototype.showCastMenu=KX.prototype.Zo;KX.prototype.canCast=KX.prototype.zd;KX.prototype.isCasting=KX.prototype.Ea;KX.Id="airplay";LX.prototype.create=function(){return new KX};_.To(new LX);};
|
|
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.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.
|
|
8
|
-
_.r.getPodIndex=function(){return 1};_.r.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_.r.
|
|
13
|
-
_.r.initialize=function(a,b){var c=this;this.j=a;a.activateAdvertising();
|
|
14
|
-
c.a=null}})};_.r.
|
|
15
|
-
_.r.
|
|
16
|
-
_.r.
|
|
17
|
-
_.r.isMuted=function(){return!1};_.r.
|
|
18
|
-
|
|
19
|
-
_.r.onContentLoaded=function(){!1!==this.l&&this.a.precacheEnded()};_.r.
|
|
20
|
-
_.r.id=function(){return"broadpeak"};_.K("clpp.broadpeak.BroadpeakPlugin",
|
|
2
|
+
var f=function(window){var xX=function(a,b,c){this.a=a||{};this.f=b||{};this.w=c||0;this.o=0;this.l=this.j=this.h=!1},yX=function(a,b){this.m=a;this.f=b;this.a=new _.ti;this.h=!1},zX=function(a){this.m=a;this.l=new _.ti;this.h=this.j=this.f=this.a=null;this.o=this.xn.bind(this)},AX=function(a){var b=a.m.getSurface().getMedia();b&&(a.h=a.lo.bind(a),b.addEventListener("click",a.h))},BX=function(a){a.l.off(a.m,_.wg,a.o)},CX=function(a){function b(c){var d=GenericPlayerApi.call(this)||this;d.m=c;d.f=_.Ij();d.a=0;return d}_.w(b,
|
|
3
|
+
GenericPlayerApi);b.prototype.getPlayerName=function(){return _.Ba};b.prototype.getVersion=function(){return _.ja};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 5===this.m.getState()?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)},DX=function(){this.o=this.f=this.a=this.h=this.m=null;this.w=new _.ti;this.l=!1;this.j=null},EX=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))},FX=function(a,b,c){var d=c.customParameters||{};a.a=a.h.createStreamingSession();a.a.setOption(StreamingSessionOptions.SESSION_PRECACHE,!0);for(var e in d)a.a.setCustomParameter(e,d[e]);c.adTracking&&(a.j=b.getAdsManager(),a.j.initialize(a.a,c.adParameters||{}));a.w.on(b,_.me,a.Ek.bind(a));a.o=CX(b);a.a.attachPlayer(a.o)},GX=function(a,b){_.wi(a.w);a.f&&(a.f.release(),a.f=null);a.a&&(a.a.stopStreamingSession(b),a.a=null)},HX=function(){return!window.SmartLib||!window.GenericPlayerApi},
|
|
6
|
+
IX=function(){},JX=function(){};_.r=xX.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""};_.r.getAdvertiserName=function(){return""};_.r.getTitle=function(){return""};_.r.getDuration=function(){return 0>=this.a.duration?-1:this.a.duration/1E3};
|
|
7
|
+
_.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};_.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?2:1};
|
|
8
|
+
_.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};_.r.canSeek=function(){return!1};xX.prototype.canSeek=xX.prototype.canSeek;xX.prototype.getVideoElement=xX.prototype.Jb;
|
|
9
|
+
xX.prototype.getWrapperCreativeIds=xX.prototype.getWrapperCreativeIds;xX.prototype.getWrapperAdSystems=xX.prototype.getWrapperAdSystems;xX.prototype.getWrapperAdIds=xX.prototype.getWrapperAdIds;xX.prototype.getSequenceLength=xX.prototype.fb;xX.prototype.getPositionInSequence=xX.prototype.nb;xX.prototype.getPodTimeOffset=xX.prototype.yb;xX.prototype.getPodIndex=xX.prototype.getPodIndex;xX.prototype.getPodType=xX.prototype.Ha;xX.prototype.getMediaBitrate=xX.prototype.Ga;
|
|
10
|
+
xX.prototype.getMediaHeight=xX.prototype.cb;xX.prototype.getMediaWidth=xX.prototype.eb;xX.prototype.getMediaUrl=xX.prototype.getMediaUrl;xX.prototype.getClickThroughUrl=xX.prototype.Za;xX.prototype.isBumper=xX.prototype.Kb;xX.prototype.getSkipTimeOffset=xX.prototype.getSkipTimeOffset;xX.prototype.getPosition=xX.prototype.getPosition;xX.prototype.getDuration=xX.prototype.getDuration;xX.prototype.getTitle=xX.prototype.getTitle;xX.prototype.getAdvertiserName=xX.prototype.getAdvertiserName;
|
|
11
|
+
xX.prototype.getAdSystem=xX.prototype.getAdSystem;xX.prototype.getApiFramework=xX.prototype.getApiFramework;xX.prototype.getSourceId=xX.prototype.Ib;xX.prototype.getCreativeId=xX.prototype.getCreativeId;xX.prototype.getId=xX.prototype.getId;xX.prototype.getTechnology=xX.prototype.ob;xX.prototype.getAdManagerVersion=xX.prototype.lb;xX.prototype.getAdManagerName=xX.prototype.kb;_.r=yX.prototype;_.r.init=function(){var a=this.m,b=this.a;b.on(a,_.fg,this.Hk.bind(this));b.on(a,_.bd,this.Fk.bind(this));b.on(a,"seek",this.Gk.bind(this))};_.r.Fk=function(a){a=a.detail;typeof a.bandwidth===_.h&&this.f.notifyLayerSwitch(a.bandwidth/1E3)};_.r.Hk=function(a){var b=this.m,c=this.f;a=a.detail;var d=a.currentState;2===a.previousState&&c.notifyStallEnd(!b.isPaused());switch(d){case 2:c.notifyStallStart();break;case 3:this.h?c.notifyResume():(c.notifyFirstImage(),this.h=!0);break;case 4:c.notifyPause()}};
|
|
12
|
+
_.r.Gk=function(){var a=1E3*this.m.getPosition();this.f.notifySeek(a)};_.r.release=function(){this.a&&(_.wi(this.a),this.a=null)};_.r=zX.prototype;
|
|
13
|
+
_.r.initialize=function(a,b){var c=this;this.j=a;a.activateAdvertising();AX(this);for(var d in b)a.setAdParameter(d,b[d]);a.setAdEventsListener({onAdBreakBegin:function(){c.m.trigger(new _.Q(_.hc,{ad:null}));c.l.on(c.m,_.wg,c.o)},onAdBegin:function(e,f){c.f=e;c.a=new xX(e,f,1E3*c.m.getDuration());c.m.trigger(new _.Q(_.Ac,{ad:c.a}))},onAdSkippable:function(){},onAdEnd:function(){if(c.a){var e={ad:c.a};c.m.trigger(new _.Q(_.lc,e));c.m.trigger(new _.Q(_.Bc,e));c.a=null;c.f=null}},onAdBreakEnd:function(){BX(c);c.m.trigger(new _.Q(_.ic));
|
|
14
|
+
c.a=null}})};_.r.lo=function(){if(this.a&&this.j){var a=this.a.Za();a&&(this.j.adUserInteraction("click"),this.m.trigger(new _.Q(_.kc,{ad:this.a})),this.m.pause(),(a=window.open(a,"_blank"))&&a.focus())}};
|
|
15
|
+
_.r.xn=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 _.Q(_.xc,{ad:this.a})),!this.a.h&&a>=b/4&&(this.a.h=!0,this.m.trigger(new _.Q(_.mc,{ad:this.a}))),!this.a.j&&a>=b/2&&(this.a.j=!0,this.m.trigger(new _.Q(_.tc,{ad:this.a}))),!this.a.l&&a>=3*b/4&&(this.a.l=!0,this.m.trigger(new _.Q(_.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,BX(this),this.m.trigger(new _.Q(_.zc,{ad:b})),this.m.setPosition(a))}};_.r.qb=function(){};_.r.isPaused=function(){};_.r.pause=function(){};_.r.resume=function(){};_.r.getAdVolume=function(){return 0};_.r.Oa=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(){BX(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()};zX.prototype.getPosition=zX.prototype.getPosition;zX.prototype.setVolume=zX.prototype.setVolume;zX.prototype.getVolume=zX.prototype.getVolume;zX.prototype.resume=zX.prototype.resume;
|
|
18
|
+
zX.prototype.pause=zX.prototype.pause;zX.prototype.skip=zX.prototype.skip;_.w(DX,_.Pv);_.r=DX.prototype;_.r.onPlayerCreated=function(a){this.m=a};_.r.onContentWillLoad=function(a,b){var c=this,d=a.getConfiguration().broadpeak;if(d){if(HX())return a.onError(new _.N(1,9,11E3));this.l=!0;EX(this,d);FX(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 _.N(1,9,11001,{bpkErrorCode:f,message:e}));GX(c,void 0)}else b.url=e.getURL(),c.f=new yX(c.m,c.o),c.f.init()})}};
|
|
19
|
+
_.r.onContentLoaded=function(){!1!==this.l&&this.a.precacheEnded()};_.r.Ek=function(a){a=a.detail;if(7003===a.code)GX(this,SmartLib.BPFormatNotSupportedError);else if(a.severity===_.P)switch(a.category){case 3:GX(this,SmartLib.BPDecodingError);break;case 1:GX(this,SmartLib.BPNetworkingError);break;case 6:GX(this,SmartLib.BPAccessRightError);break;default:GX(this,SmartLib.BPUnspecifiedError)}};_.r.onPlayerWillRelease=function(){this.j=null;HX()||GX(this,SmartLib.BPSessionEndsNormally);this.l=!1};
|
|
20
|
+
_.r.id=function(){return"broadpeak"};_.K("clpp.broadpeak.BroadpeakPlugin",DX);DX.isSdkMissing=HX;DX.Id="broadpeak";IX.prototype.create=function(){return new DX};JX.prototype.name=function(){return"clpp.broadpeak.AdsManagerFactory"};JX.prototype.a=function(a,b){return HX()?!1:!!(b&&b.broadpeak&&b.broadpeak.adTracking)};JX.prototype.create=function(a){return new zX(a)};_.To(new IX);_.$h(new JX);};
|
|
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));}
|