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: