HTML 5 - Camera access from browser on iPad

Warm hello to the community!


I am trying to launch iPad native camera from a link on my webpage and capture the file for upload. I am able to use <input type="file"> and launch the upload dialog, but intent is to have a 'Click Photo' button on my webpage that can launch the iPad camera from the browser.


*Note: I tried the

<input type="file" accept="image/">

but no luck!


Any pointers on how to achieve this with pure HTML5/javascript code (or something similar like plugins/browser extension) would be of real help.


Thank you.

- Sampath

try:
<input type='file' accept='image/*'>
HTML 5 - Camera access from browser on iPad
 
 
Q