Remove black border of a video using Video.Js

Hello,

I’m having Video.Js playing a short video on loop for my headline background, it works great on desktop, but on mobile, the video keeps its ratio and shrink, leaving a black border on top and bottom. I want the video to keep its desktop size and just zoom in if the page width gets smaller. Does anyone know how to do this?

somewhat solved by making the video extra large and making it fixed width.
I don’t know if this is considered a good practice, but at least it works for now

1 Like