实现起来非常简单,为input添加名为 x-webkit-speech 的属性就行了。
可以用Chrome浏览器点击话筒体验一下语音搜索。
试试语言搜索
相关属性设置:
设置语言种类...
阅读全文>>