You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: