Handling Video Compatibility in Forums

Fantastic idea!

We have already had multiple requests from users in our community regarding if/how they can upload videos. But as long as there is no granular way of implementing limitations (duration limit, compression, downscaling, lazyload in cooked etc.), we can’t open that can of worms.

Our use case would be mostly: mobile portrait mode short videos (mostly 5-15sec, maybe 1min as max duration)

One question: Would it be feasible to utilize some specialized video hosting cloud storage which takes care of transcoding, compression, and returning a properly optimized embed container to add to a cooked post?

That way, any kind of optimization could be handled server-side by the cloud server right after upload instead of having it handled by Discourse?