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 Verma (see all)
- BlueHost Affiliate Program – Earn $65 Per Referral - August 2, 2015
- WP Engine Affiliate Program – Earn $200 Per Referral - August 1, 2015
- How to fill out BlueHost Affiliate Tax form for Non-US Residents - June 20, 2015