Mini Flash Music Player, Song Playlists |
Mini Flash Music Player, Song Playlists |
![]()
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! |
|
|
![]() |
![]()
Post
#2
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jun 2005 Member No: 147,994 ![]() |
I really like the way this player looks, but I have no clue what u mean by uploading an pasting the urls into the code. I made a playlist and uploaded it to the hut site u gave, but now i dont know which code to use cause they got like 4 different ones. You also say to load ur player to it, were do I get the player from cause I dont have one, or do I use the one that unzips in the one file? Do I combine them into one file then upload them or what? Please help im completely lost with this but really want it. I have one on my xanga which was very easy to do, but trying to get one on my myspace just doesnt seem to be happening
|
|
|
![]() ![]() |