-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
38 lines (26 loc) · 754 Bytes
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: "HTMLMediaElement: muted property"
short-title: muted
slug: Web/API/HTMLMediaElement/muted
page-type: web-api-instance-property
browser-compat: api.HTMLMediaElement.muted
---
{{APIRef("HTML DOM")}}
The **`HTMLMediaElement.muted`** property indicates whether the media
element is muted.
## Value
A boolean value. `true` means muted and `false` means
not muted.
## Examples
```js
const obj = document.createElement("video");
console.log(obj.muted); // false
```
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{domxref("HTMLMediaElement")}}: Interface used to define the `HTMLMediaElement.muted` property
- {{domxref("HTMLMediaElement.defaultMuted")}}
- {{domxref("HTMLMediaElement.volume")}}