Free Flash mp3 Player
STEP 1
Download and uncompress playerMultipleMenuPackage.zip.
By downloading this flash music player, you agree to the End-User License Agreement
STEP 2
Open sampleEmbedCode.html in your html editor, copy the embed code provided and paste it into your own html page.
STEP 3
Change the playlistPath parameter in the provided embed code to point to your xml playlist of choice.
Change the value in red to suit your needs.
so.addVariable("playlistPath", "playlist.xml");
STEP 4
Open playlist.xml in a text editor or html editor and modfiy the xml code to specify the paths and titles of your mp3 tracks .
Every block of code between <track> and </track> defines one track. Copy and paste as many of these blocks as you need and simply modify the values in red below.
<track>
<path>song1.mp3</path>
<title>Track Name 1 - Artist Name</title>
</track>
You can also point to your mp3 files using absolute paths on your server:
<track>
<path>http://www.premiumbeat.com/song1.mp3</path>
<title>Track Name 1 - Artist Name</title>
</track>
NOTE 1: Make sure you upload the playerMultipleList.swf, playlist.xml and swfobject.js to your server. Specify the path to these files if they are not in the same folder as the page in which your music player is embedded.
There are two parameters you can modify to customize the flash music player:
overColor
To customize the color of the player, add the line of code below to your embed code and change the value in red. The color must be an hexadecimal color value.
Change the value in red:
so.addVariable("overColor","#000033")
playerSkin
To change the skin of the player, add the line of code below to your embed code and change the value in red. Try skins 1 to 5 and see wich one you like.
Change the value in red:
so.addVariable("playerSkin","1")
By default the player is showing 6 tracks, so if there is more than six tracks in your playlist, a scrollbar will appear. You can customise the player height to show more or less tracks by changing the player height in the embed code below (in red):
var so = new SWFObject("playerMultipleList.swf", "mymovie", "192", "200", "7", "#FFFFFF");
There are two parameters for the Multiple Tracks Flash mp3 Player:
autoPlay
Determines if the first mp3 in the playlist automatically plays when loaded. The two possible values are "yes" and "no".
Change value in red:
so.addVariable("autoPlay", "yes");
playlistPath
This is the path to the xml playlist file wich defines the tracks in your playlist.
Change value in red:
so.addVariable("playlistPath", "playlist.xml");
The playlistPath can be relative or absolute.
Sample absolute path:
so.addVariable("playlistPath", "/files/playlist.xml");
In this case the xml playlist would be located at www.site.com/files/playlist.xml
Sample relative path:
so.addVariable("playlistPath", "playlist.xml");
In this case the xml playlist would be located at www.site.com/playlist.xml
Embed parameters are variables or settings that are included in the flash music player through the embed code. The lines of code below are an example of embed variables.
so.addVariable("autoPlay", "no");
so.addVariable("playlistPath", "playlist.xml");
It is very important to use a sample rate of 44.1kHz as other sample rates may cause the sound to play slower or faster. 44.1kHz is generally the default setting in most mp3 converters.
You can easily convert audio files into mp3 files with any mp3 encoders on the market. We recommend using MusicMatch, a free encoding software for Windows. For Mac users iTunes is a good option.
The bitrate represents the quality level of the mp3 compression. A higher bitrate means better quality, but adds weight the the mp3 file.
The bitrate you use when compressing your mp3 files depends on your needs, here are some of the common bitrates and their quality levels.
- 16 kbit/s - Minimum (Ideal for voice)
- 32 kbit/s - Intermediate
- 64-96 kbit/s - Recommended
- 128 - 256 kbit/s - Best (CD Quality)
Absolutely, the Multiple Tracks Flash mp3 Player is designed to stream mp3 files. The music will start playing as soon as there is enough data loaded to ensure a smooth playback
No, the Multiple Tracks Flash mp3 Player is designed to stream single tracks in mp3 format. A Flash Loop Player is available here.
The most common problem when integrating the flash music player is the location of the .swf file on your server. If you have copy/pasted the embed code and you don't see the flash music player, it's simply because the web browser is looking for the swf file at the wrong location. Here is quick checklist for trouble shooting purpose:
| Make sure the playerMultipleList.swf file is uploaded on your web server and that the path to this file is specified in the embed code provided. |
| Make sure the swfobject.js file is uploaded on your web server and that the path to this file is specified in the embed code provided. |
| Make sure the playlist.xml file is uploaded on your web server and that the path to this file is specified in the embed code provided. |
| Make sure you have at least have Flash Player 7. If not, download it here |
Please send us feedback or questions at customerservice@premiumbeat.com |