HackToHell. Powered by Blogger.

Embed MP3 songs on your webpage using Google's MP3 player !

Gmail introduced a feature that allows you to play MP3's right from gmail . Fortunately you can you that same mp3 player to play your own mp3's
When you receive an MP3 audio file as an email attachment, click the play button and Google will play the audio file for you in a Gmail popup window.




The GMail Mp3 player is actually the Google video player that's playing the audio file. You can use this to literally play any mp3?

http://mail.google.com/mail/html/audio.swf?audioUrl=SONG(MP3_URL)

To embed MP3 songs use the following code:



<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" flashvars="audioUrl=MP3_FILE_URL" width="400" height="27" quality="best"></embed>

Remember to replace MP3_FILE_URL with the actual location of the MP3 file on the web .
E.G:-





Share on Google Plus

About hacktohell

Love technology.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment