Volume Events

.on('mute')

Triggered when the player has gone in or out of a mute state.

Returns an object with the following:

ValueDescriptionType
muteThe player's new mute stateBoolean

.on('volume')

Triggered when the player's volume is changed.

Returns an object with the following:

ValueDescriptionType
volumeNew volume percentage (0-100)Number