I have included video upload feature in my javascript project. Selecting the video from local storage in the project is uploading, but I want the size of the video file to be compressed and uploaded. My main focus is to upload recorded video from camera and mobile phone which is of very large size. I have used HTML 5 to select the video file.
<input type= "file" id="fileselect" name="uploadvideo" accept=".mp4, .mov, .webm"/>
The size of the video file should be compressed before it is uploaded.