Hi,
I use embedded videos a lot in my website and, I of course embed my videos using the text widget..
But I always get irritated when I see the width of the embedded video change according to the width of the browser while the height of the embedded videos stay exactly the same as before!
I tried many css tricks but they never seem to work with me!
Is there an easy way to link the height of a certain widget or a row with it’s width in order to preserve the aspect ratio of that widget?
Hi Abd-Allah T. Hijazy,
Yes. You should be able to do this by setting the height for that element to auto. Please note that if the video uses an odd aspect ratio that it might not display 100% as desired if this method id taken.
Do you have a public URL where we can take a look at one of the videos so I can write some CSS? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.