Unverified Commit 7bd7024a authored by Hampton Maxwell's avatar Hampton Maxwell Committed by GitHub
Browse files

Merge pull request #758 from LandonS23/ios-controls

Show iOS controls without using present full screen
parents c66b7162 a4ada46b
Loading
Loading
Loading
Loading
+1 −1
Changes for ios/RCTVideo.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static NSString *const timedMetadata = @"timedMetadata";

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