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

Known issue? (sound starting after green flag) #189

Open
sfederici opened this issue Mar 4, 2024 · 1 comment
Open

Known issue? (sound starting after green flag) #189

sfederici opened this issue Mar 4, 2024 · 1 comment

Comments

@sfederici
Copy link

Is the fact that, even if the project starts immediately after translation, the sounds starts only after the green flag button has been pressed a known issue?

@adroitwhiz
Copy link
Collaborator

Yes it is, IIRC. The issue is that the Web Audio API only lets you start an AudioContext after a user interaction on the page has occurred. This is to prevent sites from auto-playing audio without any user interaction.

Does this issue only happen if starting the project immediately without any page interactions, or does it also occur after interacting with the page in some way but before the project viewer is appended to that same page? The former is unfixable due to the intentional design of the Web Audio API; the latter may be worth looking into.

@PullJosh PullJosh changed the title Knwon issue? (sound starting after green flag) Known issue? (sound starting after green flag) Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants