I am using the YouTubePlayer from here. Everything works fine except on loading and changing of orientation there is some showing of white view. On loading there is a white screen before the player is ready. On changing of orientation while the device is rotating white view is displayed behind the player. Any way to correct this?
What I tried so far is:
1. Changing the background colour from IB
.
2. Changing the background colour from the code in viewDidLoad
3. Adding "theme" : "dark" as AnyObject
in playerVars
.