Hello, I just put a youtube video in a blog post but it stretches the width of the post and doesn’t look super great – is there a way to make the video more of a normal size - i.e. 500x300 ?
Thanks,
Victor
Hello, I just put a youtube video in a blog post but it stretches the width of the post and doesn’t look super great – is there a way to make the video more of a normal size - i.e. 500x300 ?
Thanks,
Victor
Hi Victor,
You can add an inline style to your iframe to set width and height.
Please replace your embed code to this
<iframe style="width:500px;height:281px;" src="https://www.youtube.com/embed/7STkc7ICUQE?feature=oembed&wmode=transparent" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="" wmode="Opaque"></iframe>
Hope that helps
Hello, Thanks, works great
Blessings, Victor
You’re most welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.