Packagese.videoplaza.kit.api.constants
Classpublic class InsertionPointType

Types of insertion points. An insertion point is a point when ads can be displayed. Use these values to prepare insertion points with 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 Ooyala Pulse account setup.



Public Constants
 ConstantDefined 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
Constant detail
ON_BEFORE_CONTENTconstant
public static const ON_BEFORE_CONTENT:String = "OnBeforeContent"

Ads at an insertion point of this type start before the content starts (prerolls).

ON_CONTENT_ENDconstant 
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_POINTconstant 
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_PAUSEconstant 
public static const ON_PAUSE:String = "OnPause"

Ads at an insertion point of this type start when the user pauses the content.

ON_SEEKconstant 
public static const ON_SEEK:String = "OnSeek"

Ads at an insertion point of this type start when the user seeks in the content.

PLAYBACK_TIMEconstant 
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.