Wednesday, September 16, 2009

Video in Blogspot


In this post, we will discuss about how to embed a video in a posting/sidebar/header/footer.

HTML 5 introduced a new tag, <embed>. This tag can be used to embed any music/video or plug-in.
As Blogger does not support the storage of music/video file, we need to give its reference in the <embed> tag.




Most of the video sites provides a link to embed a video to your page. Just copy-paste that link to Post-Edit HTML or in a HTML/JavaScript Gadget for sidebar/footer/header.

You can customize some settings directly from the hosting sites or a bit of html knowledge will help you to change size, use a boder etc.
For your reference I am giving the html code, which I copied from youtube.


<object width="500" height="405">
<param name="movie" value="http://www.youtube.com/v/sU4RcVdJ64o&hl=en&fs=1&border=1">
</param>
<param name="allowFullScreen" value="true">
</param>
<param name="allowscriptaccess" value="always">
</param>
<embed src="http://www.youtube.com/v/sU4RcVdJ64o&hl=en&fs=1&border=1" type="application/x-shockwave-flash"allowscriptaccess="always" allowfullscreen="true" width="500" height="405">
</embed>
</object>

Now publish your favourite video and impress your visitors. :-)


BlueOcean


For Further Reading,
video

0 comments:

Post a Comment

 

Popular Posts

Popular Posts On EAB

Demo Donation
This demonstration will accept a fixed amount of $0.05.

Man Behind This Blog

My Blogs