Follow BlogTips via RSS Get BlogTips updates via Email Follow @SM4NP - Social Media for NonProfit

How to add videos on your blog?

Posted on Apr 15th, 2009 by

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

It is really simple, actually. 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 just copy and paste this code into your blog’s post. Make sure you are in HTML-editing mode when you paste it, otherwise you will get garbage.

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 with the code you find above:

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.

Here is the same video with height and width reduced by 50%, by changing the width and height parameters to width=”212″ height=”175″:




Leave a Comment

*