are you using WordPress platform for your blog, then good. you can customize and add extra functions with plugins as you like.are you searching a solution to embed youtube videos in WordPress posts, then this article helps you.
before going to this how-to guide, I will explain the benefits by adding youtube videos in your posts.
follow the below steps to embed your youtube video in the WordPress blog posts step by step
copy your youtube video URL, and extract the video id from this.
for example, in the video URL https://www.youtube.com/watch?v=jaN7mDMMdCg, jaN7mDMMdCg is the id of the video.
now copy the below code
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/vCIs2MiVLVg” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
in your WordPress editor, change to HTML mode from the visual mode
paste the above iframe code where you want to insert the video.
replace the video id with your youtube video id.
you can edit width and height in the code as you want.
ya, you successfully embed your youtube video on the WordPress blog post.
I hope this article on how to embed youtube videos in WordPress Posts will help you.
if you love this guide, don’t forget to share with your friends.
if you enjoyed this article, share it with your friends