HTML DOM Video defaultMuted Property
-- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
JavaScript Reference Manual
JavaScript Objects
- JavaScript Array Object
- JavaScript Boolean Object
- JavaScript Date Object
- JavaScript Math Object
- JavaScript Number Object
- JavaScript String Object
- JavaScript RegExp Object
- JavaScript Global Properties/Functions
- JavaScript Operators
- JavaScript Error
Browser Objects
DOM Objects
- HTML DOM Document Object
- HTML DOM Element Object
- HTML DOM Attribute Object
- HTML DOM Event Object
- HTML DOM Console Object
- CSSStyleDeclaration Object
- DOM HTMLCollection
HTML Objects
- <a>
- <area>
- <audio>
- <base>
- <blockquote>
- <body>
- <button>
- <canvas>
- <col>
- <colgroup>
- <datalist>
- <del>
- <details>
- <dialog>
- <embed>
- <fieldset>
- <form>
- <iframe>
- <frameset >
- <img>
- <ins>
- <input> - button
- <input> - checkbox
- <input> - color
- <input> - date
- <input> - datetime
- <input> - datetime-local
- <input> - email
- <input> - file
- <input> - hidden
- <input> - image
- <input> - month
- <input> - number
- <input> - range
- <input> - password
- <input> - radio
- <input> - reset
- <input> - search
- <input> - submit
- <input> - text
- <input> - time
- <input> - url
- <input> - week
- <keygen>
- <link>
- <label>
- <legend>
- <li>
- <map>
- <menu>
- <menuItem>
- <meta>
- <meter>
- <object>
- <ol>
- <optgroup>
- <option>
- <param>
- <progress>
- <q>
- <script>
- <select>
- <source>
- <style>
- <table>
- <td>
- <th>
- <tr>
- <textarea>
- <title>
- <time>
- <track>
- <video>
HTML DOM Video defaultPlaybackRate Property
Explore Further
- Computer Science
- Programming
- Web Design & Development
- Web Services
- Web Service
- Scripting
- Software
- Programming Languages
- Development Tools
- Scripting Languages
Video defaultMuted Property
Example
Set the video to be muted by default:
document.getElementById("myVideo").defaultMuted = true;
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 the muted property.
Browser Support
The defaultMuted property is supported in Chrome and Safari 6.
Syntax
Get the defaultMuted property:
videoObject.defaultMuted
Set the defaultMuted property:
videoObject.defaultMuted=true|false
Property Values
| Value | Description |
|---|---|
| true|false | Specifies whether the video is muted by default. * true - Indicates that the video is muted by default.* false - Default. Indicates that the video is not muted by default. |
Technical Details
| Return Value: | A Boolean. Returns true if the video is muted by default, otherwise false. |
|---|---|
| Default Value: | false |
YouTip