Easy Tutorial
❮ Prop Table Frame Prop Pushbutton Disabled ❯

Video muted Attribute

Video Object

Example

Turn off the video sound:

document.getElementById("myVideo").muted = true;

Definition and Usage

The muted attribute sets or returns whether the video should be muted (turned off sound).

This attribute reflects the <video> muted attribute.

When present, it describes that the video output is muted.

Note: The <video> element is new in HTML5.


Browser Support

All major browsers support the muted attribute.

Note: The <video> element is not supported in Internet Explorer 8 and earlier versions.


Syntax

Return the muted attribute:

Set the muted attribute:

Attribute Values

Value Description
true false Specifies whether the sound of the video output should be muted. true - Indicates that the video sound should be turned off.<br> false - Default. Indicates that the video sound should be turned on.

Technical Details

Return Value: Boolean, returns true if the video output is muted, otherwise returns false.
Default Value: false
--- ---

More Examples

Example

Check if the sound is turned off:

var x = document.getElementById("myVideo").muted;
true

Related Pages

HTML Reference: HTML <video> muted Attribute


❮ Prop Table Frame Prop Pushbutton Disabled ❯