I am building a site where users are able to capture pictures and video using their mobile phones. Everything works well in HTML5 and some javascript. But I would like to limit the max length of the videos without the users having to capture the video first, and after receiving a warning that the video is too long. This is the current video upload form I am using with success.
<input type="file" accept="image/*;capture=camera" id="FileUpload" name="FileUpload" capture="capture">
Anyone with a solution/hack that would make the capture of the video automatically stop if it reaches more than 10 seconds?
As usual, thanks for the wisdom.