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
- Download the player Right Click here and select “Save Link As”. Save the file to your computer.
- Upload the player to your webserver.
- Upload your mp3 files to your webserver.
- Now all you need to do is add the following code to your html page.
- 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.
<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>