Skip to main content

Player Events Reference

You can access the lura player events in lura.enums.LuraPlayerEvents

EventSourceDescription
STREAM_INITIALIZEDCustomEvent fired when the video stream is initialized
MANIFEST_LOADEDCustomEvent fired when the video manifest has been loaded
NATIVE_TIME_UPDATECustomEvent fired when the time of the video has been updated
PREVIEW_MATRIX_LOADEDCustomEvent fired when the preview matrix of the video is loaded
CAPTION_SELECTEDCustomEvent fired when a caption is selected in the video player
CAPTION_ATTACHEDCustomEvent fired when a caption is attached to the video player
CAPTION_CUE_CHANGEDCustomEvent fired when a caption cue is changed in the video player
CAPTION_LOAD_FAILEDCustomEvent fired when a caption load fails in the video player
AUDIO_TRACKS_UPDATEDCustomEvent fired when the audio tracks of the video have been updated
AUDIO_TRACK_LOADEDCustomEvent fired when an audio track of the video has been loaded
AUDIO_TRACK_SWITCHEDCustomEvent fired when an audio track of the video is switched
AUDIO_TRACK_SWITCHINGCustomEvent fired when an audio track of the video is switching
AUDIO_TRACK_SELECTEDCustomEvent fired when an audio track of the video is selected
MUTED_AUTOPLAY_FORCEDCustomEvent fired when the video player is forced to mute
INTERSTITIAL_FIREDCustomEvent fired when an interstitial is fired in the video player
VIDEO_METADATA_UPDATEDCustomEvent fired when the video metadata is updated
TIMED_METADATACustomEvent fired when timed metadata is available in the video
DASH_TIMED_METADATACustomEvent fired when timed metadata is available in the video using DASH protocol
CASTING_REQUESTEDCustomEvent fired when casting is requested in the video player
CASTING_STARTEDCustomEvent fired when casting is started in the video player
CASTING_ENDEDCustomEvent fired when casting is ended in the video player
LOADHTMLEvent fired when the video content has been loaded
AUDIO_PROCESSHTMLEvent fired when the video audio processing is done
CAN_PLAYHTMLEvent fired when the video is able to be played
CAN_PLAY_THROUGHHTMLEvent fired when the video is able to be played without buffering
COMPLETEHTMLEvent fired when the video has completed playback
DURATION_CHANGEHTMLEvent fired when the video duration has changed
EMPTIEDHTMLEvent fired when the video source has been emptied
ENDEDHTMLEvent fired when the video playback has ended
LOADED_DATAHTMLEvent fired when the video data has been loaded
LOADED_METADATAHTMLEvent fired when the video metadata is loaded
PAUSEHTMLEvent fired when the video is paused by the user or programmatically
PLAYHTMLEvent fired when the video begins to play
PLAYINGHTMLEvent fired when the video is playing
PROGRESSHTMLEvent fired as the video's download progresses
RATE_CHANGEHTMLEvent fired when the video's playback rate changes
SEEKINGHTMLEvent fired when seeking begins
STALLEDHTMLEvent fired when the browser is unable to fetch media data, but is still trying
SUSPENDHTMLEvent fired when loading of media data is suspended
TIME_UPDATEHTMLEvent fired when the current time of the video changes
VOLUME_CHANGEHTMLEvent fired when the volume of the video changes
WAITINGHTMLEvent fired when the video stops because of a buffer underrun
CUE_ADDEDCustomEvent fired when a new text track cue is added to the video
CUE_ENTERCustomEvent fired when the playhead enters a text track cue in the video
CUE_EXITCustomEvent fired when the playhead exits a text track cue in the video
CUE_UPDATEDCustomEvent fired when a text track cue is updated in the video
PLAY_REQUESTEDCustomEvent fired when the user requests the video to play
PAUSE_REQUESTEDCustomEvent fired when the user requests the video to pause
AD_BREAKS_READYCustomEvent fired when ad breaks have been loaded and are ready to play in the video
AD_IMPRESSIONCustomEvent fired when an ad begins to play in the video
AD_BREAK_STARTEDCustomEvent fired when an ad break begins to play in the video
AD_STARTEDCustomEvent fired when an individual ad begins to play in the video
AD_STOPPEDCustomEvent fired when an individual ad stops playing in the video
AD_SKIP_STATE_CHANGEDCustomEvent fired when the skip state of an ad changes (e.g. skip button appears or disappears)
AD_CLICKEDCustomEvent fired when the user clicks on an ad in the video
AD_COMPLETEDCustomEvent fired when an individual ad has completed playing in the video
AD_FIRST_QUARTILECustomEvent fired when an ad has reached the first quarter of its playtime
AD_MIDPOINTCustomEvent fired when an ad has reached its midpoint
AD_METADATACustomEvent fired when ad metadata is loaded and available for use
AD_MUTEDCustomEvent fired when an ad is muted by the user or programmatically
AD_UNMUTECustomEvent fired when an ad is unmuted by the user or programmatically
AD_PAUSEDCustomEvent fired when an ad is paused by the user or programmatically
AD_PROGRESSCustomEvent fired when the progress of an ad changes
AD_RESUMEDCustomEvent fired when an ad is resumed by the user or programmatically
AD_SKIPPEDCustomEvent fired when an ad is skipped by the user
AD_THIRD_QUARTILECustomEvent fired when an ad has reached the third quarter of its playtime
AD_VOLUME_CHANGEDCustomEvent fired when the volume of an advertisement changes
AD_BREAK_COMPLETEDCustomEvent fired when an advertisement break is completed
AD_TIME_UPDATECustomEvent fired when the time updates in an advertisement
AD_BUFFER_ENDCustomEvent fired when an advertisement buffer has ended
AD_EXTERNAL_STARTCustomEvent fired when an external advertisement is started
AD_EXTERNAL_ENDCustomEvent fired when an external advertisement is ended
PLUGIN_READYCustomEvent fired when a plugin has finished loading and is ready to be used