To keep up with the trend, today I used the private attribute X-WebKit-speech of WebKit browser to implement the voice input method. It feels pretty good. It's cool to say!
Other property settings:
1. Set the language Lang
2. Voice Input events. onwebkitspeechchange is triggered when the voice is changed.
3. Voice Input syntax. The "builtin: Search" value makes the voice input content as close as possible to the search content, removing unnecessary characters X-WebKit-Grammar
I personally think that it doesn't make sense to use it if it is not compatible with all browsers (mainstream. In fact, if a new technology is useful to users, it will be supported in other browsers sooner or later. The significance of our webmaster's use of this technology is to make more netizens feel that this new technology brings a good experience.
Address: http://www.qianduanzu.com/201203289-2.html