08-18-2016, 08:46 PM
First thing to understand is that letting users upload files to your site poses an whole extra set of security risks. That said, I haven't allowed people to do videos, but this is what I've used for photos. It's another class you can drop in your classes folder and takes care of all the resizing and stuff like that. It's pretty slick. It will even enhance photos if you want it to...
https://github.com/verot/class.upload.ph.../README.md
https://github.com/verot/class.upload.ph.../README.md