TextTrackCue.pauseOnExit

The pauseOnExit property of the 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

let pauseOnExit = TextTrackCue.pauseOnExit;
TextTrackCue.pauseOnExit = true;

Value

A Boolean, true if the media will pause.

Examples

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
pauseOnExit
23
12
31
10
≤12.1
6
≤37
25
31
≤12.1
7
1.5

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/TextTrackCue/pauseOnExit