diff --git a/ios/Video/RCTVideoManager.swift b/ios/Video/RCTVideoManager.swift index bfc398d7..e2055c02 100644 --- a/ios/Video/RCTVideoManager.swift +++ b/ios/Video/RCTVideoManager.swift @@ -4,7 +4,7 @@ import React @objc(RCTVideoManager) class RCTVideoManager: RCTViewManager { override func view() -> UIView { - return RCTVideo(eventDispatcher: bridge.eventDispatcher() as! RCTEventDispatcher) + return RCTVideo(eventDispatcher: (RCTBridge.current().eventDispatcher() as! RCTEventDispatcher)) } func methodQueue() -> DispatchQueue {