Tips & Tricks: How to Post a Video on Your Blog?

It seems many people are still struggling on how to post a video to their blog.

It is really simple, actually. If an HTML/RSS/CSS-challenged person like me can do this, then so can you!

If you have a video on your computer you would want to publish, the first thing you need to do is to upload it to a video sharing site. I use YouTube. Registration is for free, and the reliability is good.

If you want to publish your video, or any other video from YouTube (or an other video sharing site), you need to look for something which is labeled as "Embedded Code". It is a line of code which looks like this:

<object height="355" width="425"><param name="movie" value="http://www.youtube.com/v/xt9dCRc5l_Q&amp;rel=1"><param name="wmode" value="transparent"><embed src="http://www.youtube.com/v/xt9dCRc5l_Q&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

This is a lot of cryptic stuff, but don't worry about that: You copy and paste this code into your blog's post. Make sure you are in HTML-editing mode, otherwise you will get garbage.

You can reduce the size of the video-window by editing the two parameters
width="425" height="355".
Make sure you reduce both width and height proportionally (divide by the same amount), otherwise the video will be stretched in one direction, and will look distorted.

To make it look nice, you can put the video code between the HTML tags <center> </center> to center the window on your blog.

Here is the video whose code you find above:




Here is the same video with height and width reduced by 50%:




More blogging tips and tricks you find here.

0 comments:

Post a Comment

To avoid spamming and profanity, comments will only show up after I (manually) clear them.

Kind people supporting The Road to the Horizon:
Find out how you can sponsor The Road

  © Blogger template The Business Templates by Ourblogtemplates.com 2008

Back to TOP