x-webkit-speech is deprectated. A JS replacement for simple speech input for <input>?

后端 未结 2 611
有刺的猬
有刺的猬 2020-12-14 18:15

I noticed this warning in Chrome devtool\'s console:

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

相关标签:
2条回答
  • 2020-12-14 18:47

    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.

    0 讨论(0)
  • 2020-12-14 18:52

    Answering my own question:

    Just made a Github project for this purpose: https://github.com/Daniel-Hug/speech-input

    0 讨论(0)
提交回复
热议问题