HTMLMediaElement.muted

The HTMLMediaElement.muted indicates whether the media element muted.

Syntax

var isMuted = audioOrVideo.muted
audio.muted = true;

Value

A Boolean. true means muted and false means not muted.

Example

var obj = document.createElement('video');
console.log(obj.muted); // false

Specifications

Specification
HTML Standard (HTML)
# dom-media-muted-dev

Browser compatibility

BCD tables only load in the browser

See also