Embed MP3 in post using flash player

This is somthing I created rather quickly because I wanted somthing small and effective for streaming MP3's in a post. I was searching the net for a nice small MP3 player to embed into a post and I found a nice FREE one over at 1pixelout.net. I did NOT create the player, I only created the BB code for this hack.

This takes about 2 minutes to prepare and get working.

Follow these steps

1. Download the Audio Player here http://www.1pixelout.net/code/audio-...ugin/#download

2. Unzip and upload the files for the player to your host.

3. Add new BB code with the following information

Title: FlashPlayer

Tag: mp3

Replacement:


Code:
<script language="JavaScript" src="http://www.yourhost.com.com/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.yourhost.com/audio/player.swf" id="audioplayer4" height="24" width="290">
<param name="movie" value="http://www.yourhost.com/audio/player.swf">
<param name="FlashVars" value="playerID=4&soundFile={param}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>Keep in mind this replacement code must match the location where you uploaded the audio player on your host.

Example: [mp3]http://www.2minus2.com/song.mp3[/mp3] *"http://" must be added for this to work properly.

Use Option: No

Button Image: See attachment

How to use: Simply find a link to an mp3 file and wrap the tags around it! Thats it!

DEMO: MP3 Demo - 2minus2

For any support on this code please refer to the demo thread on my site.

BE SURE TO CLICK INSTALLED
 
Back
Top