ActiveDen

XML Lyrics Mp3 Player

  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
TamaraB says
Purchased

Hi Joost,

I have spent many days trying to come up with a good MP3 player that is compatible with my template. I downloaded this MP3 Player down this afternoon. I just wanted you to know that this is my first go at web design and I found it pretty simple to change the player to suit me. Your instructions/details are very helpful. I have completely changed the entire look (colours/size, etc)... the lyrics scroll is awesome… then the whole edited version was easy to insert into my Flash website… IT LOOKS FANTASTIC !

Wherever you are… I’m giving you a mega hug from England and thanking you very much! xxx

2 years ago
Author
Joost Joost replied

Thanks for your positive feedback, Tamara! Glad you like it :)

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 100 and 499 items
  • United States
mspanish says
Purchased

Hello I am trying to add an IMAGE box underneath the lyrics for each song. Not sure what I am doing wrong – I added a loader which works fine, but I can’t get it to update the contentPath from the XML . Here is the updated AS I am using:

//objects for data storage are set up songarray = new Array(); songHolder = new Sound(); mouseListener = new Object(); //we’ll start at the first song currentsong = 0; //the scrollbar and autoscroll dialog are hidden by default lyricscontainer.scrollbar._visible = false; lyricscontainer.autoscroll._visible = false; var songimage = new String();

var format:TextFormat = new TextFormat(); format.letterSpacing = 3; format2.letterSpacing = 2; //format2.fontSize = 40;

//the XML object is set up XMLsettings = new XML ; XMLsettings.ignoreWhite = true; //and the settings are loaded XMLsettings.load(‘present_verbs.xml’); //when the settings are loaded.. XMLsettings.onLoad = function(success) { //and this is a success.. if (success) { //check if autoscroll should be enabled by default if (XMLsettings.firstChild.attributes[‘autoscroll’] 'true' || XMLsettings.firstChild.attributes['autoscroll'] ‘yes’) { //enable it autoscroll = true; lyricscontainer.autoscroll.autoscrollbutton.gotoAndStop(1) }//otherwise else { //disable it autoscroll = false; lyricscontainer.autoscroll.autoscrollbutton.gotoAndStop(4) } //for each song in the file.. for (i=0; i<XMLsettings.firstChild.childNodes.length; i++) { //store the data in temporary variables ssrc = XMLsettings.firstChild.childNodes[i].attributes[‘src’]; stitle = XMLsettings.firstChild.childNodes[i].attributes[‘title’]; sartist = XMLsettings.firstChild.childNodes[i].attributes[‘artist’]; salbum = XMLsettings.firstChild.childNodes[i].attributes[‘album’]; slyrics = XMLsettings.firstChild.childNodes[i].firstChild.firstChild; simage = XMLsettings.firstChild.childNodes[i].attributes[‘image’]; //if the title, artist or album havn’t been set, they are set to a hyphen if (stitle == undefined) { stitle = ’-’ } if (sartist == undefined) { sartist = ’-’ } if (salbum == undefined) { salbum = ’-’ } if (simage == undefined) { simage = ’-’ } //default waiting time to 0 startwait = 0 //if it’s defined differently, set it differently if (XMLsettings.firstChild.childNodes[i].attributes[‘startwait’]) { startwait = XMLsettings.firstChild.childNodes[i].attributes[‘startwait’]; } //push all the temporary variables to the array songarray.push(new Array(ssrc,stitle,sartist,salbum,slyrics,simage,startwait)) } //fill up the playlist populatePlayList() //start playing the very first song playSong(currentsong) } } //this function plays a song function playSong(n) { //when it’s done loading.. songHolder.onLoad = function() { //un-pause if the song was paused musicsettings.pausebutton.gotoAndStop(1) //set the loading variable to false, to enable all buttons loading = false; //start the song at 0sec songHolder.start(0) //calculate the duration endmin = Math.floor(songHolder.duration/1000/60) endsec = Math.round(songHolder.duration/1000-endmin60) //add a 0 if it’s below 10 (7 -> 07 etc) if (endsec < 10) { endsec = ‘0’+endsec } //check if we’ve hit 60 if (endsec == 60) { endsec = ‘00’ endmin++ } //calculate the current position of the song, probably 0:00 curmin = Math.floor(songHolder.position/1000/60) cursec = Math.round(songHolder.position/1000-curmin60) //again, append a 0 at the start if it’s below 10. if (cursec < 10) { cursec = ‘0’+cursec } //check if we’ve hit 60 if (cursec == 60) { cursec = ‘00’ curmin++ } //update the timestamp musicsettings.timeslidercontainer.timestamp = curmin + ’:’ + cursec +’ / ‘+endmin + ’:’ + endsec //set the volume according to the slider songHolder.setVolume(musicsettings.soundslidercontainer.soundslider._x) //add a function to the timeslider, to make it update along with the song playing musicsettings.timeslidercontainer.timeslider.onEnterFrame = function() { this._x = this._parent.timesliderpath._width * this._parent._parent._parent.songHolder.position / this._parent._parent._parent.songHolder.duration } //make it start at the start of the song. musicsettings.timeslidercontainer.timeslider._x = 0; } //set the loading variable to true, to disable all buttons loading = true; //a song is loaded, the sourcecode requested from the array. songHolder.loadSound(songarrayn,true) //stop immediately, wait for it to finish loading if (loading) { songHolder.stop(); } //fill up the lyrics populateLyrics(n) //show the information about the song musicsettings.songtitle = songarrayn; musicsettings.songartist = songarrayn; musicsettings.songalbum = songarrayn; songimage = songarrayn; lyricsplayer.imageLoader.contentPath = songimage //stacey reiman added to set title spacing musicsettings.titleT.setTextFormat(format); //stacey reiman added letter spacing for lyrics //lyricscontainer.lyrics.lyricsbox.setTextFormat(format2);

