diff --git a/Model/Player/Backends/AVPlayerBackend.swift b/Model/Player/Backends/AVPlayerBackend.swift index 447ca7b9..7eb565c4 100644 --- a/Model/Player/Backends/AVPlayerBackend.swift +++ b/Model/Player/Backends/AVPlayerBackend.swift @@ -188,9 +188,7 @@ final class AVPlayerBackend: PlayerBackend { return } - DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { [weak self] in - self?.play() - } + play() } #endif diff --git a/Shared/Player/AppleAVPlayerViewController.swift b/Shared/Player/AppleAVPlayerViewController.swift index fb25b4ee..b528d3db 100644 --- a/Shared/Player/AppleAVPlayerViewController.swift +++ b/Shared/Player/AppleAVPlayerViewController.swift @@ -118,11 +118,11 @@ final class AppleAVPlayerViewController: UIViewController { extension AppleAVPlayerViewController: AVPlayerViewControllerDelegate { func playerViewControllerShouldDismiss(_: AVPlayerViewController) -> Bool { - true + false } func playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart(_: AVPlayerViewController) -> Bool { - true + false } func playerViewControllerWillBeginDismissalTransition(_: AVPlayerViewController) {