You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some debugging on my side it seems like some "behind the scenes" SwiftUI rendering process stops the WKWebView rendering runtime 🤔
But as of for now I couldn't find any exact reason.
The YouTube iFrame API is correctly loaded and the JavaScript from the YouTube API updates the DOM in the correct way without any errors printed in the JavaScript console.
Additionally, even the didFinish WKNavigationDelegate function is invoked telling that everything was loaded correctly.
When applying a navigationViewStyle modifier with a StackNavigationViewStyle the YouTubePlayers are all shown correctly.
Thanks for looking into this! Another work-around (that works for my application) is to remove portrait and upside-down portrait from the permitted orientations of the app.)
YouTubePlayerKit Environment
What did you do?
What did you expect to happen?
Expected to see the WWDC videos
What happened instead?
Heard audio, but the video and most video thumbnailss were blank.
The text was updated successfully, but these errors were encountered: