Commit 9635a0d7 authored by Stanisław Chmiela's avatar Stanisław Chmiela
Browse files

Do not trigger unsatisfiable constraints alert when possible

parent 3b3761dc
Loading
Loading
Loading
Loading
+1 −0
Changes for RCTVideo.m: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ static NSString *const playbackBufferEmptyKeyPath = @"playbackBufferEmpty";

- (AVPlayerViewController*)createPlayerViewController:(AVPlayer*)player withPlayerItem:(AVPlayerItem*)playerItem {
    RCTVideoPlayerViewController* playerLayer= [[RCTVideoPlayerViewController alloc] init];
    playerLayer.showsPlaybackControls = NO;
    playerLayer.rctDelegate = self;
    playerLayer.view.frame = self.bounds;
    playerLayer.player = _player;