How to play mp3 online (with code)

I have tried some codes but they all failed. At last, I use this “dewplayer” and it works quite well.

The steps are as follows:

1, download the software from this link: http://www.alsacreations.fr/dewplayer;

2, unzip it. Since I only want to play one .mp3 file, only dewplayer.swf is enough. Upload “dewplayer.swf” on the server;

3, upload the .mp3 file on the server;

4, embed the code as below on the webpage, then the .mp3 file will play automatically and again and again. Just remember to replace the .swf and .mps and folders to the ones that’s real for u:

<object type=”application/x-shockwave-flash” data=”http://coolder.com/video/dewplayer.swf?mp3=http://coolder.com/video/jingle-bells.mp3&amp;autostart=1&amp;autoreplay=1” width=”200px;” height=”20px;” id=”dewplayer”>
          <param name=”wmode” value=”transparent” />
          <param name=”movie” value=”http://coolder.com/video/dewplayer.swf?mp3=http://coolder.com/video/jingle-bells.mp3&amp;autostart=1&amp;autoreplay=1″ />
</object>

5, Click here to check it out if I still keep it: http://mia.blog.coolder.com

Leave a Reply

Your email address will not be published. Required fields are marked *