<h1><input type="file" accept="image/*" capture="camera"></h1>
<h1> <input type="file" accept="video/*" capture="camcorder"></h1>
<h1> <input type="file" accept="audio/*" capture="microphone"></h1>
转载于:https://my.oschina.net/u/2330181/blog/905294