-
Notifications
You must be signed in to change notification settings - Fork 93
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
Handle Chrome audio autoplay policy change #110
Comments
Some initial findings:
I can think of two ways to proceed:
|
Curious about your thoughts on this @paulkaplan |
Thanks for the thorough investigation! It is kind of funny because using the when "timer > 0 => play sound" construction is totally the scratch equivalent of autoplaying videos, so it makes sense that it would get blocked. I'm curious about which scratch2 views actually play audio with no user interaction. The project page has the green flag overlay that starts the VM, so it wouldn't effect the project there, which is probably our main concern. The places that do rely on autoplay right now are:
|
We are going with the "no fix" option for now, but leaving this in the backlog. We are considering removing the autoplay option from embed mode. |
For later discussion, I think it would be better to stay away from removing autoplay. It could still be a useful option on sites that, for example, specifically embed the player so that it's "flush" with the rest of the site's design; having to click the no-autoplay overlay green flag could clash with that. |
We're currently getting this console warning:
The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check that your website is compatible with it.
The documentation here suggests that the change in fact will occur in December.
The text was updated successfully, but these errors were encountered: