diff --git a/RCTVideo.m b/RCTVideo.m index 00ea810a..1ff98250 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -287,7 +287,9 @@ static NSString *const statusKeyPath = @"status"; - (void)setResizeMode:(NSString*)mode { _resizeMode = mode; - _playerLayer.videoGravity = mode; + dispatch_async(dispatch_get_main_queue(), ^{ + _playerLayer.videoGravity = mode; + }); } - (void)setPaused:(BOOL)paused