html5调用手机相机

只须要这么一条简单的代码,在手机浏览器点击就能够打开相机了。java <input type="file" accept="image/*" capture="camera"> capture是什么?其实就是对打开方式的设置。浏览器 <!-- capture=camcorder,调用手机摄像功能 --> <input type="file" accept="video/*" capture="ca
相关文章
相关标签/搜索