Watch out Odeo, Here comes Google!
Google has snuck a “Google Video” style MP3 player into the GMail interface which can be used to play audio attachments in GMail. When you receive an audio file as an email attachment, click the play button and Google will play the audio file for you in a popup window. Yawn fest, right?
However this neat little feature can be hacked, to play any MP3 you want as an embedded flash player on any external site.
The code that the embedded music player uses the call:
http://mail.google.com/mail/html/audio.swf?audioUrl=MP3_URL
The rest of the instructions after the jump…
So you just stick in the URL of the MP3 you want to embed, using an iframe in your website and BAM, you have a built in beautiful embedded flash MP3 player – as illustrated:
Enjoy!

Playback working for anyone else? No sound or activity on my end. Firefox 1.5/2.0, Safari.
firefox worked, safari didn’t, i guess the iframe syntax has to be altered
I’m using it on my radio show’s website at http://www.radiofirefox.com
The audio, she don’t-a work!
no go in safari. its just a white rectangle with a gray boarder.
We got audio – server got slamed for a bit.
does it tell you the total song of the time?
mine does not, im using Opera
Ring, ring, ring, ring… Banna Phone!!!
*Banana
Oops! Guess I got too excited! :)
Works in Ubuntu / Firefox 1.5 :)
Oh yeah! Banana Phone! works in Mac OS X 10.4.7 / Firefox 1.5 :D
Less attractive but much more powerful: http://musicplayer.sf.net
My gf has a playlist on her myspace site using it, it works pretty well
….I hate myspace…
So, I thought I’d do this. Made some files in to 56kbps, to make them small.
It plays it twice as fast. Listening to Trivium with chipmunk like vocals is hilarious.
Any idea why?