Commit 0d32a31b authored by Ash Mishra's avatar Ash Mishra
Browse files

Merged, but text sideloading is not working

parent ea7bc157
Loading
Loading
Loading
Loading
+1 −3
Changes for ios/RCTVideo.m: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -311,8 +311,6 @@ static NSString *const timedMetadata = @"timedMetadata";
    
    [self addPlayerTimeObserver];

    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
      
    //Perform on next run loop, otherwise onVideoLoadStart is nil
    if(self.onVideoLoadStart) {
      id uri = [source objectForKey:@"uri"];
@@ -324,7 +322,7 @@ static NSString *const timedMetadata = @"timedMetadata";
                                        @"target": self.reactTag
                                        });
    }
    });

  });
  _videoLoadStarted = YES;
}