Merge pull request #3248 from yooasd11/master
fix: Player shows black screen on re-enter (iOS)
This commit is contained in:
commit
01a47840be
@ -202,7 +202,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
|
|
||||||
@objc func applicationWillEnterForeground(notification:NSNotification!) {
|
@objc func applicationWillEnterForeground(notification:NSNotification!) {
|
||||||
self.applyModifiers()
|
self.applyModifiers()
|
||||||
if _playInBackground {
|
if !_playInBackground {
|
||||||
_playerLayer?.player = _player
|
_playerLayer?.player = _player
|
||||||
_playerViewController?.player = _player
|
_playerViewController?.player = _player
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user