Closed stormychel closed 11 months ago
Hi @stormychel,
Thanks for opening up an issue. As the bug occurred on an unofficially released version of macOS, I will try to reproduce the problem as soon as the official version of macOS Sonoma is released.
Hello @SvenTiigi,
It's an RC, out since September 12th so I don't expect them to change anything before release on September 26th. Let me know if you need any more info on steps to reproduce or if I can help in any other way.
Hi @stormychel,
I have just tested YouTubePlayerKit on macOS 14.0 (Sonoma) and wasn't able to reproduce your issue. Could you please provide a minimal example project where the issue can be easily reproduced?
Hello @SvenTiigi thanks for following up and sorry for the late reply.
Here's a quick example: YouTubePlayerKitTest: https://github.com/stormychel/YouTubePlayerKitTest
edit: Ok I am confused now, I forgot to enable outgoing connections in the YouTubePlayerKitTest, after doing so everything is working, BUT in my real application outgoing connections is enabled as well, but I get the same error. Any clue would be greatly appreciated...
As the YouTubePlayer.Error.webContentProcessDidTerminate
is derived from the WKNavigationDelegate callback function webViewWebContentProcessDidTerminate it might be a good idea to use the Console.app to inspect the underlying WebKit logs 🤔
Thanks Sven, will start there!
What happened?
White or black screen and no video playing, no sound either. Could extract error from YouTubePlayerView state: webContentProcessDidTerminate
What are the steps to reproduce?
SwiftUI:
YouTubePlayerView(URL)
What is the expected behavior?
Show video instead of white or black screen.