Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 573 Bytes

File metadata and controls

38 lines (24 loc) · 573 Bytes
title short-title slug page-type browser-compat
HTMLMediaElement: pause() method
pause()
Web/API/HTMLMediaElement/pause
web-api-instance-method
api.HTMLMediaElement.pause

{{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

pause()

Parameters

None.

Return value

None ({{jsxref("undefined")}}).

Exceptions

None.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}