How to Embed YouTube Videos to Your Blog or Website
Do you want to embed YouTube videos to your website/blog?
It’s easy to embed YouTube videos to your website/blog using either iframe or HTML object tag.
Follow below mentioned steps to embed YouTube videos to your website/blog.
Step-1: Open YouTube website and find the video you want to embed.
Step-2: Click on “Share” button below the video.
Step-3: Click on the “Embed” button next to “Share the video”.
Step-4: Copy the “iframe” code and paste it into your HTML page of your website/blog.
Example with iframe:
Here I have taken sample video of IT Blogger Tips.
<iframe width="420" height="315" src="http://www.youtube.com/embed/olB0XmMQRbU" frameborder="0" allowfullscreen></iframe>
Example with Object tag:
<object data="http://www.youtube.com/embed/olB0XmMQRbU" width="560" height="315" frameborder="0"></object>
Live example of this video is below.
Comment below if you know some other options to embed the video in HTML page.
Don’t forget to share if you liked this post.
Get Free Blogging Tips & Technology updates in your Email !!!
Latest posts by Anil Kumar (see all)
- Top 3 Custom Sidebar WordPress Plugins for Post & Pages - October 17, 2015
- Bluehost Coupon Codes Up To 75% OFF – August 2015 - August 25, 2015
- Make Money Online: $50-$100 Daily with Affiliate Marketing - August 10, 2015