List of All Available Events
- runtime.on-args - Fires after all args are received and before loading the media, use this even to change/override args at runtime.
- runtime.on-media-json - Fires after media JSON was received and before loading the player, use this event to manipulate the media JSON for example add, remove, or change media items.
- runtime.on-load-html - Fires before the player loads the HTML, use this event to make final changes in the DIV or generic settings like allow_search.
- runtime. on-html-loaded - Fires after the player is fully visible, use this event mostly for analytics.
Following is a list of video events - video.*
All events in this namespace will send in the data parameter (2nd arg of the event) the following structure {item: {...this is the item from the media JSON...}, version: {...rendition info...}}
- video.load - Fires when the video is loaded, this event will fire for every video in your playlist.
- video.play - Fires when video starts to play.
- video.pause - Fires when the video is paused.
- video.timeupdate - Fires during video plays for every second of play.
- video.change - Fires when the player changes the rendition version, like when user goes full screen.
- video.error - Fires when video can't be loaded or when there is an error during the play.
- video.ended - Fires when video has ended.
- video.unload - Fires before video is unloaded.
- audio.load
- audio.play
- audio.pause
- audio.timeupdate
- audio.ended
- audio.unload
- lead.created - uid, email, lead_email, lead_first, lead_last, lead_company, lead_mediarid, lead_mediatitle, lead_hmid
- chromecast.detected
- chromecast.start
- chromecast.stop
- emailgate.show
- emailgate.submit
- emailgate.skip
- emailgate.hide
- context_menu.init
- photo.open
- photo.prev
- photo.next
- photo.close
- slider.prev
- slider.next