|
Home-brewed Flash MP3 player
2007.03.16 9:38 PM
I’ve finally finished my own Flash-based MP3 player for my site (specifically for the music section). Let me give you a little tour… The image you see above is an image (for now) of the new player. Pretty spiffy eh? While you can click on it to load the real player, I strongly advise against it for the time being. Take the time to read through this post first – and you’ll eventually get to play with it with a written commentary below. I’ve included what I thought to be the more useful stuff a person would normally look for in a player. Aside from the regular stuff (title, play/pause/stop, etc.) here’s some more: 1. Comprehensive/Interactive seek bar You notice that the bar has 3 colors. The darkest is of course just a placeholder. The next darkest shows how much of the song has actually loaded. Finally the lightest bar is how much of audio has been played.
How about we do a little hands-on demonstration? Click on the image to load the actual player and let us continue the tour…2 Now that you’ve clicked on the image and loaded the real player, you should be loading/listening to the song called “Jaded.” Now try the play/pause button. Pretty simple functions, but try mousing-over the volume icon. Like the seek bar you can also drag or click at any point on that volume meter that just popped up. Also try clicking the actual volume button to toggle the mute state. Not only does the level bar reflect the mute/unmute state, but it will un-mute to the last set volume. So if you turn the volume down a bit… then mute it. Un-muting it will return you to your last volume setting. There’s also a little detail that if you drag/click the volume to 0, it will then set it to mute automatically. But when you un-mute it, it will resume full blast. The reason for this is because it’s counter-intuitive to return to 0 volume when returning from a muted state. The filesize information chooses whether to display in KiloByte or MegaByte. As of now the song obviously shows 3.67MB. Try loading this file, and you’ll see it display in KB3 It’s a lot of these “little details” that actually made me take so long to finish programming this damn thing – but I think everything came together nicely. As the way it performs, and the information it displays is very intuitive. post updated on December 12, 2008 @ 10:56 am |

