Header Ads

How To Embed & Resize A Youtube Video In Your Blog Post

There are lots of tutorials around that web on how you can easily embed a YouTube video into your WordPress or blogger/blogspot post , but even as simple as it may seem, resizing those videos to your desired width and height isn’t as straight forward as embedding them into your blogpost page.





Youtube Embed and resizing tip

Basically, to embed a Youtube Video, you need to follow the below steps.
1. Right click on the very video you wish to embed from YouTube.
2. Click on Copy Embed code. Click on the Text editing tab in wordpress/blogger post editing page and then paste the copied code.

copy embed code



Note that the embed code should look like this.
<iframe src=”https://www.youtube.com/embed/HmL2l-bcuUQ?feature=player_detailpage” width=”640″ height=”360″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
Now here is the tricky part when you wish to resize the video. Note the codes you have contain the width and height tags as highlighted in blue below.
<iframe src=”https://www.youtube.com/embed/HmL2l-bcuUQ?feature=player_detailpage” width=”640″ height=”360″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
3. You can change those values to whatever sizes you wish before publishing your wordpress or blogger post and that’s it.
I hope you find this little guide useful. Do use the comment box below to let me know if you encountered any hurdles.


No comments:

Powered by Blogger.