Im trying to use the speechSynthesis API. It's working on desktop browsers and mobile Chrome but not mobile Safari.
const msg = new SpeechSynthesisUtterance("Hello World");
window.speechSynthesis.speak(msg);
I added a little test and it seems the API is supported on Safari, could it be a permissions issue that it's not working?
if ("speechSynthesis" in window) {
alert("yay");
} else {
alert("no");
}