Embed audio using Gmail's Audio Player

If you want to embed your mp3 file to your blog or web page, here is the easy solution for you. Using the flash-based Gmail Audio Player has many advantages over traditional way of embedding audio file. Your visitor can start listening to the music or speech without having to wait for the buffering or until the download finishes. With flash-based audio player, your visitor don't have to open a media player to listen to your audio.

To embed the player, you just enter the following code to the place on your page where you would like it to appear, replacing URL with the actual url of your mp3 file:

<iframe
src="http://mail.google.com/mail/html/audio.swf?audioUrl=http%3A//URL"
style="border: 1px dotted #e0e0e0; width: 500px; height: 27px;">
</iframe>


In the code given above, you can change the width of the player to any value. But you should keep the height at 27px if you don't want to affect the looks of your player.

Check what I have done below:





Enjoy ... !


Related Posts



0 comments :: Embed audio using Gmail's Audio Player

Post a Comment

Write your comment here