Easy Tutorial
❮ Prop Option Selected Prop Search Type ❯

Audio defaultMuted Property

Audio Object

Example

Set audio to be muted by default:


Definition and Usage

The defaultMuted property sets or returns whether the audio is muted by default.

Setting this property only changes the default muted state, not the current one. To change the current muted state, use the muted property.


Browser Support

Only Google Chrome and Safari 6 support the defaultMuted property.


Syntax

Return the defaultMuted property:

Set the defaultMuted property:

Property Values

Value Description
true false Indicates whether the audio is muted by default. true - Specifies that the audio is muted by default.<br> false - Default. Specifies that the audio is not muted by default.

Technical Details

Return Value: Boolean, returns true if the audio is set to be muted by default, otherwise returns false.
Default Value: false
--- ---
❮ Prop Option Selected Prop Search Type ❯