Hey y'all!
A need came up on my forum recently for users to be able to upload short videos. Now, obviously there are other options out there in the flarum community. But none of them were tailored specifically for video, so I decided to develop my own extension.
Anyway, the beta is now open to testing so have at it. Let me know what you find or what improvements you'd like to see.
A couple of notes.
1) Be sure to have the fof/formatting extension enabled. Otherwise, this extension will just return a url.
2) The default endpoint for imgur is https://api.imgur.com/3/upload. However, I and others have encountered CORS errors in development. So I decided to keep the option open for admins to provide their own endpoint. This allows us to use CORS anywhere as a workaround. Let me know if you experience any issues with the default endpoint.
3) The limitation on video uploads with imgur is 60 seconds or 200MB.
Big thanks to @matteocontrini for his work on the OG imgur uploader. And of course the great @luceos and @clarkwinkelmann
You guys are legends.
composer require ejin/upload-video
https://github.com/johnlewissims/upload-video/
Happy memorial day weekend!