diff --git a/ios/Video/RCTVideo.m b/ios/Video/RCTVideo.m index dc1208a3..79041d9a 100644 --- a/ios/Video/RCTVideo.m +++ b/ios/Video/RCTVideo.m @@ -436,7 +436,7 @@ static int const RCTVideoUnset = -1; bool isAsset = [RCTConvert BOOL:[source objectForKey:@"isAsset"]]; NSString *uri = [source objectForKey:@"uri"]; NSString *type = [source objectForKey:@"type"]; - if([uri isEqualToString:@""] && [type isEqualToString:@""]) { + if (!uri || [uri isEqualToString:@""]) { DebugLog(@"Could not find video URL in source '%@'", source); return; }