Swift-YouTube-Player icon indicating copy to clipboard operation
Swift-YouTube-Player copied to clipboard

Player loading and device orientation change animation - white screen behind the player view

Open sg1-flash opened this issue 6 years ago • 1 comments

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.

sg1-flash avatar May 02 '18 07:05 sg1-flash

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>

Pxeba avatar Sep 25 '18 20:09 Pxeba