Congrats to @anssik for bringing this specification to the last stage w3.org/TR/2018/REC-html-medi… !
HTML Media Capture provides a markup hint (the capture attribute on an <input type=file>) to make a file input gets its content from a camera rather than a filesystem #timetoadopt
This tweet is unavailable
1
6
7
Or in the words of his deservedly proud editor:
Thrilled to announce HTML Media Capture is now a @W3C Recommendation: w3.org/TR/html-media-capture…
Makes image capture on the Web dead easy *and* inherits the strong security and privacy protections of the file picker UX battle-tested for decades.
1
1
It is available mostly on mobile browsers at the moment - Safari iOS and Chrome Android caniuse.com/#feat=html-media… but can be used as a purely progressive enhancement.
HTML Media Capture ships in Safari 10.1+ on iOS 10.3+, Chrome 60+ on Android & degrades gracefully on all desktop browsers. IOW, you can start using this feature now.
1
The work started almost 8 years ago (!) w3.org/standards/history/htm… - some good chunk of it waiting for implementation.
Feb 1, 2018 · 9:49 AM UTC
1
HTML Media Capture aims at making it super easy to build Web-based camera apps. See @tobie 's nicely illustrated description of how it fit in that view github.com/tobie/camera
3
9
1
10
This particular approach delegates all the camera settings and controls (e.g zoom, white balance) to an existing camera application.
1
A complementary API is under development to bring that control to the Web app directly w3c.github.io/mediacapture-i… developed at github.com/w3c/mediacapture-…
That one is available in @googlechrome and in development in @firefox bugzilla.mozilla.org/show_bu…

