HTMLMediaElement.pause()

The HTMLMediaElement.pause() method will pause playback of the media, if the media is already in a paused state this method will have no effect.

Syntax

HTMLMediaElement.pause()

Parameters

None.

Return value

None.

Exceptions

None.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'pause()' in that specification.
Living Standard Initial definition; living specification.
HTML5
The definition of 'pause()' in that specification.
Recommendation Initial definition.

Browser compatibility

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