diff --git a/Shared/Player/PlayerViewController.swift b/Shared/Player/PlayerViewController.swift index 4648b73f..088fadd4 100644 --- a/Shared/Player/PlayerViewController.swift +++ b/Shared/Player/PlayerViewController.swift @@ -123,12 +123,12 @@ extension PlayerViewController: AVPlayerViewControllerDelegate { true } - func playerViewControllerWillBeginDismissalTransition(_: AVPlayerViewController) {} - - func playerViewControllerDidEndDismissalTransition(_: AVPlayerViewController) { + func playerViewControllerWillBeginDismissalTransition(_: AVPlayerViewController) { dismiss(animated: false) } + func playerViewControllerDidEndDismissalTransition(_: AVPlayerViewController) {} + func playerViewController( _: AVPlayerViewController, willBeginFullScreenPresentationWithAnimationCoordinator _: UIViewControllerTransitionCoordinator