Check video length before uploading ? WebFileUploader

Hello everyone,
Is it possible to check the duration of a video before uploading or saving it to disk?
Thank you