Can i modify an input element in an iframe to pick a image from my camera?


#1

I’ve in my website a image cropper implemented and that cropper add a photo from an input element.

I’m accesing through an iframe to my website and when i choose a file from the input i only can use the gallery to add the photo:

<input type="file" class="sr-only" id="inputImage" name="file1" accept="image/*">

I can use Jquery with the iframe, and i tried to do accept=image/capture=camera but it doesn’t works… It’s something related to the permissions or i have to change that input by my own? I have access to my camera using the cordova plugin

Thanks