The below works on Desktop Chrome/Safari/Firefox, but not on mobile.
Even though on Chrome mobile I have 1) SpeechRecognition working perfectly; 2) SpeechSynthesisUtterance loads correctly, I can check all the attributes, load voices (remote debugging via DevTools) - just the phone wouldn't speak (iPhone Safari and Android Chrome tested).
Also, when I try this demo on mobile, it says my browser supports speech synthesis, I can select from the voices available, but the browser won't speak.
Any ideas what might be going wrong here?
<script>
var u = new SpeechSynthesisUtterance();
u.text = "hello world";
speechSynthesis.speak(u);
</script>