-
Hi Is there a way to support mobile camera capture to update an image inside element? reading here: https://w3c.github.io/html-media-capture/ Seems it just needs the 'capture' attribute on the input used in mv-popup I tried to do something with a mv-editor="#custom", but I'm re-inventing the wheel, as mavo already manages all uploads, paths etc.. in this mv-popup |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yeah there's no way to do this with current Mavo. But perhaps we could add it by default, I don't see why you may want to not have it. Thoughts, @karger @DmitrySharabin ? |
Beta Was this translation helpful? Give feedback.
-
Has the interface improved? When I was doing this on my web site a few years ago, putting the |
Beta Was this translation helpful? Give feedback.
-
Found a way to do it without modifying mavo including it inside the initial
=> works without Mavo modification By the way, I'm interested to have your feedbacks, to know how it works on different devices |
Beta Was this translation helpful? Give feedback.
Found a way to do it without modifying mavo
codepen here
including it inside the initial
<img>
'accept' attribute like this:accept="image/*;capture=camera"
=> works without Mavo modification
=> in my 'old' phone, under Chrome, proposes me to upload from file, or use camera
=> Compatible with 'cropper' (...except 'cropper' is not mobile friendly at all :( even if I use some kind of scale transformation on mobile)
By the way, I'm interested to have your feedbacks, to know how it works on different devices