标签:
<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" />
标签:
原文地址:http://www.cnblogs.com/zhunandw/p/4845903.html