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 |
#172
|
|||
|
|||
Okay, I've just tested this and it works (to an extent) but for some reason when I enter the text, and hit post - it shows up the code like this in the actual post-
[mp3]http://www.site.com/audio/sound.mp3[/mp3] After a refresh it's still the same. But if you click "Edit post", change nothing and then hit "Save" it's fine and it shows. Quite annoying Do you know why or of another way we can do this? |
#173
|
||||
|
||||
Hmm...interesting. I have to head to work, but if I think of anything I'll drop by this thread and give you a suggestion.
|
#174
|
|||
|
|||
Thanks buddy, have a good day
John |
#175
|
|||
|
|||
Absolutely positively does NOT work. Using vb 3.8.4. It will not embed the file into the post. I've tried everything I can think of. Does anyone know of one that does work in posts?
|
#176
|
||||
|
||||
Quote:
Demo: http://www.magicthemeparks.com/mk/fo...hread.php?t=51 |
#177
|
|||
|
|||
Beautiful. Worked perfectly!
|
#178
|
|||
|
|||
works with vb4 just great
was wondering is there any way to play from a link like this: http://www.spreadtheonavirus.com/classicona/O&A Bits/Arnold Prank Calls/Arnold Prank Calls - Arnold calls Arnold Pizza.mp3 Note those spaces in link, in a browser I can open that link and play mp3 file but within tags on my site I just cant (spaces) Think I got it, if i place "%" where I have space it will play, but who can make users to do that? http://www.spreadtheonavirus.com/cla...ld%20Pizza.mp3 nope its not working with "%" within BB code |
#179
|
|||
|
|||
Quote:
Thank you |
#180
|
|||
|
|||
Hi,
I want create this bbcode for vbulletin 4.1.x after complete i have receive vbulletin message Code:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes. <script language="JavaScript" src="http://mysite.com/audio-player/audio-player.js"></script> <object type="application/x-shockwave-flash" data="http://mysite.com/audio-player/player.swf" id="audioplayer4" height="24" width="290"> <param name="movie" value="http://mysite.com/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> when use in front end it not work(error: file not found) here my code: + Replacement: PHP Code:
<param name="FlashVars" value="playerID=4&soundFile={param}"> I have tried some option custom <param name="FlashVars" value="playerID=4&soundFile= "{param}"> or <param name="FlashVars" value="playerID=4&soundFile='{param}'"> or <param name="FlashVars" value="playerID=4&soundFile=\"{param}\""> but it's not work who can let me know can I fix Thank so much. |
#181
|
||||
|
||||
Quote:
has to be something to do with the server or some shit. none of the mp3 mods are working. everything is correct %100. the mp3 works in bb code test in admin but not out on the forums, driving me nuts. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|