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 |
#162
|
||||
|
||||
No problem Chris, glad I could help a fellow admin!
|
#163
|
||||
|
||||
This works in 4 with no problems
|
#164
|
||||
|
||||
Yap. It works on vB4.
By the way. do you know if it's possible to have a player like this on mp3 Attachments? |
#165
|
||||
|
||||
I'm waiting for someone to make a mod. I wish I knew how.
|
#166
|
|||
|
|||
I can't get this to work on v 3.8.5
I am trying to reinstall it, but the link to download the player is unclear to me... do I need the standalone version? Has anyone had success with this? |
#167
|
||||
|
||||
Quote:
Example.com/HERE Example.com/forums/HERE or.. does it matter.? Also do we upload the whole "audio-player" folder.? |
#168
|
|||
|
|||
Would it be possible to have a bbcode icon in my toolbar that members click and a sound is already inserted? For example - if I click on an icon that says "lol" in the image, the following will be inserted into the post editor;
[mp3]http://www.mysite.com/clips/lolsound.mp3[/mp3] It would be great if someone could help! All the best, John |
#169
|
||||
|
||||
John, I'm sure there has to be a way to do something like that.
One possible solution would be to use the built-in replacement variable option. This would automatically enter that mp3 file into all posts when someone types the letters "LOL". Go to AdminCP >> Styles and Templates >> Replacement Variable Manager Select the style you'd like to use this replacement variable on and then click on Add New Replacement Variable. Once you are there, type the LOL next to the space named Search for Text. And, in the Replace with Text space type out your mp3 code: [mp3]http://www.mysite.com/clips/lolsound.mp3[/mp3] After you save, type out a test post (or search another post with LOL in it already) and it should turn into the link to the mp3 file. Would that work for you? |
#170
|
|||
|
|||
To avoid it accidentally happening, would it be possible to have the "search for text" field with something like {LOL} ?
Also, I'm sure I saw it somewhere but is it possible to have the player just show the "play" triangle button instead of the entire thing expanding? Does that make sense? For this type of use, it's not really pretty to have a thread with the players everywhere. |
#171
|
||||
|
||||
I believe you are correct.
Just found this: https://vborg.vbsupport.ru/showthread.php?t=168123 Looks like it could work. Check it out and let us know if it works for you. :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|