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

Implement capture attribute for input elements #9

Open
macdonst opened this issue Feb 15, 2017 · 6 comments
Open

Implement capture attribute for input elements #9

macdonst opened this issue Feb 15, 2017 · 6 comments

Comments

@macdonst
Copy link
Member

Make sure we can use the capture attribute to get audio, image or video data.

This could replace:

Also, want to see how getUserMedia/Stream influences this.

@macdonst
Copy link
Member Author

We've created a new plugin at: https://github.com/phonegap/phonegap-plugin-media-stream

That enables users to use getUserMedia on Android. For iOS it is more difficult but we've implemented the JS side of things so users can request a media stream and pass it to the Image Capture API.

@awebdeveloper
Copy link

This would be really awesome. If you can get capture working on android(using capture to open camera)

@macdonst
Copy link
Member Author

macdonst commented Nov 9, 2017

@awebdeveloper
Copy link

yup, but nothing beats <input type="file" capture ........> when i want to support upload + capture scenario

@HarelM
Copy link

HarelM commented Sep 16, 2018

@awebdeveloper Did you find something that can handle <input type="file" capture ........> for cordova?

@awebdeveloper
Copy link

apparently android doesn't support it. search on Cordova's jira you will find someone who has a fork that supports it

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

No branches or pull requests

3 participants