web-speech-ai icon indicating copy to clipboard operation
web-speech-ai copied to clipboard

TypeError: SpeechRecognition is not a constructor

Open gangasiddhi opened this issue 7 years ago • 2 comments

gangasiddhi avatar Feb 09 '18 15:02 gangasiddhi

@gangasiddhi speech recognition is only supported by Google Chrome. So it will not work on any other browser

saitejach1998 avatar Sep 03 '18 15:09 saitejach1998

Found a solution, let the variable constructor be "webkitSpeechRecognition" only. This is because Google actually uses this constructor with a prefix "webkit". Try it out. As I understood, SpeechRecognition constructor is not working anymore, so go for prefix version. Cheers.

vonderklaas avatar Aug 08 '19 08:08 vonderklaas