Volume Events

.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:
  • true
  • false

.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)


© 2007-2024 Longtail Ad Solutions, Inc.