Thursday, 3 July 2014

HTML YouTube Videos !!


If you want to share your YouTube Videos in your Web or Blog, two way you share your video on your website.
First way share your YouTube Videos with Iframe.
1. Open your YouTube Video and click "Share" Button
2. Now click "Embed" Button
3. Copy the code and paste it on your website.

Example:
<iframe width="560" height="315" src="//www.youtube.com/embed/CIYxWMAtBig" frameborder="0" allowfullscreen></iframe>

Output:

Second way share your YouTube Videos Embedded.

Example:
<embed width="420" height="345" src="//www.youtube.com/embed/CIYxWMAtBig" type="application/x-shockwave-flash">

No comments:

Post a Comment