Auto Pause

Automatically pauses the player based on certain rules

By default, adding an empty autoPause object enables the auto pause player functionality and also sets viewability: true.

jwplayer("myElement").setup({
  "playlist": "https://example.com/myVideo.mp4",
  ...
  "autoPause": {
    "viewability": true,
    "pauseAds": true
  }
});
PropertyDescriptionDefault
pauseAds 8.10.0+ boolean
                                                                     
Controls if ad playback stops when the player is no longer viewable.

true: When the player is no longer viewable, ad playback pauses. Ad playback resumes when the player becomes viewable again.

false: Only video playback will be paused when the player is no longer viewable.

NOTE: If viewability: false, setting pauseAds: true will have no effect.
false
viewability booleanControls if video playback stops when player is no longer viewable

true: When the player is no longer viewable, video playback pauses. Playback resumes when the player becomes viewable again. If the player is no longer viewable after an ad break begins, the ad break will continue to play to completion before pausing.

false: The auto pause functionality is disabled.
true