Media Player Events
To improve simplicity and readability, the subsequent examples of specific event types exclude the foundational properties inherited from the analytics and widget event.
All media player events extend the foundational properties inherited from the analytics event by including a mediaProgress property. This property provides contextual information inherent to the media playback of the current media item.
Name | Description |
---|---|
mediaProgress | Contextual information inherent to the media playback of the current media item. |
Sent when the visitor clicks the social sharing call-to-action (CTA), triggering the display of the social sharing modal.
Sent when the visitor closes or dismisses the player.
Sent when the player begins its initialization process.
Sent when the media playback of the current media item has reached or exceeded 95% of its total duration.
Sent when the player initiates the initialization of a new media item.
Sent when the media playback of the current media item is paused, either triggered by a visitor interaction or an external event such as a document visibilitychange event.
Description bla bla
Sent when the media content of the current media item has completed loading.
For video content, it signifies that the first streamable chunk of the video has been loaded. In case of static content, such as a high-resolution image, this indicates the image has finished loading.
Sent when the media playback of the current media item is resumed, either triggered by a visitor interaction or an external event such as a document visibilitychange event.
Sent when the player skips to one of the following targets:
- previousItem — The previous media item within a current playlist.
- previousPlaylist — The previous playlist.
- nextItem — The next media item within a playlist.
- nextPlaylist — The next playlist.
SKIP events can be triggered either by visitor interaction or when the media playback of the current media item is completed.
Sent when the current media item begins playing, triggered either by a visitor interaction or media autoplay.
Sent when the player completed its initialization process and finished rendering.
Sent when the player switches its rendering mode.