MP3 Player
MP3 Player Code Generator
What it is
The MP3 Player Code Generator is a utility to generate html code for placing an MP3 player on your website.
Download: MP3PlayerCodeGen.zip
Version: 1.0.3
Last Updated: 8 May 2008
Requirements: Audio Player Plugin from 1pixelout
The MP3PlayerCodeGen is free to use under the Creative Commons License.
If you find the MP3 Player Code Generator useful, please consider making a donation!
What you need:
The executable MP3PlayerCodeGen.zip and the Audio Flash Player Plugin, (originally created for Wordpress Blogs).
Download the Player Plugin and unzip it into a folder of your choice.
Upload the audio-player.js and player.swf files to your website. The audio-player.js file should go in your root folder of your web site (where your home page or index.html) reside.
You may place the player.swf just about anywhere, however in the root folder is most convenient.
Place a test MP3 file on your web site where you can remember it easily. (something like http://mysite.com/test.mp3)
Unzip the MP3PlayerCodeGen.zip file into a folder of your choice, or your desktop.
Start the MP3PlayerCodeGen.exe by double-clicking it.
Fill in the name of your web site.
mywebsite.com
If the player.swf is not in your root folder, enter the folder where it resides.
/audio
Type the name of your MP3 file. You must include the full path to the file if it is not in your root folder.
audio/mymusic.mp3
Click the 'Get Code' button to copy the generated code onto your clipboard.
<script language="JavaScript" src="http://mywebsite.com/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://mywebsite.com/audio/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://mywebsite.com/audio/player.swf">"
<param name="FlashVars" value="playerID=1&soundFile=http://mywebsite.com/mymusic.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Open the web page source code (HTML) where you want to place the player, and past the code in it's entirety within the web page.
Save your web page and navigate to it with your browser. You should see something like this:
Press the Arrow to test!
Some versions of IE may need to click twice.
One last note: Your audio files must be in MP3 format! The player does NOT support WAV files.
