HTMLMediaElement: pause() method
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("HTML DOM")}}
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
js-nolint
pause()Parameters
None.
Return value
None ({{jsxref("undefined")}}).
Exceptions
None.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}