Open HyunjoonKo opened 4 years ago
I haven't been able to reproduce this issue. Is this happening to you with a specific video? Can you provide more info to reproduce the issue?
Thank you.
@rcvrgs Hi. I haven't been able to find a path to reproduce that problem. But it happens often. Others than me seem to be experiencing the same phenomenon.
When the player is ready to play and starts playing, sometimes it calls this URL:
https://www.youtube.com/ytscframe
The URL is not registered in the Regex Pattern in
- (BOOL)handleHttpNavigationToUrl:(NSURL *)url
, so the app goes outside. (Youtube app or Safari browser)So, if there is an ytscframe in the path of the URL, you should cancel the loading of WKWebView as follows:
I hope this helped if anyone was having this problem. And we hope that the issue will be fixed in the next release.