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 ... !
0 comments :: Embed audio using Gmail's Audio Player
Post a Comment
Write your comment here