实现移动端H5页面调用摄像头
时间:2019-03-25 15:01:08
收藏:0
阅读:571
<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">
调用的是手机的默认相机
原文:https://www.cnblogs.com/Chestnut-LYN/p/10593661.html
评论(0)