Newest Articles

MegaCombs
Flash Media Player
XML Driven Pie Chart
Base Defender
Hangman Game
8 Ball Pool


Popular Articles

True Fullscreen Flash Mode
Mp3 Player with XML Playlist
Hangman Game
Create Pong
3d Rotating Image Cube
Catapult Game


Random Articles

Flash Media Player
Disappearing Button
Drivable Car
Page Flipper
Custom Mouse Cursor
Bouncing Ball with Smoke Effect


Links

Shapes the Game
Reddit
Newgrounds
TWiT
Link to SwfSpot
Swf Spot

Contact me on Google+



rss feed

Music Player

Music Player
AddThis Social Bookmark Button
Description: Create an MP3 player with many features
Author: John Bezanis
Added: February 5th 2007
Version: Flash 8


Music is loaded using the GET parameter song. The ID3 info of the song is loaded into the display box, and if no ID3 info is available, the display box shows the file name. While the music loads, it also streams. A download progress bar is shown to display the download percentage. The music can be fast-forwarded or rewinded using the slider bar. There are buttons to change the volume to levels 100%, 80%, 60%, 40%, 20%, and mute. There are also pause and play buttons.
Use code similar to this on your site:
<object data="http://www.somesite.com/musicplayer.swf?song=http://www.somesite.com/somesong.mp3" type="application/x-shockwave-flash" width="250" height="40"><param name="movie" value="http://www.somesite.com/musicplayer.swf?song=http://www.somesite.com/somesong.mp3"/></object>

The source file is available below for download.

Download Source File
Comments Currently Disabled