Because of the AutoPlay policy changes the AudioContext is in suspended state by default (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes). It can be resumed after a user interaction. That's what my fix is doing, its resuming the AudioContext after the user is clicking on the Start Demo button.
[x] I have linted my code using npm run lint:css -- demoDirectoryName/**/*.css and npm run lint:js -- demoDirectoryName/**/*.js, and have fixed the errors.
@molant
What this PR does
Because of the AutoPlay policy changes the AudioContext is in suspended state by default (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes). It can be resumed after a user interaction. That's what my fix is doing, its resuming the AudioContext after the user is clicking on the Start Demo button.
Requirements
.github/ACCESSIBILITY_REQS.md
)..github/CSS_STYLE_REQS.md
).npm run lint:css -- demoDirectoryName/**/*.css
andnpm run lint:js -- demoDirectoryName/**/*.js
, and have fixed the errors.