|
i have a cms that i have written myself where for each record the administrator can upload an image file and that image is then resized appropriately using phps image functions and then stored into a directory and that image name is stored in the record (rather than saving the actual image into the record)....all very simple and works fine.
however, if i wanted to do a similar thing with video in a way that a video can be uploaded, optimized if needed and then automatically displayed through the record on a page as needed in a similar way to youtube (a thumbnail shown which u can then click on to play the video).
obviously i realise you can do a simple file upload (although file size limits may cause problems) like you would an image, and then embed it into the page as a video but it would be nice to know if theres anyway to make it a bit more efficient like youtube?
|