Sunday, January 09, 2011

How to Embed MP3 onto your Website / Blog

You may have a MP3 file uploaded somewhere in the Internet and would like to share it with visitors of your website or blog. The following piece of code make use of the player used in Google Reader.

<embed type="application/x-shockwave-flash"
    wmode="transparent"
    src="http://www.google.com/reader/ui/3523697345-audio-player.swf?audioUrl=[MP3 URL]"
    height="27" width="300">
</embed>

You just have to replace [MP3 URL] with the actual address.

No comments:

Post a Comment

Do provide your constructive comment. I appreciate that.