Friday, October 27, 2017

Access Camera HTML 5

Access camera and video, the INPUT element with a type of file is necessary:
<input type="file" accept="image/*">
To isolate only a photos as the type to be uploaded, the accept attribute must match the pattern above.
HTML 5 CAPTURE MEDIA DEVICE

<p>Capture Image: <input type="file" accept="image/*" id="capture" capture="camera"> 

<p>Capture Audio: <input type="file" accept="audio/*" id="capture" capture="microphone"> 

<p>Capture Video: <input type="file" accept="video/*" id="capture" capture="camcorder"> 
http://blogsiteslist.com