2 years ago
Author
Joost Joost replied

All of this really makes very little sense when I just read it like this.. I’m willing to help you implement an image box in the file, but you’ll have to email me the file instead of pasting the actionscript in a comment. Pop me an e-mail via my profile, and I’ll get back to you!

2 years ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
masterp2 says
Purchased

HI, need a help XML Lyrics Mp3 Player

I do not speak much English

I am in error, character, ( ê, Ê, ã, ç,Ç, Ã, í, Í, você, )

are not displayed,

I have done to embed the font, and had checked the UTF8 encoding need a help joost please

1 year ago
Author
Joost Joost replied

Hmm, that’s odd. I included pretty much all the odd characters, but somehow forgot about the accent circumflex and the others you mention. I’ll add them and upate the file – send me an e-mail via my profile to get it before it makes it through the update queue. :)

Else just wait a bit, and you’ll be able to download the update for free as well.

If you need to include any other than the ones you mention (and the regular deviations on the ones you mention, i.e. â î ô), just say so.

1 year ago
Author
Joost Joost replied

You can now download the updated file :)

1 year ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
vincentzr says
Purchased

thank you very much for this good player! 1 thing can you help me please? i want to add multiple players on the same page, for our different albums. but each player plays their 1st song automatically. can you add a switch on the auto play? thank you again~

1 month ago
Author
Joost Joost replied

Hi Vincent – glad you like the player!

Do you mean a boolean switch in the XML file, so that you can define if the player should autoplayer or not per individual player? Or just disable the autoplay altogether, so a song starts as soon as someone pressed play, for every single player?

If you want you can also send me an email via the contact form on my profile :)

29 days ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
mlstomer says

Hello, Very impressed with this, cannot get anywhere. Would I be able to use it on a wordpress site or must be a static site.

Also can I add a background image. I find the songs take long to load, can’t it play the song while it loads?

Thanks just want to be sure I can use it for my needs.

14 days ago
Author
Joost Joost replied

You can add it to a wordpress website much like you add any Flash-object to a wordpress website. No specialities there.

Changing the background is as simple as opening the Flash file and dragging in the new background. Making the songs buffer and play while they load requires a bit more fiddling, but is definitely possible as well. There are quite a few tutorials out there, and if you’re not succeeding I’d be happy to customise the file for you (on a freelance basis) as well. :)

14 days ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
mlstomer says
Purchased

Hello, Sent a message stating that the script does not seem to work on separate pages but have not heard back. It only seems to work as a multiple mp3 script.

12 days ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
mlstomer says
Purchased

Any support here….

11 days ago
Author
Joost Joost replied

I’m sorry I havn’t replied to you sooner – sometimes there’s a few days of me not working. ;) It happens. I hope you understand, and I really hope you’re not working 24/7 yourself :sarcasm:

Writing a reply to your email now :)

11 days ago
by
by
by
by
by