Merge pull request #949 from masarusanjp/use-local-variable

fxied an issue that does not use passed argument
This commit is contained in:
Hampton Maxwell
2018-05-15 18:17:31 -07:00
committed by GitHub

View File

@@ -93,7 +93,7 @@ static NSString *const timedMetadata = @"timedMetadata";
playerLayer.showsPlaybackControls = NO;
playerLayer.rctDelegate = self;
playerLayer.view.frame = self.bounds;
playerLayer.player = _player;
playerLayer.player = player;
playerLayer.view.frame = self.bounds;
return playerLayer;
}