Player Events Reference
You can access the lura player events in lura.enums.LuraPlayerEvents
Event | Source | Description |
---|---|---|
STREAM_INITIALIZED | Custom | Event fired when the video stream is initialized |
MANIFEST_LOADED | Custom | Event fired when the video manifest has been loaded |
NATIVE_TIME_UPDATE | Custom | Event fired when the time of the video has been updated |
PREVIEW_MATRIX_LOADED | Custom | Event fired when the preview matrix of the video is loaded |
CAPTION_SELECTED | Custom | Event fired when a caption is selected in the video player |
CAPTION_ATTACHED | Custom | Event fired when a caption is attached to the video player |
CAPTION_CUE_CHANGED | Custom | Event fired when a caption cue is changed in the video player |
CAPTION_LOAD_FAILED | Custom | Event fired when a caption load fails in the video player |
AUDIO_TRACKS_UPDATED | Custom | Event fired when the audio tracks of the video have been updated |
AUDIO_TRACK_LOADED | Custom | Event fired when an audio track of the video has been loaded |
AUDIO_TRACK_SWITCHED | Custom | Event fired when an audio track of the video is switched |
AUDIO_TRACK_SWITCHING | Custom | Event fired when an audio track of the video is switching |
AUDIO_TRACK_SELECTED | Custom | Event fired when an audio track of the video is selected |
MUTED_AUTOPLAY_FORCED | Custom | Event fired when the video player is forced to mute |
INTERSTITIAL_FIRED | Custom | Event fired when an interstitial is fired in the video player |
VIDEO_METADATA_UPDATED | Custom | Event fired when the video metadata is updated |
TIMED_METADATA | Custom | Event fired when timed metadata is available in the video |
DASH_TIMED_METADATA | Custom | Event fired when timed metadata is available in the video using DASH protocol |
CASTING_REQUESTED | Custom | Event fired when casting is requested in the video player |
CASTING_STARTED | Custom | Event fired when casting is started in the video player |
CASTING_ENDED | Custom | Event fired when casting is ended in the video player |
LOAD | HTML5 | Event fired when the video content has been loaded |
AUDIO_PROCESS | HTML5 | Event fired when the video audio processing is done |
CAN_PLAY | HTML5 | Event fired when the video is able to be played |
CAN_PLAY_THROUGH | HTML5 | Event fired when the video is able to be played without buffering |
COMPLETE | HTML5 | Event fired when the video has completed playback |
DURATION_CHANGE | HTML5 | Event fired when the video duration has changed |
EMPTIED | HTML5 | Event fired when the video source has been emptied |
ENDED | HTML5 | Event fired when the video playback has ended |
LOADED_DATA | HTML5 | Event fired when the video data has been loaded |
LOADED_METADATA | HTML5 | Event fired when the video metadata is loaded |
PAUSE | HTML5 | Event fired when the video is paused by the user or programmatically |
PLAY | HTML5 | Event fired when the video begins to play |
PLAYING | HTML5 | Event fired when the video is playing |
PROGRESS | HTML5 | Event fired as the video's download progresses |
RATE_CHANGE | HTML5 | Event fired when the video's playback rate changes |
SEEKING | HTML5 | Event fired when seeking begins |
STALLED | HTML5 | Event fired when the browser is unable to fetch media data, but is still trying |
SUSPEND | HTML5 | Event fired when loading of media data is suspended |
TIME_UPDATE | HTML5 | Event fired when the current time of the video changes |
VOLUME_CHANGE | HTML5 | Event fired when the volume of the video changes |
WAITING | HTML5 | Event fired when the video stops because of a buffer underrun |
CUE_ADDED | Custom | Event fired when a new text track cue is added to the video |
CUE_ENTER | Custom | Event fired when the playhead enters a text track cue in the video |
CUE_EXIT | Custom | Event fired when the playhead exits a text track cue in the video |
CUE_UPDATED | Custom | Event fired when a text track cue is updated in the video |
PLAY_REQUESTED | Custom | Event fired when the user requests the video to play |
PAUSE_REQUESTED | Custom | Event fired when the user requests the video to pause |
AD_BREAKS_READY | Custom | Event fired when ad breaks have been loaded and are ready to play in the video |
AD_IMPRESSION | Custom | Event fired when an ad begins to play in the video |
AD_BREAK_STARTED | Custom | Event fired when an ad break begins to play in the video |
AD_STARTED | Custom | Event fired when an individual ad begins to play in the video |
AD_STOPPED | Custom | Event fired when an individual ad stops playing in the video |
AD_SKIP_STATE_CHANGED | Custom | Event fired when the skip state of an ad changes (e.g. skip button appears or disappears) |
AD_CLICKED | Custom | Event fired when the user clicks on an ad in the video |
AD_COMPLETED | Custom | Event fired when an individual ad has completed playing in the video |
AD_FIRST_QUARTILE | Custom | Event fired when an ad has reached the first quarter of its playtime |
AD_MIDPOINT | Custom | Event fired when an ad has reached its midpoint |
AD_METADATA | Custom | Event fired when ad metadata is loaded and available for use |
AD_MUTED | Custom | Event fired when an ad is muted by the user or programmatically |
AD_UNMUTE | Custom | Event fired when an ad is unmuted by the user or programmatically |
AD_PAUSED | Custom | Event fired when an ad is paused by the user or programmatically |
AD_PROGRESS | Custom | Event fired when the progress of an ad changes |
AD_RESUMED | Custom | Event fired when an ad is resumed by the user or programmatically |
AD_SKIPPED | Custom | Event fired when an ad is skipped by the user |
AD_THIRD_QUARTILE | Custom | Event fired when an ad has reached the third quarter of its playtime |
AD_VOLUME_CHANGED | Custom | Event fired when the volume of an advertisement changes |
AD_BREAK_COMPLETED | Custom | Event fired when an advertisement break is completed |
AD_TIME_UPDATE | Custom | Event fired when the time updates in an advertisement |
AD_BUFFER_END | Custom | Event fired when an advertisement buffer has ended |
AD_EXTERNAL_START | Custom | Event fired when an external advertisement is started |
AD_EXTERNAL_END | Custom | Event fired when an external advertisement is ended |