从浏览器访问相机 [英] Access from the Browser to Camera
本文介绍了从浏览器访问相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个关于从浏览器访问相机的问题.(Android 和 iOS 浏览器)
I have one question about access to the camera from the browser. (Android and iOS browser)
Google 和 Apple 于 1 年前宣布,从浏览器到相机的访问应该很快就会可用.
Google and Apple announced 1 year ago, that the access from the browser to the camera should be available soon.
我需要此功能用于移动 Web 应用程序.
I need this function for a mobile Web Application.
此功能现在可用吗?
推荐答案
尝试以下操作:
<html>
<body>
<form>
<input type="file" accept="image/*;capture=camera"/>
<input type="submit"/>
</form>
</body>
</html>
这篇关于从浏览器访问相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文