XF 2.2 Is there any way to detect whether an uploaded video is in portrait or landscape?


Active member
I want to style these accordingly.
For example this:


Is not ideal, I'd prefer a much larger height (and smaller width) for portrait videos.

Landscape videos on the other hand, can be much wider, height should stay the same.
Top Bottom