---
title: HTMLMediaElement.pause()
slug: Web/API/HTMLMediaElement/pause
tags:
  - API
  - Audio
  - HTMLMediaElement
  - Method
  - Reference
  - Video
browser-compat: 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

```js
HTMLMediaElement.pause()
```

### Parameters

None.

### Return value

None.

### Exceptions

None.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
