mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Disallow automatic playback for all media types.
This commit is contained in:
parent
565b3ac2c3
commit
d90e59439d
@ -98,6 +98,7 @@ final class DetailWebViewController: NSViewController {
|
||||
configuration.preferences = preferences
|
||||
configuration.defaultWebpagePreferences.allowsContentJavaScript = AppDefaults.shared.isArticleContentJavascriptEnabled
|
||||
configuration.setURLSchemeHandler(detailIconSchemeHandler, forURLScheme: ArticleRenderer.imageIconScheme)
|
||||
configuration.mediaTypesRequiringUserActionForPlayback = .all
|
||||
|
||||
let userContentController = WKUserContentController()
|
||||
userContentController.add(self, name: MessageName.windowDidScroll)
|
||||
|
Loading…
Reference in New Issue
Block a user