Jump to content

flash mp3 player help


jibo

Recommended Posts

im wanting a flash music player on my site... i found the one i want im just having trouble with actually putting on my site... i downloaded the .zip from here http://www.jeroenwijering.com/?item=Flash_MP3_Player but once extracting the .zip file theres a lot of things i dont quite understand... being new to XSPF, xml, javascript and building my own site im not sure which files i need to upload to get the player to work... ive looked on their tutorial but it doesnt really help that much, is there a quick and simple explanation to this pls thanks.... sorry about my newbiness :)

Link to comment
Share on other sites

  • 2 weeks later...

I just did this not too long ago.Unzip the files. Upload the following files to a new folder in your site (just to make it easier):playlist.xmlconfig.xmlmp3player.htmlmp3player.swfufo.jsEdit the playlist.xml, here you can add songs just edit the code:

<track>   <annotation>Your Song Title</annotation>   <location>your_music_file.mp3</location>   <info>http://www.jeroenwijering.com/?item=Flash_MP3_Player</info>    <image>mp3/cover.jpg</image></track>

<annotation> is where your song title goes.<location> is the URL or web address of your music file<info> is the information of your song, this makes a link in the player. You place your URL here, this is optional, it's not required for the player to work.<image> is the album cover of the song, you have to link it of course, this is also optional. You can copy, paste, and edit that for however many songs you want. Just be sure to also copy the <track> </track> code also for every new song you add.Here's one I did: http://oneuse.awardspace.com/flash_player/2_3_1/

Link to comment
Share on other sites

ok it seems to work before i upload it i havent tried uploading yet because i dont have the config.xml file do u have a copy of this u can upload? :) also when i tested it the falsh player it wont play files that are hotlinked..... can this be fixed? cheersalso dont i need to upload the .swf file?

Link to comment
Share on other sites

http://www.jeroenwijering.com/?item=Flash_MP3_PlayerGet the config.xml file from the same link if you don't already have it. If you can't play the files that are hot-linked perhaps you should make sure that those files aren't hot-linked protected. Those music files are .mp3 files correct? Yes, you do need to upload the mp3player.swf file.

Link to comment
Share on other sites

No you really don't. All you need are those files I mentioned above, all the rest of the things you don't need for the player. However if you want to that's fine, it's not going to hurt it.

Link to comment
Share on other sites

its all gud i did what you sadi and it works fine, the hotlinking works 2, so thnks bud, great help :) but i got 1 quck last question, im wanting the music player in the dead centre of the page, how would i do this, i see in the mp3player.html it has style="margin:50px;" but that sorta centres it but not towards the top of the page, how do i lower it? would i use <br> or something else, cheers againalso the <image>lookatmypic.jpg</image> doesnt support .gif does it? itll show but the pics wont move, shame really, an animated speaker would look quite good in there lol

Link to comment
Share on other sites

You can make a <div style="text-align:center; margin-top:60px;"></div> container for your flash to make it center, and lower it a little on your page. Just be sure to take that margin:50px; off of the body tag, or else you'll have some serious margin issues. As far as the .gif images go, I don't know about that. I guess just try it out.

Link to comment
Share on other sites

dats not a problem mate, i aint that botherd bout the .gif lol, BUT i was gonna leave this topic with a finla thanks, but is there any reason as to why i cant have anymore than 5 tracks on it? because it doesnt show the 6th track for some reason.....

Link to comment
Share on other sites

It's quite OK, I don't mind helping.Be sure that your playlist.xml file looks something like mine: http://oneuse.awardspace.com/flash_player/2_3_1/playlist.xmlYou might want to view the source for a better view of that. Just compare it, and make any changes necessary to your file. Just be sure not to hot-link my music! I will know if someone does.

Link to comment
Share on other sites

mine looks like this

<playlist version="1" xmlns="http://xspf.org/ns/0/">	<trackList>		<track>			<title>On Top</title>			<creator>PMB ~vs~ Big n Daft</creator>			<location>http://dc19.4shared.com/download/4312224/f885fa54/03_pmb_vs_bigndaft_-_on_top.mp3</location>		</track>		<track>			<title>La Primavera</title>			<creator>Sonic Force (Hyper Stompin Remix)</creator>			<location>http://dc19.4shared.com/download/4367025/9f8328e/sonic_force_-_la_primavera__hyper_stompin_remix_.mp3</location>		</track>				<track>						<title>Tick Boom (Original Mix)</title>						<creator>Project Ayeshay</creator>		<location>http://dc19.4shared.com/download/4366061/d24554f6/project_ayeshay_-_tick_boom__original_mix_.mp3</location>				</track>				 <track>								 <title>Mysterious Donk</title>						 <creator>Klubrockers</creator>				 <location>http://dc19.4shared.com/download/4387486/d2279d03/klubrockers_-_mysterious_donk.mp3</location>				</track>		<track>			<title>On & On</title>			<creator>DJ Fitzy ~vs~ Rossy B & M Jay</creator>			<location>http://dc19.4shared.com/download/4312623/61e8c72b/04_dj_fitzy_vs_rossy_b__m_jay_-_on__on.mp3				</track>				 <track>						<title>Forever</title>						<creator>Jamietronic</creator>		 <location>http://dc19.4shared.com/download/4312622/16eff7bd/05_jamietronic_-_forever___djc_project_remix__.mp3</location>				</track></trackList></playlist>

but the last 1 doesnt work

Link to comment
Share on other sites

lol. Apparently I'm using an outdated player. Which explains why you can't find the config.xml page. :) My bad.

Link to comment
Share on other sites

That's probably because on your file you don't have the ending </location> on:<location>http://dc19.4shared.com/download/4312623/61e8c72b/04_dj_fitzy_vs_rossy_b__m_jay_-_on__on.mp3 Try adding that to the end of that file name, and try it again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...