Player events are related to player behaviors (not the video/stream itself).
Event name | Additional data | Description | Can be fired more than once? |
---|---|---|---|
videoPlay | no | The event is fired whenever the playback starts | yes |
videoPause | no | The event is fired when the playback is paused (though a user interaction) | yes |
videoLoading | no | This event tells us that content is being prepared for playback. It’s not playing yet, but it will start very soon | yes (once per video) |
videoMetadata | yes | This event contains all data related to video (like resolutions, codecs) | yes (once per video) |
volumeChange | newVolume | Whenever volume is changed this event will fire up | yes |
videoStop | no | This event will be called when stream is closed on a server side (usually it means that broadcaster stopped streaming) | yes (once per video) |
videoError | yes | This event indicates that there was a problem with playing the video (usually related to a browser not being able to play it) | yes (once per video) |
videoNotFound | no | This event is called whenever a stream with given name was not found | yes (once per video) |