fix(ios): losing subtitle selection on foreground (#3707)

This commit is contained in:
Gunnar Carlson 2024-09-05 03:41:27 -05:00 committed by GitHub
parent b871d937a3
commit bee4123402
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -933,9 +933,12 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
setMaxBitRate(_maxBitRate)
}
if _selectedTextTrackCriteria != nil {
setSelectedTextTrack(_selectedTextTrackCriteria)
}
setAudioOutput(_audioOutput)
setSelectedAudioTrack(_selectedAudioTrackCriteria)
setSelectedTextTrack(_selectedTextTrackCriteria)
setResizeMode(_resizeMode)
setRepeat(_repeat)
setControls(_controls)