2018-10-22
Testing Input Media Capture
Normal file input triggers a select action sheet for use to choose the media source from either camera or photo album.
We can directly trigger camera UI without the select by using the capture="camera"
:
<label>
File with capture
<input id="take-picture" type="file" accept="image/*" capture="camera" >
</label>