Open kmiloaguilar opened 9 years ago
You can roll your own solution. Take an image of an empty player in a UIImageView
and show that until the video starts buffering or playing, then remove the image view and show the player. You can use the didChangeToState:
delegate.
I believe this is fixed by https://github.com/youtube/youtube-ios-player-helper/pull/153
I'm using it without IBOutlet and doing something like this:
And if I add the _playerView to the view of the controller it appears a white screen. Can in a certain way fix this? It takes a while to show the player. Maybe having a way to load the player without any video, just the mockup.