文本框语音输入


<input type="text" x-webkit-speech lang="zh-CN" onwebkitspeechchange="change()" x-webkit-grammar="builtin:search"/>
 onwebkitspeechchange:语音输入时
 x-webkit-grammar 去掉多余的
lang  语音种类


<input type="file"accept="image/*; capture=camera" />
<input type="file"accept="video/*; capture=camcorder" />
<input type="file"accept="audio/*; capture=microphone" />

posted @ 2015-09-29 11:38  小猪~~  阅读(230)  评论(0编辑  收藏  举报