javascript - Speech recognition in browsers other than Chrome? - Stack Overflow

How can I access a microphone using JavaScript or HTML5 without using Flash? I made it work in Chrome u

How can I access a microphone using JavaScript or HTML5 without using Flash? I made it work in Chrome using webkit-speech. I need to do it in other browsers. Any answers will be appreciated.

How can I access a microphone using JavaScript or HTML5 without using Flash? I made it work in Chrome using webkit-speech. I need to do it in other browsers. Any answers will be appreciated.

Share Improve this question edited Jul 7, 2012 at 5:07 Colin Brock 21.6k9 gold badges49 silver badges62 bronze badges asked Jul 7, 2012 at 4:54 NattoNatto 2231 gold badge4 silver badges18 bronze badges
Add a ment  | 

4 Answers 4

Reset to default 1

This is a feature proposed by Google, and appears to only be supported in their products.

See: https://stackoverflow./a/6619632/1504847

Check out this tutorial. It may help you. http://www.html5rocks./en/tutorials/getusermedia/intro/

At this point, it only expands your options to opera however... For Firefox and IE (along with others like Midori, ect) you will still need to rely on plugins.... Hopefully as HTML5 gets closer to being an official standard, we will see widespread support.

  • x-webkit-speech works only for Chrome
  • there is a html5 attribute with the same purpose: speech.
    However right now it doesn't work neither on Chrome 31.xx neither on Firefox 25

This is w3c doc page for the <input> attribute speech

Look at this project: https://github./TalAter/annyang

It is quite good SpeechRecognition library. You can see how it was done.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745671318a4639419.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信