Loading RCTVideo.m +2 −2 Changes for RCTVideo.m: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty"; - (void)setFullscreen:(BOOL)fullscreen { if( fullscreen ) if( fullscreen && !_fullscreenPlayerPresented ) { // Ensure player view controller is not null if( !_playerViewController ) Loading Loading @@ -468,7 +468,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty"; }]; } } else else if ( !fullscreen && _fullscreenPlayerPresented ) { [self videoPlayerViewControllerWillDismiss:_playerViewController]; [_presentingViewController dismissViewControllerAnimated:true completion:^{ Loading Loading
RCTVideo.m +2 −2 Changes for RCTVideo.m: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -436,7 +436,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty"; - (void)setFullscreen:(BOOL)fullscreen { if( fullscreen ) if( fullscreen && !_fullscreenPlayerPresented ) { // Ensure player view controller is not null if( !_playerViewController ) Loading Loading @@ -468,7 +468,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty"; }]; } } else else if ( !fullscreen && _fullscreenPlayerPresented ) { [self videoPlayerViewControllerWillDismiss:_playerViewController]; [_presentingViewController dismissViewControllerAnimated:true completion:^{ Loading