Reply To: Fullscreen Youtube Crash on iPhone

Welcome! Forums Unity Plugins In-App Web Browser Fullscreen Youtube Crash on iPhone Reply To: Fullscreen Youtube Crash on iPhone

#1313
PiotrPiotr
Keymaster

Hi,
I’ve checked it and I am able to reproduce this issue. I see crashes coming from some internal Apple’s player.

I see many folks are reporting the same issue (happening both in app’s internal browser and using player library created by Youtube):
https://github.com/youtube/youtube-ios-player-helper/issues/322

This happens using a UIWebView as well, it’s probably an issue with iOS 12

Also: https://stackoverflow.com/questions/52868555/ios12-play-video-in-webview-crash

Sadly, I have no idea for any workaround for this issue, as it’s strictly related to youtube internals. Somehow iOS 12 breaks their code.

Only thing which comes to my mind is refactoring plugins’ code to use WKWebView instead of UIWebView – but that would require a lot of time. Are you able to help me with it?