From dc60e3b43d3728fb076be05ad583a0c93870d0bb Mon Sep 17 00:00:00 2001 From: TheGoddessInari Date: Thu, 21 Mar 2019 14:48:27 -0700 Subject: [PATCH] Change AutoPlay policy to be what the user expects until the webapps catch up. --- electron/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/main.js b/electron/main.js index 476dd8f4..a1916386 100644 --- a/electron/main.js +++ b/electron/main.js @@ -47,6 +47,8 @@ const config = new Config({ } }); +app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); + // Fix issues with HiDPI scaling on Windows platform if (config.get('enable_hidpi_support') && (process.platform === 'win32')) { app.commandLine.appendSwitch('high-dpi-support', 'true');