isMute
Description
Returns true if the volume is set to 0
.
Syntax
const isMute = player.isMute();
- return value
boolean
Example
if (player.isMute()) {
console.log("The content plays with no sound.");
}
Returns true if the volume is set to 0
.
const isMute = player.isMute();
boolean
if (player.isMute()) {
console.log("The content plays with no sound.");
}