Enumeration: IntegrationEvent
Constants for all events dispatched by the IntegrationElement.
See
IntegrationElementEventMap for a full list of event types and their payloads
Events
AD_BUFFERING_END
AD_BUFFERING_END:
"adbufferingend"
When the ad stopped buffering.
AD_BUFFERING_START
AD_BUFFERING_START:
"adbufferingstart"
When the ad started buffering.
AD_CLICK
AD_CLICK:
"adclick"
When the ad was clicked.
AD_COMPLETE
AD_COMPLETE:
"adcomplete"
When the ad completed.
AD_IMPRESSION
AD_IMPRESSION:
"adimpression"
When the first frame of the ad got played back. See IntegrationElement#currentAd to get the current ad.
AD_PAUSED
AD_PAUSED:
"adpaused"
When the ad paused.
AD_RESUMED
AD_RESUMED:
"adresumed"
When the ad resumed.
AD_SKIPPED
AD_SKIPPED:
"adskipped"
When the ad was skipped.
AD_TIME_UPDATE
AD_TIME_UPDATE:
"adtimeupdate"
When the ad’s time updates.
AD_VOLUME_CHANGE
AD_VOLUME_CHANGE:
"advolumechange"
When the ad’s volume changes. See IntegrationElement#adVolume to get the current volume.
CONTENT_BUFFERING_END
CONTENT_BUFFERING_END:
"contentbufferingend"
When content buffering ended.
CONTENT_BUFFERING_START
CONTENT_BUFFERING_START:
"contentbufferingstart"
When content buffering started.
CONTENT_ENDED
CONTENT_ENDED:
"ended"
When the content reached its end. This is equal to HTMLMediaElement.ended . See IntegrationElement#ended to check if the content ended.
CONTENT_ERROR
CONTENT_ERROR:
"contenterror"
When a content error occurs upon loading or playing the content.
CONTENT_IMPRESSION
CONTENT_IMPRESSION:
"contentimpression"
When the first frame of the content got played back.
CONTENT_MARKER_REACHED
CONTENT_MARKER_REACHED:
"contentmarkerreached"
When a marker is reached. See MediaItem#markers how to define own markers.
CONTENT_PAUSE
CONTENT_PAUSE:
"pause"
When the content switches from playing to paused. This is equal to HTMLMediaElement.pause .
CONTENT_PLAY
CONTENT_PLAY:
"play"
When the content switches from paused to playing. This is equal to HTMLMediaElement.play .
CONTENT_SEEKED
CONTENT_SEEKED:
"seeked"
When the content has seeked. This is equal to HTMLMediaElement.seeked .
CONTENT_SEEKING
CONTENT_SEEKING:
"seeking"
When the content is seeking. This is equal to HTMLMediaElement.seeking . See IntegrationElement#seeking to get the current seeking state.
CONTENT_SELECT
CONTENT_SELECT:
"contentselect"
When content got selected. See IntegrationElement#content to get the current content.
CONTENT_START
CONTENT_START:
"contentstart"
When content started initially (e.g. before ad break).
CONTENT_STOP
CONTENT_STOP:
"contentstop"
When content got stopped (e.g. loading another content or it ended normally). The reason is provided in the payload. It gets triggered after a potential postroll.
CONTENT_TIME_UPDATE
CONTENT_TIME_UPDATE:
"timeupdate"
When the content’s time updates. This is equal to HTMLMediaElement.timeupdate . See IntegrationElement#currentTime to get the current time.
CONTENT_VOLUME_CHANGE
CONTENT_VOLUME_CHANGE:
"volumechange"
When the content’s volume changes. This is equal to HTMLMediaElement.volumechange . See IntegrationElement#volume to get the current volume.
INTEGRATION_ABORT
INTEGRATION_ABORT:
"integrationabort"
When the integration got aborted because of a configuration / authorization error. It is not triggered when the content errors.
INTEGRATION_AD_AVAILABLE
INTEGRATION_AD_AVAILABLE:
"integrationadavailable"
When an ad is available.
INTEGRATION_PASSBACK
INTEGRATION_PASSBACK:
"integrationpassback"
When a passback is triggered because of no content or no ad. Only available when IntegrationElement#passback is set.
PLAYER_SET_PRESENTATION_MODE
PLAYER_SET_PRESENTATION_MODE:
"playersetpresentationmode"
When the player’s presentation mode got changed.
PLAYLIST_UPDATE
PLAYLIST_UPDATE:
"playlistupdate"
When the playlist is updated (e.g. new media item got added). See IntegrationElement#playlist to get the current playlist items.
READY
READY:
"ready"
When the integration got initialized.
USER_UPDATE_CONSENT
USER_UPDATE_CONSENT:
"userupdateconsent"
When the user’s consent got updated. See IntegrationElement#consent to get the current consent.