How do I fix ' speechSynthesis is not defined' | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I fix ' speechSynthesis is not defined'

var msg = new speechSynthesisUtterance(); window.speechSynthesis.speak(msg);

14th Jul 2016, 4:54 PM
Loic Alou
Loic Alou - avatar
2 Answers
+ 2
Which browser (and version) are you using? The web speech API is experimental and is not supported by all browsers, Internet Explorer notably.
7th Sep 2016, 9:01 AM
Zen
Zen - avatar
+ 1
I'm using chrome dev 53.
7th Sep 2016, 8:02 PM
Loic Alou
Loic Alou - avatar