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
great library, but alas still an issue when running in Safari Version 15.4 (17613.1.17.1.13) on MacOS Monterey 12.3.1 (Apple silicon)
javascript console error:
Unhandled Promise Rejection: TypeError: t.addEventListener is not a function. (In 't.addEventListener("voiceschanged",()=>{t.getVoices().length>0&&n()})', 't.addEventListener' is undefined)
can reproduce it easily when navigating to the online demo site: will not enumerate the voices as a result
The text was updated successfully, but these errors were encountered:
By the way, Safari ver.15.1 (17612.2.9.1.20) doesn't have this problem.
I'm not sure whether Safari ver.15.2 and ver.15.3 also have this problem or not.
But, on Safari ver.15.4, the getVoices() method of Speech Synthesis API always returns an empty list, which is the root reason for this problem.
It looks a bug of Safari for me.
The latest version of this package fixed it by don't matter even if the result of the getVoices() method is empty.
However, that means users can't choose the voice on Safari v.15.4, and actually, I've not tested this package on Safari v.15.4.
If you try it out, could you tell me if that worked fine or not?
great library, but alas still an issue when running in Safari Version 15.4 (17613.1.17.1.13) on MacOS Monterey 12.3.1 (Apple silicon)
javascript console error:
Unhandled Promise Rejection: TypeError: t.addEventListener is not a function. (In 't.addEventListener("voiceschanged",()=>{t.getVoices().length>0&&n()})', 't.addEventListener' is undefined)
can reproduce it easily when navigating to the online demo site: will not enumerate the voices as a result
The text was updated successfully, but these errors were encountered: