Google MP3 Player

You can embed a nice mp3 player using Google’s on your own page. Just use the iframe tag and add your own URL to the mp3 file.

Here’s the code:

<iframe id="musicPlayer" style="border: 1px solid #aaaaaa; width: 350px; height: 25px"
src="http://mail.google.com/mail/html/audio.swf?audioUrl=
http://www.yourwebsite/yourmp3file.mp3"></iframe>

Listen to this post Listen to this post

2 Responses to “Google MP3 Player”

  1. Stephen Says:

    This Google MP3 player works a treat in Firefox, but in IE6 (haven’t tried IE7) it shows a small QuickTime logo and that’s it, or (on another PC) it loads a small Windows Media Player instead (which doesn’t play).

    Can you get it to work on IE? Incidentally, I had flash installed in all cases.

    Cheers,

    Stephen.

  2. Jim Says:

    Well, I haven’t a clue as this is Google’s own player and not mine. I’m just embedding it on my page. IE 6 is probably blocking it as a security risk or it may be a particular setting in your browser.