| Downloads
> Flash Song Player |
File
Size: 2KB |
|
|
| |
|
Flash Song Player
Our Web Song Player can play a list of mp3 files (which
you specify on a txt file) on your web pages. The web
mp3 player is 1x1 pixel in size, so it takes up almost
no space on your page. There is no UI controls which is
useful if you just want to play a list of songs, once
or in loops, shuffled or ordered.... but not allowing
users to control it. |
| |
| If you want to get the fla source file, send us
US$ 8 and we will send you the file afterwards. |
|
|
| |
| Usage
Guide
The package consists
of 3 files: mp3_player.swf, songlist.txt and sample.html.
songlist.txt is where you can specify the list of mp3
files to be played. sample.html contain sample html
code which you can copy and paste into your html pages.
To run a quick
test:
Unzip the package on
your local machine or your server, grab 3 mp3 files
from somewhere, rename them as 1.mp3, 2.mp3 and 3.mp3
(which corresponds to the files specified in the songlist.txt
file). Put the mp3 files under the same directory of
the unzipped files. Open the file sample.html. You should
be able to hear the songs playing (one by one of course).
A few parameters
that your can change:
Looking into the sample.html
file, you can find the flash movie name "mp3_player.swf"
at 2 places. Following the movie name is a string of
parameters (in this case: "mp3_player.swf?sl=songlist.txt&l=1&sh=1&v=50").
Below is the meaning of the parameters:
Param Name |
Description |
Possible Values |
sl |
song list file, this is the filename of the song
list (i.e. songlist.txt in the zipped file). You
need to change this parameter if you change your
songlist filename. |
string (should be urlencoded) |
l |
looping mode. If you want to play the songs in
loopping mode, set this to 1. |
1 or 0 |
sh |
shuffle. If you want to shuffle your song list
before playing, set this to 1. |
1 or 0 |
v |
volume. This is not the absolute volume value.
It is the percentage. |
0 - 100 |
Note: Make
sure you change both places (where "mp3_player.swf"
cccurs) in the html file when altering the parameters. |
| |