We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 865db71 commit 075dfbaCopy full SHA for 075dfba
ios/Video/RCTVideo.m
@@ -436,7 +436,7 @@ - (void)playerItemForSource:(NSDictionary *)source withCallback:(void(^)(AVPlaye
436
bool isAsset = [RCTConvert BOOL:[source objectForKey:@"isAsset"]];
437
NSString *uri = [source objectForKey:@"uri"];
438
NSString *type = [source objectForKey:@"type"];
439
- if([uri isEqualToString:@""] && [type isEqualToString:@""]) {
+ if (!uri || [uri isEqualToString:@""]) {
440
DebugLog(@"Could not find video URL in source '%@'", source);
441
return;
442
}
0 commit comments