HTMLMediaElement.pause()

翻译不完整。 请帮助我们翻译这篇文章!

HTMLMediaElement.pause() 方法可用来暂停媒体的播放,如果媒体已经处于暂停状态,该方法没有效果.

语法

HTMLMediaElement.pause()

参数

无.

返回值

无.

异常

无.

Specifications

Specification Status Comment
HTML Living Standard
pause()
Living Standard Initial definition; living specification.
HTML5
pause()
Recommendation Initial definition.

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
pauseChrome Full support YesEdge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support