Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speech recognition with x-webkit-speech does not work in Chrome

I am trying voice recognition using x-webkit-speech,i have also checked it is supported in my chrome browser , but it is giving error connection to speech server failed.

like image 245
monish Avatar asked May 27 '14 10:05

monish


People also ask

Does Windows speech recognition work in Chrome?

Speech Recognition Anywhere expands the capabilities of the Web Speech API in both Chrome and Edge, in order to allow users to control the Internet or to fill out documents and forms using their voice. A user can use simple voice commands to go to websites or to click on buttons and links.

What is X Webkit speech?

x-webkit-speech: Add Mic Speech Input Icon in a Text Input Box.

How do you do voice input in HTML?

You can also start speech input by focussing the element and pressing Ctrl + Shift + . on Windows, or Command + Shift + .


1 Answers

The x-webkit-speech input field attribute is deprecated. Please use the JavaScript API instead.

There is a JavaScript SpeechRecognition API that does text-to-speech and speech-to-text. Not many browsers support it but Chrome should have support.

For your reference Github project for this purpose: https://github.com/Daniel-Hug/speech-input

like image 121
virsha Avatar answered Sep 29 '22 21:09

virsha