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> # dom-media-muted-dev> |
Browser compatibility
See also
HTMLMediaElement: Interface used to define theHTMLMediaElement.mutedpropertyHTMLMediaElement.defaultMutedHTMLMediaElement.volume