实现移动端H5页面调用摄像头
- 实现移动端H5页面调用摄像头 推荐度:
- 相关推荐
实现移动端H5页面调用摄像头
<h3>image图片</h3> <input type="file" accept="image/*" capture="camera"><h3>image图片 – 多选</h3> <input type="file" accept="image/*" multiple><h3>image图片 - 前置摄像头调用</h3> <input type="file" accept="image/*" capture="user"><h3>video视频</h3> <input type="file" accept="video/*" capture="camcorder"><h3>audio音频</h3> <input type="file" accept="audio/*" capture="microphone">
调用的是手机的默认相机
转载于:.html