Hello, is it possible to configure WebView2 in such a way as to disable the autoplay-policy similarly to how --autoplay-policy=no-user-gesture-required would disable it? I am working on a game and I want the music to begin playing on launch. (The players can disable it in the settings menu.)
I tried adding this to tauri.config.json:
"additionalBrowserArgs": "--autoplay-policy=no-user-gesture-required --disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection"
but it didn't work.
Oh, and in case this is relevant, I'm targeting Windows only.