The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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/#examples 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.hd-trailers.org/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! That's it! BE SURE TO CLICK INSTALLED Show Your Support
|
Благодарность от: | ||
goxy63 |
Comments |
#142
|
|||
|
|||
I get absolutely NOTHING from this!
I've copied the code, made the mods for my own site - and when I run it, I get an empty post. Is it a problem with the code, or a problem with the file I am trying to load?? Any ideas?? |
#143
|
||||
|
||||
Sorry, wrong thread.
|
#144
|
|||
|
|||
Thanks!
|
#145
|
||||
|
||||
I had alittle trouble at first but i did not have the path correct. Once i got that straight it was all good. Thanks!!
Great hack!! Keep them coming... |
#146
|
||||
|
||||
Works great on 3.8.4 :up:
Here's a link to a demo (scroll the the bottom of the first post): Disney Magic Kingdom Forums |
#147
|
||||
|
||||
Just used this HOW TO GUIDE in order to change the colors and it's working great!
Also using the information from this page to show the code on custom pages such as this one: Disney's Magic Kingdom Attraction Page |
#148
|
|||
|
|||
Thanks magicthemeparks,
Hi I am new at all this yet have managed to install quite a few mods to my VB forum. But I am having a few problems with this one. I seem to have it working fine if I upload the mp3 file to the server, I thought this was ment to work from any mp3 url. Have I got it wrong.???? At the bottom of this page there are two examples and the one on the net just keeps buffering. http://www.paintcorrection.org/forum....php?t=13&p=48 I have read here that a few have had similar issues, could anyone shed some light on this. The only thing I can think of is where I installed the files. would this be correct "/public_html/forum/audio" or should it be "/public_html/audio" or "/audio" "audio" being the files with the player. Or do I just have it totally wrong and should stick to car detailing LOL Can anyone help point me in the right direction. Thanks Chris |
#149
|
||||
|
||||
I noticed that the 2nd test post you made worked. Congrats! :up:
From what I understand, you can't use two mp3s in the same post like you did in the first post. I remember reading about having to have the 2.0 version of the audio software before being able to do that. That might be it. |
#150
|
|||
|
|||
Quote:
I also thought I couldnt do two in a post and have had just the one but still no difference. Ive had both of the files on my host in the same post and they both work, but Im not sure anymore. You will be able to help me though with this, how do i follow the instructions you put up in regards to the colours and inserting the code with "no hard returns" Chris |
#151
|
||||
|
||||
I can help you with the colors, no problem
Edit the BBCode and be sure and place all of these adjustments to the colors where you see the RED text and with no spaces or line breaks..... 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&RIGHT_HEREsoundFile={param}"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> </object> ....where I placed "RIGHT_HERE", simply place the codes for the different areas of the player that you'd like to adjust. You can also control the autoplay or loop features of the player as well. Here are the codes... Code:
bg=0xf8f8f8& leftbg=0xeeeeee& lefticon=0x666666& rightbg=0xcccccc& rightbghover=0x999999& righticon=0x666666& righticonhover=0xffffff& text=0x666666& slider=0x666666& track=0xFFFFFF& border=0x666666& loader=0x9FFFB8& loop=no& autostart=no& |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|