Embedded Flash MP3 Audio Player
This isn’t the definitive reference for Podcasting on your website, but it will help you post an MP3 to any website using a slick little Flash player. This article will be expanded as features are added.
Steps:
- Download this MP3 Player for WordPress: http://www.1pixelout.net/code/audio-player-wordpress-plugin/
- Unzip the files and upload only player.swf and audio-player.js to your website.
- Upload the MP3 to your website (sampling rate of either 44.1 kHz or 22.05 kHz)
- Add the HTML for the player to the page you want it on, adjusting the variables for your own URLs
<SCRIPT language=”JavaScript” src=”http://www.domain.com/audio-player.js“></SCRIPT><object type=”application/x-shockwave-flash” data=”http://www.domain.com/player.swf” id=”audioplayer1″ height=”24″ width=”290″><param name=”movie” value=”http://www.domain.com/player.swf”><param name=”FlashVars” value=”playerID=audioplayer1&soundFile=http://www.domain.com/music.mp3“><param name=”quality” value=”high”><param name=”menu” value=”false”><param name=”wmode” value=”transparent”></object>
The code for this How To came from this excellent resource: http://www.macloo.com/examples/audio_player/
Note: If you want to use more than one player on the same page, simply create a unique id for the Object (audioplayer2 works) and the FlashVar playerID.
Note: If you use Blogger, you will need to place the SCRIPT tag into the Blogger template inside the HEAD tag. See link above for an example.
Note: You can also change the colors, loop or auto-start….click here