HTML Media Capture

Author - Shalini

How to access Camera and upload the image/video to server?

We can achieve above requirements easily by using HTML Media Capture :

<form action="upload.php" method="post" enctype="multipart/form-data">

Capture Image: <input type="file" name="uploadedfile" accept="image/*" capture=”camera”>

 <input type="submit" value="Upload">

</form>

To capture Audio or Video use the following tags :

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

Capture Video: <input id="capture" accept="video/*" type="file" />
Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *