HTMLMediaElement: muted property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The HTMLMediaElement.muted
property indicates whether the media
element is muted.
Value
A boolean value. true
means muted and false
means
not muted.
Examples
js
const obj = document.createElement("video");
console.log(obj.muted); // false
Specifications
Specification |
---|
HTML Standard # dom-media-muted-dev |
Browser compatibility
BCD tables only load in the browser
See also
HTMLMediaElement
: Interface used to define theHTMLMediaElement.muted
propertyHTMLMediaElement.defaultMuted
HTMLMediaElement.volume