.on('mute')
Fires when the player has gone in or out of a mute state
{
"mute": true,
"type": "mute"
}
Property | Description |
---|---|
event string | Type of event
The value of this property is always volume .
|
mute boolean | New mute state of the player
Possible Values:
|
.on('volume')
Fires when the player's volume is changed
{
"volume": 73,
"type": "volume"
}
Property | Description |
---|---|
type string | Type of event
The value of this property is always volume .
|
volume number | New volume percentage (0 -100 ) |