External display support (#1453)

This commit is contained in:
Quang 2025-03-17 11:19:31 -04:00 committed by GitHub
parent 0f1c8b42ec
commit 36be3cc43f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ class UINativeVideoPlayerViewController: AVPlayerViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Add external screen support configuration
player?.usesExternalPlaybackWhileExternalScreenIsActive = true
}
override func viewWillDisappear(_ animated: Bool) {