mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
parent
469d8d854e
commit
fc452fe77b
1 changed files with 2 additions and 0 deletions
|
|
@ -1797,6 +1797,8 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
wasPlayingBeforeBackground = player.rate > 0
|
||||
if isPipAutoEnabled && AVPictureInPictureController.isPictureInPictureSupported() {
|
||||
startPipIfNeeded()
|
||||
} else {
|
||||
player.pause()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue