diff --git a/js/electron.js b/js/electron.js index fc6ab98e..21d8be8a 100644 --- a/js/electron.js +++ b/js/electron.js @@ -17,6 +17,7 @@ const BrowserWindow = electron.BrowserWindow; let mainWindow; function createWindow() { + app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); var electronOptionsDefaults = { width: 800, height: 600,