SvenTiigi / YouTubePlayerKit

A Swift Package to easily play YouTube videos 📺
https://sventiigi.github.io/YouTubePlayerKit/
MIT License
683 stars 61 forks source link

Support Parental Control #104

Open kiddosai opened 1 week ago

kiddosai commented 1 week ago

Is your feature request related to a problem?

When parental control is enabled on device, YouTubePlayerKit remains stuck in progress.

What solution would you like?

At the minimum it would be great if it can catch the following error and propagate up to the API client: 0x158c23e18 - [pageProxyID=15, webPageID=16, PID=1373] WebPageProxy::didFailProvisionalLoadForFrame: frameID=20, isMainFrame=0, domain=WebKitErrorDomain, code=105, isMainFrame=0, willInternallyHandleFailure=0

An ideal solution would be to make it work with parental control. Enabling youtube.com does not seem to be sufficient...

What alternatives have you considered?

I have not found a workaround

Any additional context?

No response