Fix YouTube fullscreen on iOS devices

This commit is contained in:
Maurice Parker committed 2023-04-13 15:59:36 -05:00
1 parent f21cd774db
commit eefd5d79da
6 files changed
+95 -12

No files matched your search

+1
View File
@@ -545,6 +545,7 @@ private extension WebViewController {
webView.configuration.userContentController.add(WrapperScriptMessageHandler(self), name: MessageName.imageWasClicked)
webView.configuration.userContentController.add(WrapperScriptMessageHandler(self), name: MessageName.imageWasShown)
webView.configuration.userContentController.add(WrapperScriptMessageHandler(self), name: MessageName.showFeedInspector)
webView.configuration.userContentController.addUserScript(forResource: "inject", withExtension: "js")
self.renderPage(webView)