<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" />
时间: 2024-10-29 02:54:39