As I said, it is fully dynamic. That includes the fact that you only have to update the XML file with new values to add a song. It is written as a class that needs two parameters: an object containing the links to the elements of the interface, and the playlist array. Everything else goes fully automated.
I wanted to share it with you guys, and ask if you saw any bugs, or if you would like to see some features added. If so, let me know and I will implement them if I can. I was surprised at how easy this was actually.
Now I have found one bug in the player pretty big one in a way. When the mp3 is loading and you presss the pause button then play again BEFORE the sound file has finished downloading the player skips to the next track and starts loading the next track.
Is their a way to disable the button when a track is loading?
I have checked the bug you reported, but it didnāt skip tracks for me. However, it did stop preloading, and thatās a bug too of course. Thank you for noticing !
Just a follow on from the last bug when I have tested on a modem I find if I press the pause button then the play button it stops preloading as you stated andall the track names cycling throug fast in a loop like their is looping also the play pause button keeps flicking between pause play.
I will try and screen capture it for u so you can see it.
It also happens with the example page you have supplied.
Iāll look after the bug, I wouldāve done it earlier but Flash crashed and I didnāt feel like firing it up again I think Iāll fix this by disabling the controls while itās preloading ā¦ Yeah, thatās what Iām gonna do.
Yeah I think that is the easiest, but I think it would still be cool to have the skip track buttons active so people can skip tracks they hate and donāt have to waste bandwidth on tracks they think bite.
Anyway I have to do some last minute christmas shopping.
Wow, itās excellent. The best Iāve done was a āclassicā stream, for a websiteās jukebox. The only suggestion I have (Itās a cool one, not too hard to make) would be to have a seek bar. Can just make it by placing a little moive/draggable box on the load bar. You already have all the variables for the time elapsed, and total time, right?
Or define a function on the first frame, if you want. It makes it good 'n interactive.
The volume bar; when I drag it one pixel the sound often changes by two, are you sure itās 100 pixels high? Not a big deal; just saying. If I were doing this Iād eliminate the anti-aliasing on the buttons (not the movie quality), by making their coordinates integers. I guess thatās my design scheme, though, not a bug or anything.
Yeah, I could add that pretty fast. Iām wondering how you can tell the sound increases by exactly 2 I honestly donāt know what size that volume slider is anymore, but it sure doesnāt bother me.
A great job on the mp3 playerā¦ thumb:
But could it be possible to make the mp3 player as in the top right corner as they did on this site? http://turnbox.com/loose/turnbox_flash.html
and maybe with a drop down menu that way you can fit the player in any spot:) :
*Originally posted by Voetsjoeba *
**Yeah, I could add that pretty fast. Iām wondering how you can tell the sound increases by exactly 2 I honestly donāt know what size that volume slider is anymore, but it sure doesnāt bother me. **
*Originally posted by andersom *
**Hey Voetsjoeba,
A great job on the mp3 playerā¦ thumb:
But could it be possible to make the mp3 player as in the top right corner as they did on this site? http://turnbox.com/loose/turnbox_flash.html
and maybe with a drop down menu that way you can fit the player in any spot:) :
Andreas **
Yes it is, all Iād have to add is a dropdown list of the songs. Not that hard, since Iāve already got an array with every data in it. Just a for loop that places it in the dropdown menu, no big deal.
That would be very handyā¦ but i noticed when you come on the site of Turnbox.com, the music starts after a few seconds when itās loaded a small part of the song. Would this be possible in your player?
Thanx for your reply.
Wow dude you rock! I really really reaaaaaaaaaaaaaaaaally like this one. Very Nice! I am currently adding some visuals to the mp3 player. Iām trying to make a real one. You know such a pocket thingy. I got one too, really neat stuff. Iāll post when itās done.
BTW I hope you donāt mind that Iām modifying your brilliant masterpiece Voetsjoeba?
*Originally posted by CoDe-ReD *
**Wow dude you rock! I really really reaaaaaaaaaaaaaaaaally like this one. Very Nice! I am currently adding some visuals to the mp3 player. Iām trying to make a real one. You know such a pocket thingy. I got one too, really neat stuff. Iāll post when itās done.
BTW I hope you donāt mind that Iām modifying your brilliant masterpiece Voetsjoeba? **
So here is a little screenshot of the design. It is still on my harddrive cuz I canāt find a suitable hosting site that will host MP3 files for me. Iāll have a look @ that tomorrow after Iāve installed my new CPU cooler (Coolermaster Aero 7+, WIND POWER MWAHAHHAHAHAHA :evil: ) So anyways back to the screenshot: