Embedding an mp3 player on your website


#1

So maybe you’d like to embed an .mp3 file on your website to allow visitors to play it?

You can use the same player as above on your own website in three simple steps

  1. download the .swf player from here

  2. upload the .swf player to your site

  3. edit the code below to point to your .swf player and your .mp3 file :slight_smile:

<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="52" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="audio_duration=DURATION&amp;external_url=AUDIO_HERE.MP3" /><param name="src" value="player.swf" /><param name="wmode" value="transparent" /> <embed type="application/x-shockwave-flash" width="400" height="52" src="player.swf" wmode="transparent" flashvars="audio_duration=DURATION&amp;external_url=AUDIO_HERE.MP3"></embed></object></p>

Demo: http://infinityloop.000webhostapp.com/