diff --git a/Shared/Player/PlayerViewController.swift b/Shared/Player/PlayerViewController.swift index 8146ff1b..26bf3211 100644 --- a/Shared/Player/PlayerViewController.swift +++ b/Shared/Player/PlayerViewController.swift @@ -127,6 +127,9 @@ extension PlayerViewController: AVPlayerViewControllerDelegate { } func playerViewControllerWillBeginDismissalTransition(_: AVPlayerViewController) { + if Defaults[.pauseOnHidingPlayer] { + playerModel.pause() + } dismiss(animated: false) }