The Arcive of vBulletin Modifications Site. |
|
Embed MP3 in post using flash player Details »»
|
|||||||||||||||||||||||||
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>
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 INSTALLED ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Where is the mp3 button? Nice work... will try out.
|
|
#3
|
||||
|
||||
|
Well although AnyMedia and GoldBrick do the same job I love the player! so I will install
|
|
#4
|
|||
|
|||
|
Goldbrick did not play audio on my site.
|
|
#5
|
|||
|
|||
|
Added! Sorry, I forgot to add it.
|
|
#6
|
||||
|
||||
|
I don't know why since the player.swf is exactly the same on GoldBrick
|
|
#7
|
|||
|
|||
|
more likely you might have to rename one of the player. Otherwise, we can't have two mods at the same time.
Can this mod play all kind of audio file extensions or just mp3 format? |
|
#8
|
|||
|
|||
|
Just MP3 as far as I know.
|
|
#9
|
||||
|
||||
|
It worked great the first time. Thanks.
|
|
#10
|
||||
|
||||
|
Quote:
- audio-player.js - player.swf and created the BBCode |
![]() |
|
|