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.");
}
Page List