Responsive Youtube video

Hi, I’m quite new to web development and I create a site using WordPress. Most of my content looks good on mobile, but the youtube videos I put on my posts like this one: https://www.cursosodonto3d.com/software/como-invertir-en-un-sistema-cad-cam-odontologia-digital/

For some reason on the pages, it looks just fine. How can I make the embedded video responsive?. I’m using a Divi theme by the way. Thanks in advance.
JG.

Youtube video looks fine but you can try YouTube by EmbedPlus plugins.

Your post is a little confusing as that Video in that link is indeed responsive!

Or was that a link to some other site that is not yours?

We’d need to see the video on your page and in the way that you have embedded it. The video on the link you showed has a responsive method using the padding-top approach to create an intrinsic aspect ratio.

<div class="fluid-width-video-wrapper" style="padding-top: 56.25%;">

Just inspect in devtools to see the css applied to the iframe itself.

You lost me there I’m afraid :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.