mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Allow fullscreen video
This commit is contained in:
@@ -83,6 +83,9 @@ final class DetailWebViewController: NSViewController {
|
||||
let preferences = WKPreferences()
|
||||
preferences.minimumFontSize = 12.0
|
||||
preferences.javaScriptCanOpenWindowsAutomatically = false
|
||||
if #available(macOS 12.3, *) {
|
||||
preferences.isElementFullscreenEnabled = true
|
||||
}
|
||||
|
||||
let webpagePrefs = WKWebpagePreferences()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user