Package | se.videoplaza.kit.api.constants |
Class | public class InsertionPointType |
prepareInsertionPoint
and getInsertionPointPreparationTimeout
,
or when excluding insertion points from requests by passing them into the optional second second parameter of VpAdPlayerWrapper.setNewItem(itemInfo:ItemInfo, excludeInsertionPointTypes:Array).
Note! Excluding insertion point types is highly discouraged. Make sure you know why you are doing so before introducing this behavior, as this affects ad delivery and Pulse account setup.
Constant | Defined by | ||
---|---|---|---|
ON_BEFORE_CONTENT : String = "OnBeforeContent" [static]
Ads at an insertion point of this type start before the content starts (prerolls).
| InsertionPointType | ||
ON_CONTENT_END : String = "OnContentEnd" [static]
Ads at an insertion point of this type start after the content has ended (postrolls).
| InsertionPointType | ||
ON_CUE_POINT : String = "OnCuePoint" [static]
Ads at an Insertion point of this type start at a certain playback position of the content.
| InsertionPointType | ||
ON_PAUSE : String = "OnPause" [static]
Ads at an insertion point of this type start when the user pauses the content.
| InsertionPointType | ||
ON_SEEK : String = "OnSeek" [static]
Ads at an insertion point of this type start when the user seeks in the content.
| InsertionPointType | ||
PLAYBACK_TIME : String = "PlaybackTime" [static]
Ads at an insertion point of this type start when content has played for a certain amount of time.
| InsertionPointType |
ON_BEFORE_CONTENT | constant |
public static const ON_BEFORE_CONTENT:String = "OnBeforeContent"
Ads at an insertion point of this type start before the content starts (prerolls).
ON_CONTENT_END | constant |
public static const ON_CONTENT_END:String = "OnContentEnd"
Ads at an insertion point of this type start after the content has ended (postrolls).
ON_CUE_POINT | constant |
public static const ON_CUE_POINT:String = "OnCuePoint"
Ads at an Insertion point of this type start at a certain playback position of the content. This correlates directly to cue points passed to the AdPlayer.
NOTE! In environments other than Flash, for example HTML5, this insertion point type is referred to as PlaybackPosition instead of OnCuePoint.
ON_PAUSE | constant |
public static const ON_PAUSE:String = "OnPause"
Ads at an insertion point of this type start when the user pauses the content.
ON_SEEK | constant |
public static const ON_SEEK:String = "OnSeek"
Ads at an insertion point of this type start when the user seeks in the content.
PLAYBACK_TIME | constant |
public static const PLAYBACK_TIME:String = "PlaybackTime"
Ads at an insertion point of this type start when content has played for a certain amount of time.