...
Applies floating appearance to the placement, as specific in StickyConfig:
resetAppearance(
...
)
Applies appearance to the placement, as specified in the original placementConfig
.
...
Placement Events
The player on() function can be used to subscribe to events. Multiple listeners can be set for each event
...
The supported events are:
Event name | Description | AdLoaded||
---|---|---|---|
onLoad | Indicates the first time an ad sources triggered the AdLoaded event | ||
AdReady | Fires on every ad AdLoaded event of any ad AdEvent | ||
onEventGranular vast and request bid events per ad source | |||
AdImpression onPlay | Called when there is a video impression.
| ||
AdVideoFirstQuartileAdClickThru onPlay25onClick | Called when the ad reached 25% of the ad video AdVideoMidpoint onPlay50is clicked on | ||
AdPaused onPause | Called when the ad reached 50% of the ad video AdVideoThirdQuartile onPlay75is paused | ||
AdPlaying onResume | Called when the ad reached 75% of the ad video | ||
AdVideoComplete onPlay100 | Called when the ad completed | ||
AdClickThru onClick | Called when the ad is clicked on | ||
AdPaused onPause | Called when the ad is paused | ||
AdPlaying onResume | Called when the ad starts playing or resumed | ||
AdError onError | Called by the player starts playing or resumed | ||
onError | Called by the player every time it finish running 1 + vastRetry waterfall runs without impression Called also whenever the player decides that it should stop running, for example when maxImp or maxRun is reached, in this case the event will pass a parameter: {errorlimit: true} to indicate the player is stopping calls for ads | ||
AdStopped onStopped | Called when the player is stopping | ||
AdSkipped onSkip | Called when an ad is skipped | ||
AdClosed onClose | Called when the player is closing | ||
AdVolumeChange onUnmute onMute | Called when the ad volume is changed | ||
ContentImpression onContentPlay | Called whenever a content video is starting to play | ||
ContentComplete onContentPlay100 | Called whenever the content video is ending | ||
ContentPaused onContentPaused | Called when the content video is paused | ||
ContentPlaying onContentPlaying | Called when the content video resume playing | ||
ContentClick onContentClick | Called when the content video is clicked | ||
Inventory onInventory | Called when the player is initialized | ||
InventoryRequest onInventoryRequest | Called every time the player starts a waterfall run | ||
AdViewableImpression | Called on viewable impression event - when ad is viewable for at least 2 consecutive sconds |
...