HTML5 时间手机网页调用摄像头、图片及文件代码:

<input type="file" accept="image/*;capture=camera">
<input type="file" accept="video/*;capture=camcorder">
<input type="file" accept="audio/*;capture=microphone">


对HTML5不懂,留着吧。


原文地址:http://www.html5rocks.com/en/tutorials/getusermedia/intro/

问题地址:http://www.oschina.net/question/1024347_127565?sort=default&p=1#answers

版权声明:若无特殊注明,本文皆为( yueshuo )原创,转载请保留文章出处。