defaultMuted property

Get or sets the current state of the muted attribute.

HTML5 A vocabulary and associated APIs for HTML and XHTML

 

Syntax

JavaScript
defaultMuted = object.defaultMuted

 

Property values

Type: boolean

Returns the state of the muted property.

ValueCondition
true

The audio or video element is muted.

false

The audio or video element is not muted.

 

Standards information

See also

media
video object
video element
audio object
audio element

 

 

Show: