I already have some PHP code that I browse for files, then click SAVE and it uploads them to the website. Right now for images, it just shows the images on the front of the website. But I want to upload videos and give someone a short preview of the video. I need some code that can create a sample preview from a video that has been uploaded already. I don't know if this can be done in PHP, I would prefer that. However I might be open to other languages.