Flash MP3 Player


This application is developed by Reality Software and released by Flash MP3 Player under the Creative Commons Attribution 3.0 license, which means you can use it in any way you want provided you keep our links intact.
Don't want our links in the script? You can support this project by purchasing a paid version.

What's included

Installation tips

Step 1

Copy all files to your webserver and try running flashmp3player.html. You should be able to listen demo songs. If it works, then move to the next step.
Note: Your server should support PHP for this script to work.

Step 2

You need to embed player into your webpages. You can copy and paste code from flashmp3player.html or from here.
Note: You can change the location of files in the following code. The path can be relative or absolute (except for mp3 folder, which should always be relative to php script).

Add this to the head of your webpage:
<!-- Location of javascript. -->
<script language="javascript" type="text/javascript" src="swfobject.js" ></script>

Add this to the body of your webpage, where you want player to appear:
<!-- Div that contains player. -->
<div id="player">
<h1>No flash player!</h1>
<p>It looks like you don't have flash player installed. <a href="http://www.macromedia.com/go/getflashplayer" >Click here</a> to go to Macromedia download page.</p>

<!-- Script that embeds player. -->
<script language="javascript" type="text/javascript">
var so = new SWFObject("flashmp3player.swf", "player", "290", "247", "9"); // Location of swf file. You can change player width and height here (using pixels or percents).
so.addVariable("content_path","mp3"); // Location of a folder with mp3 files (relative to php script).
so.addVariable("color_path","default.xml"); // Location of xml file with color settings.
so.addVariable("script_path","flashmp3player.php"); // Location of php script.

Note: You can change player width and height (using pixels or percents).

Add this somewhere in the body of your webpage:
Please place this link anywhere on the page that uses Flash MP3 Player.
You can style it anyway you want, but do not change or delete it.
Read the license! Thanks. :-)
Powered by <a href="http://www.flashmp3player.org">Flash MP3 Player</a>

Step 3

Upload your mp3-files to mp3 folder.

Customizing player

You can customize player looks in default.xml by changing the following variables:

scroll_bar_colorScrollbar color
scroll_bar_bg_colorScrollbar background color
arrows_colorScrollbar arrows color
border_colorBorders color
buttons_color11st gradient color for buttons background
buttons_color22nd gradient color for buttons background
buttons_normalButtons color
buttons_overMouseover buttons color
background_colorOverall background color
volume_activeActive volume color
volume_inactiveInactive volume color
text_normalSong title color
text_overMouseover song title color
text_selectSelected song title color
playlist_item_normalPlaylist item color
playlist_item_overMouseover playlist item color
playlist_item_selectSelected playlist item color
playlist_positionCurrent playing position color
autoplayStarts playing on page load (on, off)
autoresumeSaves playing position and volume when user moves from page to page (on, off)
default_volumeDefault volume (from 0 to 100)
numerationSongs numeration (on, off)
timeSong timer (elapsed, remaining, total, off)


Please do not hesitate to contact us if you have any question or suggestion or if you want to report a bug.