How to Embed MP3 Audio Files on Your Website

Do you need to embed MP3 audio files, such as podcasts or songs or other audio files on your website? There are several ways to do this and here you’ll learn how to do this without requiring an external player like QuickTime or Windows Media Player.

Steps to Embed Audio / mp3 Files on your Website

  1. Download the player Right Click here and select “Save Link As”. Save the file to your computer.
  2. Upload the player to your webserver.
  3. Upload your mp3 files to your webserver.
  4. Now all you need to do is add the following code to your html page.
  5. <embed src=”http://www.yoursite.com/media/jwmp.swf?file=http://www.yoursite.com/media/audiofile.mp3&usefullscreen=false&bufferlength=5&autoStart=false&repeat=false” width=”320″ height=”20″ quality=”high” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”></embed>

  6. Make the appropriate changes to the code above.  Replace “yoursite.com” with your own domain name. Also make sure the path to the files is correct. Replace audiofile.mp3 above with your mp3 file name.
This entry was posted in Tips and Tricks. Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>