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

Safari autoplay policy prevents sound from drag input #179

Open
jessegreenberg opened this issue May 10, 2023 · 2 comments
Open

Safari autoplay policy prevents sound from drag input #179

jessegreenberg opened this issue May 10, 2023 · 2 comments

Comments

@jessegreenberg
Copy link
Contributor

From phetsims/quadrilateral#429, it was discovered that starting in iOS 16, sounds do not play from drag and drop. You have to tap the screen (like a single button press). @jbphet investigated this issue and identified it is related to the autoplay policy. See phetsims/quadrilateral#429 (comment) for a good description of the issue.

Maybe some iteration this can be investigated with extra common code work. As suggested in phetsims/quadrilateral#429 (comment), that might include a bug report to Apple.

@jessegreenberg jessegreenberg changed the title Autoplay policy doesn't start sound from drag input Safari autoplay policy prevents sound from drag input May 10, 2023
@Nancy-Salpepi
Copy link

Noting that this is still an issue in iOS 18.

@jessegreenberg
Copy link
Contributor Author

Bummer, it would be good to submit a webkit bug report for this.

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