How to: Include blog video and audio

February 19th, 2008.

Video in blogs

Blog content is easily spiced up by using video and audio content.

And, they are great for increasing traffic to your blog. (Consider how fast a video viral is passed around!)

Here is how to do it…

How to: Include a blog video

If you followed Day 1 of How to blog in 7 days, you will have a blogging system in place.

Adding a blog video will be easy for you.

Most blogging systems have this function built into their Content Management Systems. Alternatively there are plugins, such as Viper for Wordpress.

If you have decided not to use a blogging system:

Step 1: access the XHTML code for the blog post that you are working on.

Step 2: For You Tube videos – xhtml code provided to right of each video under the title, ‘About this video/Embed’. Copy and paste it into the XHTML.

For other videos – you will need to include this code:

<object width=”425″ height=”355″><param name=”movie” value=”http://www.videoURL.com”></param><param name=”wmode” value=”transparent”></param><embed src=”http://www.videoURL.com” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”355″></embed></object>

For personal videos – save the video to a directory on your domain. FTP is the easiest way of doing this. Then you will need to include this code (.avi is a Microsft format and .mov is Mac):

<object width=”425″ height=”355″><param name=”movie” value=”http://www.domainname.com/videodirectory/videoname.avi or mov”></param><param name=”wmode” value=”transparent”></param><embed src=”http://www.domainname.com/videodirectory/videoname.avi or mov” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”355″></embed></object>

How to: Include blog audio

There are few CMSs that allow for this function.

However, this is also easily done.

Step 1: save the audio to a directory on your domain.

Step 2: insert the following code into your xhtml:

<embed
src=”http://www.yourdomainname.com/audiodirectory/audioname.mp3/mov/avi/etc”
width=”50%”
height=”50%”>
</embed>

That’s it!

Do you have any questions? Or is there something you’ve always wondered how to do?

Ask me here, and I will do my very best to find the answer.

Until tomorrow!

Love, me

Yay or nay for milk?

Loading ... Loading ...

This article is written by: Lilly Mouse...I love communicating (through writing, art, dance, and any other way imaginable). Blogging and I have become very good friends in the last few years. LillyMouse.com is my creation, and I'm so please to share it with you! Ciao for now, Lilly Read more from this author


What's Next?

Stumble this

Digg! Digg this

Subscribe to Lilly Mouse

Your Comments

Be the first to comment...

Have Your Say...

You must be logged in to post a comment.