The playerVolume
namespace includes commands and events that enable your app to control and update player volume and player mute state.
The tables below list the commands and events available in the playerVolume
namespace.
Commands
Command | Description |
---|---|
subscribe |
Subscribe to events in the playerVolume namespace. |
unsubscribe |
Unsubscribe from events in the playerVolume namespace. |
getVolume |
Get player volume and mute state. |
setVolume |
Set player volume to a specific level and unmute the player if muted. |
setMute |
Mute or unmute the player. |
setRelativeVolume |
Increase or decrease player volume. |
Events
Event | Description |
---|---|
playerVolume |
Describes changes to player volume and related player volume states, such as mute state and whether the volume is fixed or can be changed. |