---
title: TextTrackCue.pauseOnExit
slug: Web/API/TextTrackCue/pauseOnExit
tags:
  - API
  - Property
  - Reference
  - pauseOnExit
  - TextTrackCue
browser-compat: api.TextTrackCue.pauseOnExit
---
{{APIRef("WebVTT")}}

The **`pauseOnExit`** property of the {{domxref("TextTrackCue")}} interface returns or sets the flag indicating whether playback of the media should pause when the end of the range to which this cue applies is reached.

## Syntax

```js
let pauseOnExit = TextTrackCue.pauseOnExit;
TextTrackCue.pauseOnExit = true;
```

### Value

A {{jsxref("Boolean")}}, true if the media will pause.

## Examples

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
