tom-s / speak-tts

76 stars 19 forks source link

Why is it throwing ""An error occured while initializing : " Error in mobile when we open it for the first time in mobile #27

Closed Nayyaroddeen closed 3 years ago

Nayyaroddeen commented 3 years ago

https://codesandbox.io/s/festive-fog-ljnjk?file=/src/index.js

Mobile Browser: Chrome

Nayyaroddeen commented 3 years ago

What is the fix for it?

tom-s commented 3 years ago

Could you remove the voice from the config (line 2), run it, and check in the select menu that the voice is actually available ? On my mobile it's not whereas it is on my desktop. There is probably only one voice available on mobile anyway so you might as well just get rid of the voice param.

tom-s commented 3 years ago

I'm closing this issue.