Embed MP3 in post using flash player

SpeedRazors

New Member
Version: 1.0.0
vB Version: 3.7.0 Beta 4

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-player-wordpress-plugin/#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:
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: http://2minus2.com/forum/showthread.php?p=3405#post3405

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

BE SURE TO CLICK THANKS
 

darkmoon34

New Member
this hack good but most of music web sites give the serv like this for example emeem jagg and like that why can we use our host and use our bandwith if you put emmem or jagg bbcode yoursite you should upload your music there and you play with embed code your site this way you should save your bandwith too and save your musics long time cause emmem or jagg not delete any music easyly if anyone not complain
 

2010

New Member
darkmoon34 said:
this hack good but most of music web sites give the serv like this for example emeem jagg and like that why can we use our host and use our bandwith if you put emmem or jagg bbcode yoursite you should upload your music there and you play with embed code your site this way you should save your bandwith too and save your musics long time cause emmem or jagg not delete any music easyly if anyone not complain

theres other hosts you can use besides your own like fileden, or odea. also you dont have to deal with a sloppy player because this is so small
 

NAZIA

New Member
Nice Work...
I am Uploading the Player files here just upload the files in your host and ad BBcode
 

dudeguy

New Member
yes i seen that one thank you, but i want the flash player exactly like that one at the qualitygaming site.
 

leonpadi

New Member
Hell guys!
Great Mod!
I would like to ask you how can we make it work automatically, so when a page loads, the mp3 will autostart.
I had experimented with many options found in the web but no luck

<script language="JavaScript" src="http://www.blablabla.com/forums/audio-player/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.blablabla.com/forums/audio-player/player.swf" id="audioplayer4" height="24" width="290">
<param name="audio" value="http://www.blablabla.com/forums/audio-player/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>

i tried to add...
<param name="autostart" value="true">
<param name="autostart" value="on">
nothing :(

How can we make it start automatically?
 

Deano

New Member
Hi, I'm new here (tell a lie, been lurking but not posting).

Basically, I'm very experienced with embedding and params etc (and html for that matter) but my code has all links in the correct places with the correct link to the file and the BBCode is correct... but I always get 'Error opening file' - any help with this?

Edit: there's something wrong with the coding, slight edit and it was fine.

Thanks for this!!
 
Top