MediaMelon SDK Events
Player Events:
1
ONLOAD
Indicates that the player has attempted to load and start playback of the video.
2
MANIFEST_LOADED
Indicates that the manifest has been successfully loaded in the player.
3
START
Indicates that the video has actually started playing.
5
RENDITION_CHANGE
Indicates that the current video rendition has changed. Includes details such as bitrate, resolution, FPS, audio codec, and video codec.
6
PAUSE
Indicates that video playback has been paused.
7
RESUME
Indicates that video playback has resumed after being paused.
8
SEEK_START
Indicates that a seek operation has been initiated (jumping to a different timestamp).
9
SEEK_COMPLETE
Indicates that the seek operation completed successfully, and playback has resumed at the target timestamp.
10
BUFFERING_START
Indicates that the player runs out of enough data to continue smooth playback and starts buffering.
11
BUFFERING_COMPLETE
Indicates that the player has re-buffered enough content to resume smooth playback after a buffering interruption.
12
AUDIO_CHANGE
Indicates that the audio track of playback has changed.
13
SUBTITLE_CHANGE
Indicates that the subtitle track of playback has changed.
14
ERROR
Indicates that an error occurred during the current playback session. This can include both fatal errors (playback cannot continue) and warning-level errors (playback continues but with degraded performance or missing features).
15
ENDED
Indicates that the playback session has ended (naturally, by stop, or due to user action).
16
COMPLETE
Indicates that the video playback reached the end of the content (played fully).
Custom Events:
1
RC_<REQUEST_TYPE>
Indicates that a request was cancelled. Possible types: RC_MANIFEST, RC_AUDIO, RC_VIDEO, RC_SUBTITLE, RC_DRM.
2
RF_<REQUEST_TYPE>
Indicates that a request failed. Possible types: RF_MANIFEST, RF_AUDIO, RF_VIDEO, RF_SUBTITLE, RF_DRM.
3
CDN_CHANGE
Indicates that the CDN used for video delivery has changed.
4
DRM_CHANGE
Indicates that the DRM configuration of the video has changed.
5
ORIENTATION_CHANGE
Indicates that the device orientation changed during video playback.
Ad Events:
1
AD_REQUEST
Indicates that an ad pod request has been made.
2
AD_RESPONSE
Indicates that an ad response was received for the ad request.
3
AD_IMPRESSION
Indicates that the ad has started rendering. In the case of SSAI, it is the same as the ad playback start.
4
AD_PLAY
Indicates that ad playback has started.
5
AD_PLAYING
Indicates that the ad is currently playing.
6
AD_PLAYED_FIRST_QUARTILE
Indicates that 25% of the ad has been played.
7
AD_PLAYED_SECOND_QUARTILE
Indicates that 50% of the ad has been played.
8
AD_PLAYED_THIRD_QUARTILE
Indicates that 75% of the ad has been played.
9
AD_PAUSED
Indicates that ad playback has been paused.
10
AD_RESUMED
Indicates that ad playback has resumed after being paused.
11
AD_BUFFERING_START
Indicates that buffering has started during ad playback.
12
AD_BUFFERING_COMPLETE
Indicates that ad playback has resumed after buffering.
13
AD_ERROR
Indicates that an error occurred during ad playback.
14
AD_CLICK
Indicates that the user interacted with/clicked on the ad.
15
AD_ENDED
Indicates that ad playback has ended (either completed or skipped).
16
AD_COMPLETE
Indicates that ad playback was completed fully (played until the end).
17
AD_SKIPPED
Indicates that the user skipped the ad.
Last updated