Google Audio Player is a nice way to embed MP3 audio file on your website. The Audio Player is actually designed to provide audio playback capabilities in Google Reader, but you can use it to offer on-site playback of audio files to your readers.
This is the code you need:
<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" quality="best" flashvars="audioUrl=MP3link" width="400" height="27"></embed>
As you can see, the audio player is a Flash object. This makes it possible to stream MP3 and other audio files. Now, all you got to do is, replace the “MP3link” with your audio link in the code. The width of the player can also be adjusted to fit your content width, but don’t change the height.
Paste the embed code where you want the Audio Player to be displayed. It could be in a blog entry, within the HTML of your website or even on your social networking profile. [mp3 via pacdv]
One thought on “Embed MP3 Audio Files on Your Website with Google Audio Player”
is there a way to ad attributes like loop and auto play?