HTMLMediaElement.muted

这篇翻译不完整。请帮忙从英语翻译这篇文章

HTMLMediaElement.muted 表示媒体元素是否被静音。

Syntax

var isMuted = audioOrVideo.muted
audio.muted = true;

Value

A Boolean. true 表示被静音, false 表示未被静音。

Example

var obj = document.createElement('video');
console.log(obj.muted); // false

Specifications

Specification Status Comment
HTML Living Standard
HTMLMediaElement.muted
Living Standard  
HTML5
HTMLMediaElement.muted
Recommendation  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

文档标签和贡献者

此页面的贡献者: firefish
最后编辑者: firefish,