<input type="file" accept="video/*";capture="camcorder"> <input type="file" accept="audio/*";capture="microphone">
这个可以获取摄像头和相册
<input type="file" accept="video/*";capture="camcorder"> <input type="file" accept="audio/*";capture="microphone">
这个可以获取摄像头和相册
转载于:https://www.cnblogs.com/zccfun/p/6054418.html