In my application, every user is allowed to upload videos. These don't go through my server but the upload to my library happens on the client-side. What I'm wondering is if it is possible to set a maximum duration of a video, so that users cannot upload videos that are too long. Of course, the validation takes place primarily on the client-side, but I believe that a "server-side" lock is also needed. How could I implement such a check?
Post is closed for comments.