Player Events - Storm JavaScript Player

The list below contains all the listeners related to the behavior of the player itself (its interface). Feel free to add events from the Storm Library that you will find here: Playback Events - Storm JavaScript Library and here Library Events - Storm JavaScript Library.

Event list

Event nameAdditional dataDescriptionCan be fired more than once?
interfaceReadynoEvent fires when the player interface is ready. This action takes place before libraryCreated event.no
libraryCreatednoEvent fires when the player library is created. This action takes place after interfaceReady event.no
libraryInitializenoEvent fires when the Storm JavaScript Library is initialized.no
playClicknoEvent fires when user clicks any play button.yes
pauseClicknoEvent fires when user clicks the pause button.yes
videoClicknoEvent fires when user clicks the video screen.yes
muteClicknoEvent fires when user mutes the volume.yes
unmuteClicknoEvent fires when volume is unmuted.yes
qualitySwitchClicknoEvent fires when user chooses different stream quality.yes
sourceChangenoEvent fires when a stream quality is changed.yes
fullscreenEnternoEvent fires when user enters fullscreen mode.yes
fullscreenExitnoEvent fires when user exits fullscreen mode.yes
errorMessagenoEvent fires whenever an error message appears.yes
guiShownoEvent fires whenever player interface becomes visible (e.g. user mouse activity).yes
guiHidenoEvent fires whenever player interface becomes invisible (user mouse inactivity).yes
titleUpdatenoEvent fires whenever a stream title is added or updated.yes
subtitleUpdatenoEvent fires whenever a stream subtitle is added or updated.yes
seekStartnoEvent fires whenever a user grabs progress bar thumb (mouse button down).yes
seekEndnoEvent fires whenever a user releases progress bar thumb (mouse button up).yes
seekSetnoEvent fires every time a user clicks on a progress bar or releases progress bar thumb in a new place.yes
cuePointAddnoEvent fires every time new CUE Point is added.yes
cuePointRemovenoEvent fires whenever an existing CUE Point is removed.yes
waitingRoomCreatenoEvent fires whenever a Waiting Room is created.no
waitingRoomEndnoEvent fires when a Waiting Room is closed (timeout).no
playerConfigUpdatenoInforms about new player config that was added using setPlayerConfig method.yes
streamConfigUpdatednoInforms about new stream config that was added using setStreamConfig method.yes
resizenewWidth:number, newHeight:numberEvent fires whenever player size is changed.yes
Table 1. Player events table.
Next Step

For the next step please check our Storm JavaScript Player - API Methods where you’ll learn about available API methods.

Support Needed?

Create a free ticket and our support team will provide you necessary assistance.