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 needs help if speech is delayed after user interaction #51

Closed
RandyLoeb opened this issue Jun 26, 2022 · 0 comments
Closed

Safari needs help if speech is delayed after user interaction #51

RandyLoeb opened this issue Jun 26, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@RandyLoeb
Copy link

Interesting discovery with Safari, and possibly other browsers on ipad. Seems like if the speech is delayed after the user interaction (i.e. click) the speech won't work.
For example, if the first action is some audio from webaudio api, followed by speech, the speech won't play even if part of the same call stack.
Solution thanks to https://github.com/scp93ch seems to be to quickly play a volume=0 speech before the music or other audio, and this seems to "prime the pump" so later the speech will work. Maybe something to implement direct into your library but either way figured I'd let you know.

@jankapunkt jankapunkt added the documentation Improvements or additions to documentation label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants