Loading RCTVideo.m +5 −2 Changes for RCTVideo.m: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -96,9 +96,12 @@ static NSString *const statusKeyPath = @"status"; *stop = YES; } }]; return [NSNumber numberWithFloat:CMTimeGetSeconds(CMTimeRangeGetEnd(effectiveTimeRange))]; Float64 playableDuration = CMTimeGetSeconds(CMTimeRangeGetEnd(effectiveTimeRange)); if (playableDuration > 0) { return [NSNumber numberWithFloat:playableDuration]; } return [NSNumber numberWithFloat:CMTimeGetSeconds(kCMTimeInvalid)]; } return [NSNumber numberWithInteger:0]; } - (void)stopProgressTimer Loading Loading
RCTVideo.m +5 −2 Changes for RCTVideo.m: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -96,9 +96,12 @@ static NSString *const statusKeyPath = @"status"; *stop = YES; } }]; return [NSNumber numberWithFloat:CMTimeGetSeconds(CMTimeRangeGetEnd(effectiveTimeRange))]; Float64 playableDuration = CMTimeGetSeconds(CMTimeRangeGetEnd(effectiveTimeRange)); if (playableDuration > 0) { return [NSNumber numberWithFloat:playableDuration]; } return [NSNumber numberWithFloat:CMTimeGetSeconds(kCMTimeInvalid)]; } return [NSNumber numberWithInteger:0]; } - (void)stopProgressTimer Loading