fix(ios): losing subtitle selection on foreground (#3707)
This commit is contained in:
parent
b871d937a3
commit
bee4123402
@ -933,9 +933,12 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
setMaxBitRate(_maxBitRate)
|
setMaxBitRate(_maxBitRate)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if _selectedTextTrackCriteria != nil {
|
||||||
|
setSelectedTextTrack(_selectedTextTrackCriteria)
|
||||||
|
}
|
||||||
|
|
||||||
setAudioOutput(_audioOutput)
|
setAudioOutput(_audioOutput)
|
||||||
setSelectedAudioTrack(_selectedAudioTrackCriteria)
|
setSelectedAudioTrack(_selectedAudioTrackCriteria)
|
||||||
setSelectedTextTrack(_selectedTextTrackCriteria)
|
|
||||||
setResizeMode(_resizeMode)
|
setResizeMode(_resizeMode)
|
||||||
setRepeat(_repeat)
|
setRepeat(_repeat)
|
||||||
setControls(_controls)
|
setControls(_controls)
|
||||||
|
Loading…
Reference in New Issue
Block a user