[bugfix] Player shows black screen on re-enter
This commit is contained in:
parent
ef5c63fdd2
commit
be8cdfdd33
@ -197,7 +197,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
||||
|
||||
@objc func applicationWillEnterForeground(notification:NSNotification!) {
|
||||
self.applyModifiers()
|
||||
if _playInBackground {
|
||||
if !_playInBackground {
|
||||
_playerLayer?.player = _player
|
||||
_playerViewController?.player = _player
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user