My website features multiple user-submitted videos with different content, resulting in varying frame widths and heights.
For instance:
(Video 1) - Frame width: 1280.
(Video 2) - Frame width: 480. Frame height: 360.
The issue arises when a video with a different frame height is utilized, causing the HTML5 video itself to adjust its height accordingly. This results in some videos appearing smaller or larger than others, which is not the desired outcome. I aim for all videos to maintain a consistent size regardless of their frame height.
I would like my videos to be displayed similar to YouTube's standard of uniform width and height for all videos.
To provide more clarity on my concern, I have included a link to the html file below: .
Please note that despite numerous attempts such as modifying CSS code and experimenting with third-party applications, I have yet to achieve the desired result.
Thank you for your assistance.