Merge pull request #758 from LandonS23/ios-controls
Show iOS controls without using present full screen
This commit is contained in:
commit
7bd7024a5e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user