Log In · Register

 
Mini Flash Music Player, Song Playlists
HSXLC
post May 3 2005, 03:36 PM
Post #1


dSlice™
**

Group: Member
Posts: 19
Joined: Feb 2004
Member No: 2,814



Alright many of you have been given out code for playlist on your MySpace...but people were complaing that you couldn't choose the songs you want to listen to. So this is for those people...

First things first, you need to download the player and playlist file (click here~9kb)
The file is in .zip format, which requires IZArc to extract!

Once you've downloaded and extracted the file, you will have two files, player.swf and playlist.xml. Open up playlist.xml in notepad, or whatever text editor you use. Edit the lines that appear like this:
<song path="Song Link Here.mp3" title="Artist - Track" />
By putting the EXACT URL to your mp3 file in the "path" attribute, and then the Artist and Track name in the "title" attribute.
Of course if you have more songs than there are lines in the xml file, you can add as many more as you like!

Now upload your completed playlist.xml file and player.swf to your webhost of choice (like UploadHut.com), once uploaded, use the following code to embed it on your page:

<embed src="http://pathto/player.swf" menu="false" quality="high" bgcolor="EEEEEE" width="300" height="320" name="index" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="playList=http://pathto/playlist.xml&ShowPlaylist=1&ShowEQ=1&firstTrack=1&initVol=50" wmode="transparent" />

The values in bold need to be changed to your specific requirements.

src - Set this to the EXACT URL of your player.swf file.
bgcolor - Set this to any 6 digit hex code to change the colour of the player.
playList - set this to the EXACT URL of your playlist.xml file.
ShowPlaylist - This controls whether the playlist is visible upon startup. 1 for yes, 0 for no.
ShowEQ - This controls whether the equilizer is visible on startup. 1 for yes, 0 for no.
firstTrack - Sets which track should be played initially. Setting 0 will turn autostart off.
initVol - Sets the initial volume of the player. 0 (mute) to 100 (maximum)

And that's that! You could even extend this further by putting the player in a DIV container, and absolutely positioning it anywhere on your page!
 

