mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-05 03:39:41 +00:00
Merge pull request #3248 from yooasd11/master
fix: Player shows black screen on re-enter (iOS)
This commit is contained in:
@@ -202,7 +202,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
||||
|
||||
@objc func applicationWillEnterForeground(notification:NSNotification!) {
|
||||
self.applyModifiers()
|
||||
if _playInBackground {
|
||||
if !_playInBackground {
|
||||
_playerLayer?.player = _player
|
||||
_playerViewController?.player = _player
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user