从浏览器访问摄像头 [英] Access camera from a browser
本文介绍了从浏览器访问摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以从浏览器访问摄像头(内置在苹果上)?
Is it possible to access the camera (built-in on Apples) from a browser?
最佳解决方案是客户端javascript。寻找避免使用Java或Flash。
Optimal solution would be client-side javascript. Looking to avoid using Java or Flash.
推荐答案
HTML5规范允许访问网络摄像机,但最后我检查,从定稿,并有非常,非常少的浏览器支持。
The HTML5 spec does allow accessing the webcamera, but last I checked, it is far from finalized, and has very, very little browser support.
这是一个指向您的链接:
http://www.html5rocks.com/en/tutorials/getusermedia/intro/
This is a link to get you started: http://www.html5rocks.com/en/tutorials/getusermedia/intro/
您可能需要使用Flash
You'll probably have to use flash if you want it to work cross-browser.
这篇关于从浏览器访问摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文