YouTip LogoYouTip

Prop Audio Defaultmuted

# Audio defaultMuted Property [![Image 8: Audio Object Reference Manual](#) Audio Object](#) ## Example Set the audio to be muted by default: document.getElementById("myAudio").defaultMuted = true; [Try it yourself Β»](#) * * * ## Definition and Usage The defaultMuted property sets or returns whether the audio should be muted by default. Setting this property only changes the default muted state, not the current one. To change the current muted state, use the (#) property. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The defaultMuted property is supported only in Google Chrome and Safari 6. * * * ## Syntax Get the defaultMuted property: _audioObject_.defaultMuted Set the defaultMuted property: _audioObject_.defaultMuted=true|false ## Property Values | Value | Description | | --- | --- | | true|false | Indicates whether the audio should be muted by default. * true - Specifies that the audio should be muted by default. * false - Default. Specifies that the audio should not be muted by default. | ## Technical Details | Return Value: | A Boolean. Returns true if the audio is set to be muted by default, otherwise returns false. | | --- | | Default Value: | false | * * Audio Object](#)
← Prop Audio DefaultplaybackrateProp Audio Currenttime β†’