首页 > 移动平台 > 详细

实现移动端H5页面调用摄像头

时间:2019-03-25 15:01:08      阅读:569      评论:0      收藏:0      [点我收藏+]
<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">

调用的是手机的默认相机

 

实现移动端H5页面调用摄像头

原文:https://www.cnblogs.com/Chestnut-LYN/p/10593661.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!