Mini Progressive Download Mp3 Player with scrub bar
This little widget is designed to allow users to listen to a progressively downloading MP3 file with play/pause/scrub bar functionality It’s ideal for listing multiple MP3s on a page and allowing the user to play/pause those which are of interest. It’s also MUCH easier to skin/recolor than the Macromedia MediaPlayback/MediaController/MediaDisplayer Component.
For a more advanced player that uses Flash’s localConnection object and some javascript to ensure only ONE mp3 player on a page can be played at once, please see http://activeden.net/item/mini-progressive-mp3-player-w-scrub-bar-advanced/548
NOTE : To force a download of the MP3 rather than it opening in the OS related media player, some server script is usually required. I didn’t include anything in the Flashden download for this as it’s server dependent (and I added this to Flashden before they were keen to accept PHP /ASP scripts).
There are many helpful pages on the web to show how this is done – a PHP example is here :
http://www.ryboe.com/tutorials/php-headers-force-download
AUTOPLAY : As for the autoplay, it would be as easy as adding :
play_pause_mc.onRelease();
at the end of the code


7comments