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
  }
});
Property Description
pauseAds 8.10.0+ boolean Controls if ad playback stops when the player is no longer viewable

Possible values:
  • false: (Default) Only video playback will be paused 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.

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

Possible values:
  • true: (Default) 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.