Move to a different YouTube library
The YouTube library provided by Google is currently going over two years since its last change, and it has some major problems with iOS 12 on Swift 4.2. Interesting discussion here. We should consider moving to one of the alternatives from that link.
With similar implementation I have ported the Google library into Swift here YoutubePlayerView
I did a lightweight replacement in this PR: https://github.com/ccrama/Slide-iOS/pull/920
It may not be our end goal, but it at least provides a WKWebView and API parity so it can be lived with for longer than the Google official library.
I’m not sure if my change truly averted the suggested issues that @colejd is noting here. The library I replaced it with is just a fork today swapped to WKWebView as far as I’m concerned. I don’t know if it changed much else.
Any thoughts on this still @colejd @PiwwowPants ?