Class: EventCondition

EventCondition


new EventCondition()

Represents a videoplaza.adresponse.InsertionPoint trigger condition that is considered true
when a certain player event, determined by videoplaza.adresponse.EventCondition.name, is fired.

Members


<static> ConditionName :string

Indicates the type of an EventCondition.

Type:
  • string
Properties:
Name Type Default Description
ON_BEFORE_CONTENT string onBeforeContent

Condition is only fulfilled immediately when content playback starts.

ON_CONTENT_END string onContentEnd

Condition is only fulfilled when content playback completes.

ON_PAUSE string onPause

Condition is only fulfilled when content has been paused.


conditions :Array

List of additional conditions which need to be evaluated.
Can contain instances of videoplaza.adresponse.EventCondition and/or videoplaza.adresponse.PropertyCondition.

Type:
  • Array
See:

type :videoplaza.adresponse.EventCondition.ConditionName

The base event or state when this condition should be evaluated.

Type: