The Easiest way to play mp3 online.Flash MP3 Player is a free application that allows you to play music on your website easy and fast. You won’t need any programming skills to install or use it. Just embed it into your website and player will automatically scan a specified folder and form a playlist
- standard player controls
- forms playlist automatically (scans specified folder for mp3-files and uses ID3v1/ID3v2 tags for naming)
- customizable design
- autoplay option
- autoresume option (saves playing position when user moves from page to page)
- and of course, it’s free… 😉
Best Suited to : Flash Website, Ipod MP3
* flashmp3player.html – demo use of the player with comments;
* default.xml – customizable settings;
* flashmp3player.swf – compiled Flash application;
* flashmp3player.php – script that scans folder for mp3-files and reads ID3 tags;
* swfobject.js – script that detects Flash.
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.
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:
Add this to the body of your webpage, where you want player to appear:
<!-- Div that contains 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. -->
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>
Upload your mp3-files to mp3 folder.
You can customize player looks in default.xml by changing the following variables:
||Scrollbar background color|
||Scrollbar arrows color|
||1st gradient color for buttons background|
||2nd gradient color for buttons background|
||Mouseover buttons color|
||Overall background color|
||Active volume color|
||Inactive volume color|
||Song title color|
||Mouseover song title color|
||Selected song title color|
||Playlist item color|
||Mouseover playlist item color|
||Selected playlist item color|
||Current playing position color|
||Starts playing on page load (on, off)|
||Saves playing position and volume when user moves from page to page (on, off)|
||Default volume (from 0 to 100)|
||Songs numeration (on, off)|
||Song timer (elapsed, remaining, total, off)|