我正在尝试在iOS上访问麦克风以捕获用户输入。
<input type="file" accept="audio/*;capture=microphone">
但是每当我点击它时,我会看到选项(拍照或录像、照片库)
我如何仅访问麦克风?
<input type="file" accept="audio/*;capture=microphone">
但是每当我点击它时,我会看到选项(拍照或录像、照片库)
我如何仅访问麦克风?
截至IOS 8.3,Safari不支持此功能。
<input type="file" name="video" accept="audio/*" capture>
。请参阅HTML媒体捕获的正确语法。 - octavn