Posts in this topic
HSXLC   Mini Flash Music Player   May 3 2005, 03:36 PM
electric shock   bump.. >.< for people WHO ARE ASKING ABOUT P...   May 10 2005, 08:25 PM
vehvih   Even though no one is asking.. thanks for sharing...   May 12 2005, 07:05 PM
eelyajekim   any good mp3 sites out there   May 15 2005, 04:11 PM
E-Swan   http://cdzinc.com/32K/albumindex.html ^^Go there....   May 15 2005, 07:12 PM
infectiousbunnie   QUOTE(E-Swan @ May 15 2005, 7:12 PM)http...   May 15 2005, 09:06 PM
eelyajekim   i don't think so   May 16 2005, 12:22 AM
maskedmoron23   the playlist doesn't work for me on my myspace...   May 21 2005, 05:52 PM
mrlumpy   It shows up on my myspace, but doesnt play anythin...   May 25 2005, 05:01 PM
HSXLC   Every song has to be a .mp3 for the player to work...   May 28 2005, 01:01 PM
Chaos Bliss   It would be nice of you to actually leave credit f...   May 30 2005, 02:28 PM
vehvih   QUOTE(Chaos Bliss @ May 30 2005, 7:28 PM)It w...   Jun 4 2005, 12:00 AM
xxx11904xxx   I really like the way this player looks, but I hav...   Jun 3 2005, 06:33 PM
BombaTwist   QUOTE<embed src="URL HERE/player.swf...   Jun 5 2005, 12:31 AM
vehvih   They disabled the mini flash music player code cod...   Jun 5 2005, 03:05 PM
Strawberryred85   how come when i click "submit" an iframe...   Jun 5 2005, 10:12 PM
Strawberryred85   i just stumbled onto this forum topic when i was l...   Jun 6 2005, 02:04 PM
bdsgjfdsghliaewr   so does anyone know how to get your music onto the...   Jun 6 2005, 04:24 PM
vehvih   Ahem .. another mp3 Flash Player http://blog.mys...   Jun 6 2005, 04:49 PM
D1SMANTLED   You should submit this to Myspace Scripts. It help...   Jun 6 2005, 04:55 PM
Teknoblade   http://www.streamload.com Just go there to upload...   Jun 9 2005, 04:17 PM
INC0HERENT   ... arent mp3's illegal?   Jun 10 2005, 05:07 PM
Sleepn2zero9   bleh... MP3's are not illegal... illegally dow...   Jun 11 2005, 02:10 AM
rich_   myspace has edited the way it parses embedded obje...   Jun 11 2005, 02:29 AM
iNGENiOUZ ANGEL   how did she [click here] get her playlist to work?...   Jun 16 2005, 07:31 PM
wongman113   muahahaha...thats our secret...MUAHAHAA.... no jp...   Jun 16 2005, 09:21 PM
iNGENiOUZ ANGEL   damn... i hope it works then... because i changed ...   Jun 17 2005, 12:31 PM
joeblack   ^ That's not going to work. Your text is bei...   Jun 21 2005, 08:58 PM
emi_myspace   QUOTE(joeblack @ Jun 22 2005, 9:58 AM)If anyo...   Jun 25 2005, 01:57 AM
vehvih   QUOTE(emi_myspace @ Jun 25 2005, 6:57 AM)chan...   Jun 26 2005, 03:40 PM
emi_myspace   QUOTE(vehvih @ Jun 27 2005, 4:40 AM)Yeah.. so...   Jun 26 2005, 09:30 PM
hawnboy   go to TinyURL.com and convert your hosted SWF file...   Jun 22 2005, 02:18 AM
xfilmnoirx   ack ....ok so I downloaded the mini player files...   Jun 24 2005, 05:44 PM
vehvih   QUOTE <!-- begin code provided by createbl...   Jun 27 2005, 01:32 PM
emi_myspace   QUOTE(vehvih @ Jun 28 2005, 2:32 AM)Where doe...   Jun 27 2005, 10:50 PM
vehvih   QUOTE(emi_myspace @ Jun 28 2005, 3:50 AM)Add ...   Jun 28 2005, 03:18 PM
hawnboy   QUOTEWhere does the player.swf go in that code? h...   Jun 27 2005, 01:45 PM
Sweetiousx   <!-- begin code provided by createblog.com...   Aug 30 2005, 10:23 PM
vehvih   Yay! It worked!!   Jun 27 2005, 03:39 PM
Drtyrock   is there a way to make the playlist play randomly?   Jun 27 2005, 06:24 PM
emi_myspace   QUOTE(Drtyrock @ Jun 28 2005, 7:24 AM)is ther...   Jun 27 2005, 10:28 PM
Drtyrock   sry 4 double post dunno how 2 delete   Jun 27 2005, 06:26 PM
Acturos   Sorry im lost, so which ones work? -____- And whe...   Jun 28 2005, 02:30 PM
eelyajekim   can someone help me out with this show it like ste...   Jul 9 2005, 01:27 PM
emi_myspace   QUOTE(eelyajekim @ Jul 10 2005, 2:27 AM)can s...   Jul 11 2005, 02:09 PM
hikki168   tutorial for creating the playlist tutorial for ch...   Jul 11 2005, 03:02 PM
makr417   do they make a playlist code for myspace that work...   Jul 12 2005, 05:21 PM
emi_myspace   QUOTE(makr417 @ Jul 13 2005, 6:21 AM)do they ...   Jul 13 2005, 04:49 AM
hikki168   QUOTE(makr417 @ Jul 12 2005, 5:21 PM)do they ...   Jul 13 2005, 12:48 PM
Alejis   umm.. ive been trying this forever. and the player...   Jul 12 2005, 06:33 PM
emi_myspace   QUOTE(Alejis @ Jul 13 2005, 7:33 AM)umm.. ive...   Jul 13 2005, 04:53 AM
xombii   This is a great topic. The recent changes to mysp...   Jul 26 2005, 03:14 PM
xombii   Nevermind. Typo king doubled up on a character and...   Jul 27 2005, 09:31 AM
XTarePandaX   How do you change the color of the player?   Nov 6 2005, 06:15 PM
naked_zombie   visit this link http://www.createblog.com/forums/i...   Nov 6 2005, 09:15 PM
misslaydee510   thanks :)   Nov 9 2005, 03:59 PM


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: