For the next step please check our Storm JavaScript Library - API Methods where you’ll learn about available API methods.
Events are related to the video/playback behavior.
Event name | Additional data | Description | Can be fired more than once? |
---|---|---|---|
playbackInitiate | no | This event is fired whenever a playback of a stream is initiated (e.g. either due to autoStart set to "true" or user interaction). | yes (once per video) |
playbackStart | no | This event notifies that video playback has started (video is now playing). | yes |
playbackPause | no | This event notifies that video playback has been paused (due to end-user or system interaction). | yes |
playbackProgress | playbackStarTime: number, playbackDuration: number, streamStartTime: number, streamDuration: number, dvrCacheSize: number | Event informs on video progress, stream/playback start-time, stream/playback duration and nDVR cache size. | yes |
playbackStateChange | state: "STOPPED" / "NOT_INITIALIZED" / "PLAYING" / "BUFFERING" / "PAUSED" / "UNKNOWN" | Event informs on video playback state change. | yes |
streamStateChange | state: "AWAITING" / "NOT_PUBLISHED" / "UNPUBLISHED" / "PUBLISHED" / "CLOSED" / "UNKNOWN" | This event notifies that stream state has changed. | yes |
streamEnd | no | Event will be called when the stream is closed on the server side (usually it means that the broadcaster has stopped streaming, or stream was unpublished). | yes |
streamNotFound | no | This event is called whenever a stream with a specific name was not found on the server (this includes hibernated streams or sub-streams). | yes (once per video) |
metadataReceived | StormMetaDataItem | This event informs of metadata arrival for current video. MetaData contains information about stream codecs, width, height, bitrate etc. | yes |
bufferingStart | no | This event indicates a video content is being readied for playback. The video buffer must fill in order for the video to start. | yes |
bufferingComplete | no | This event indicates that the buffer is full and playback is ready to start. | yes |
volumeChange | volume: number, muted: boolean, invokedBy: user | browser | This event notifies that video volume was changed (either its value was changed, or video was muted/unmuted). | yes |
playbackError | no | Event indicates that there was a problem with the playback (it usually means that the browser was not able to play a source material due to malformed bitcode). | yes (once per video) |
fullScreenEnter | no | This event is fired whenever a library instance enters browser fullscreen mode (either native or overlay type). | yes |
fullScreenExit | no | This event is fired whenever a library instance exits fullscreen mode (either native or overlay type). | yes |
Create a free ticket and our support team will provide you necessary assistance.