commit
8013b9a197
@ -652,7 +652,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
||||
|
||||
if _controls {
|
||||
let viewController:UIViewController! = self.reactViewController()
|
||||
viewController.addChild(_playerViewController)
|
||||
viewController?.addChild(_playerViewController)
|
||||
self.addSubview(_playerViewController.view)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user