H5 调用相机方法

2018-04-09  本文已影响16人  买买买买菜

<input type="file" accept="video/*;capture=camcorder">

<input type="file" accept="audio/*;capture=microphone">

<input type="file" accept="image/*;capture=camera">直接调用相机(测试安卓可以,iphone还是有相册)

<input type="file" accept="image/*" />调用相机 图片或者相册

<input type="file" multiple accept="image/*" />调用相册

上一篇 下一篇

猜你喜欢

热点阅读