Video defaultMutedProperty
Examples
Set video default muted:
document.getElementById("myVideo").defaultMuted = true;
Try it Yourself »
Definition and Usage
The defaultMuted property sets or returns whether the audio/video is muted by default.
Setting this property only changes the default muted state, not the current one. To change the current muted state, use themutedproperty.
Browser Support
![]()
![]()
![]()
![]()
![]()
Chrome and Safari 6 browsers support the defaultMuted property.
Syntax
Return the defaultMuted property:
videoObject.defaultMuted
Set the defaultMuted property:
videoObject.defaultMuted=true|false
Property Values
| Value | Description |
|---|---|
| true|false | Describes whether the video is muted by default.
|
Technical Details
| Return Value: | Boolean value, returns true if the video is muted by default, otherwise false. |
|---|---|
| Default Value: | false |
Video Object Other Extensions