4 ms·
Note that this uses the JavaScript MediaDevices API to stream the camera, which is different from OP's link (which is a file picker input that launches the mobi
by cyral 4y ago
Note that this uses the JavaScript MediaDevices API to stream the camera, which is different from OP's link (which is a file picker input that launches the mobile camera instead of going to the photo gallery)
- lelandfe 4y agoHowever, ‘filter: invert(1)’ on top of the OP’s approach should do the same. https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/invert https://developer.mozilla.org/en-US/docs/Web/CSS/filter-func...
- anamexis 4y agoOP's approach doesn't display the camera image on-page at all.