Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow audio to play even when not initiated with a user's gesture #179204

Merged
merged 10 commits into from
Apr 5, 2023
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ function configureCommandlineSwitchesSync(cliArgs) {

// Read argv config
const argvConfig = readArgvConfigSync();
app.commandLine.appendSwitch('--autoplay-policy', 'no-user-gesture-required');
meganrogge marked this conversation as resolved.
Show resolved Hide resolved

meganrogge marked this conversation as resolved.
Show resolved Hide resolved
Object.keys(argvConfig).forEach(argvKey => {
const argvValue = argvConfig[argvKey];
Expand Down