Video defaultMuted property
Example
Set the video to be muted by default:
document.getElementById("myVideo").defaultMuted = true;
Try it »
Definition and Usage
The defaultMuted property sets or returns whether the audio/video is muted by default.
Setting this attribute only changes the default mute state, not the current one. To change the current mute state, use muted attribute.
Browser support





Chrome and Safari 6 browsers support the defaultMuted property.
Syntax
Return the defaultMuted attribute:
videoObject
.defaultMuted
Set the defaultMuted attribute:
videoObject
.defaultMuted=true|false
Attribute values
| Value | Description |
|---|---|
| true|false | Describes whether the video is muted by default.
|
Technical Details
| Return Value: | Boolean, returns true if the video is muted by default, otherwise returns false. |
|---|---|
| Default value: | false |
The Video object