Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持 accept="image/*" capture="camera" 打开相机 #46

Closed
zxq9133 opened this issue Jul 5, 2017 · 2 comments
Closed

不支持 accept="image/*" capture="camera" 打开相机 #46

zxq9133 opened this issue Jul 5, 2017 · 2 comments

Comments

@zxq9133
Copy link

zxq9133 commented Jul 5, 2017

大概看了下代码,发现onShowFileChooser 里的 FileChooserParams 也没有capture属性,只有个captureEnabled。这种的不能打开相机的要怎么处理,我看用UC浏览器可以打开,是不是跟浏览器内核有关?

@Justson
Copy link
Owner

Justson commented Jul 22, 2017

非常感谢你的反馈,input 标签 type=file ,打开文件选择器是合适的 , 但是挺多人有打开相机的需求 ,后续可能会加入该功能。

@huanghaobiu
Copy link

这个功能其实挺多的内勤的app或者安全限定的app需要这个功能的,我们现在有个需求就是只能拍照,不能选择图片,安全部门的要求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants