From 52f58f568e2833b615a92ada1ad1ad75ee1cea8d Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 8 Feb 2026 16:15:48 +0100 Subject: [PATCH] wkwebview: set none for mediaTypesRequiringUserActionForPlayback Signed-off-by: falkTX --- distrho/extra/WebViewImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/distrho/extra/WebViewImpl.cpp b/distrho/extra/WebViewImpl.cpp index 136375a9..6c006489 100644 --- a/distrho/extra/WebViewImpl.cpp +++ b/distrho/extra/WebViewImpl.cpp @@ -452,6 +452,7 @@ WebViewHandle webViewCreate(const char* const url, WKWebViewConfiguration* const config = [[WKWebViewConfiguration alloc] init]; config.limitsNavigationsToAppBoundDomains = false; + config.mediaTypesRequiringUserActionForPlayback = WKAudiovisualMediaTypeNone; config.preferences = prefs; const CGRect rect = CGRectMake(options.offset.x / scaleFactor,