Hello Webflowers,
I’m embedding a YouTube video in a blog article with a custom code (because Webflow Rich Tech Editor is limited, I can’t color specfic words).
I put fixed dimensions to size the iframe, it looks great on desktop but it’s too big on mobile because it’s not responsive of course:
This is the HTML code I put with fixed dimensions
<p style="text-align: center"><iframe width ="500" height ="280" src="https://www.youtube.com/embed/ihPpNHiX3vE?autoplay=1&mute=1&wmode=opaque&rel=0" frameborder="0" allowfullscreen=""></iframe></p>
I tried to use % like width =“30%” height =“30%” but the height keeps being the same.
How can I have a YouTube embedded video in the Blog custom code being mobile responsive please?
This is my read-only link:
https://preview.webflow.com/preview/hovy?utm_medium=preview_link&utm_source=designer&utm_content=hovy&preview=a08ccd20092aa9d68d8fb9daa4ac5d80&pageId=642ad82978fd17a2d0d10ad3&workflow=preview
Thanks a lot