Swift-YouTube-Player
Swift-YouTube-Player copied to clipboard
Player loading and device orientation change animation - white screen behind the player view
When the YouTubePlayer is being rotated there is white screen showing behind the view. When the player view is being loaded - white screen is also showing. Changing the background colour doesn't help. I also tried changing the theme to dark.
hi. Change your html
using this:<head>
<style>
* { margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }
</style>
<body style="background-color:black;">
</head>