Wednesday, March 28, 2007

Putting Voice or Music On Your Blog


I don't understand the lure of wanting music on your blog. That's probably because I'm on dial-up and sites that use music take forever to load, and I get three second snippets of music every fifteen seconds until the whole thing has loaded.

And music always takes up a lot of bandwidth, which can make the connection timeout on you...but with all that said, if you still want music...

If you would like to make digital voice clips, go here to Gabcast.

To upload music from like an iPod or MP3 player:

First you need to host your music somewhere. I'm a Google nut, so the first place I'd say would be Google Pages. You have to make a GMail account to use the pages and if you don't already have one...BEWARE! Because creating a GMail account will override your email account that has Blogger.

If you don't want a GMail account, create a Google Group *snort*...you can be a group of one, but it will give you a whopping 100MB of file space where you could upload all of your music, for free!

So you've opened a group, uploaded your music file. Now copy down the URL for the file.

Then go Dashboard >>> Layout >>> When the Page element page opens, click on "Add a Page Element. Choose a HTML/JavaScript element.

Copy this code into the Page element:


<embed src="URL of your audio or video file" loop="false" width="400" height="300" autostart="false" type="video/x-ms-asf"></embed >


The parts of this code are:

The URL of your music at the freehost of your choice.

Loop can be set to false, so the piece doesn't continually repeat. Set it to true if you want a particular sound like waves to keep repeating.

The height and width which you can change to fit your particular sidebar.

Autostart set at false lets your visitor start the music themselves...they will love you for this!

And the last part, type...tells you what kind of file it is. For example:

An MP3 file would be: type="audio/x-ms-mp3"
A AVI file would be: type="audio/x-ms-avi"
A MPEG file would be: type="video/x-ms-mpg" (or what ever they call it)

You can also put a Player on your blog, by going to Google Gadgets. They have 12 players from MP3's to YouTube and Podcasts.

UPDATE: You can have your MP3 Links:
<a href="my_file.mp">Link</a>

Automatically turn into a little simple player by adding this code into your HTML:

<script type="text/javascript" src="http://googlepage.googlepages.com/player.js"></script>



No comments:

Post a Comment