diff --git a/ios/Video/Features/RCTVideoUtils.swift b/ios/Video/Features/RCTVideoUtils.swift index d812c52d..575552d3 100644 --- a/ios/Video/Features/RCTVideoUtils.swift +++ b/ios/Video/Features/RCTVideoUtils.swift @@ -307,7 +307,7 @@ enum RCTVideoUtils { var asset: AVURLAsset! let bundlePath = Bundle.main.path(forResource: source.uri, ofType: source.type) ?? "" let url = source.isNetwork || source.isAsset - ? URL(string: source.uri?.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "") + ? URL(string: source.uri ?? "") : URL(fileURLWithPath: bundlePath) let assetOptions: NSMutableDictionary! = NSMutableDictionary()