Wednesday, July 20, 2011

Use Google Audio Player to embed MP3 audio files on your blog

If you want to share a song or a podcast with your readers then the Google Audio Player is a great solution if you want to embed MP3 audio files in your blog or website.Although it is not evident when you see the player, but it is powered by Google and designed for Google Reader but it can work on other sites and blogs. The Google Audio Player is a flash object and you can embed it very easy everywhere in your blog or website.

So to embed the player in your website or blog use the code below.

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


In the code you just have to insert the URL of the Mp3 audio file instead ofMP3_AUDIO_FILE_URL and you can also change the width and height of the player in order to suit better with the place where you have embed it.





    0 comments:

    Post a Comment

    Related Posts Plugin for WordPress, Blogger...

    About Me

    My photo
    "BLOGGING" is my passion. I am crazy about it. I love to share knowledge with others, So I found this platform is good to share knowledge with everyone. And also I like to surf net a lot to search for the latest technologies and gadgets.