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 |
#132
|
|||
|
|||
Great mod. I would like a little bit help though.
I want to embed the mp3 using the [attach]xxx[/attach] tag so the users can only see the player and not the attach link. I know that in our times it is hard to prevent the downloading, but it is exactly what I want. Let me be more specific. 1. The user Create New Thread/post 2. The user upload the mp3 attachment. (now the url of the attachment is something like this: Code:
http://mysite.com/forum/attachment.php?attachmentid=xxxxx&d=xxxxxxxxxxxxx Then he select the url he just pasted and press the mp3 bbcode button. The result is this: Code:
[mp3]http://mysite.com/forum/attachment.php?attachmentid=xxxxx&d=xxxxxxxxxxxxx[/mp3] If the user want just to put it in the post for other user to hear it only with the player, then, like in the [attach]XXXX[/attach] method, the attachment is placed between the text and the url in the end of the post disappears...!!! Thats what I want. I want a bbcode to be able to play the mp3 attachment using the below bbcode so the mp3 link "disappear" and only the flash player is available. Here is what I want: Code:
[mp3][attach]XXXXX[/attach][/mp3] How can I do it? |
#133
|
||||
|
||||
Quote:
|
#134
|
||||
|
||||
OK folks.
I couldn't make this (or anything similar) work for the life of me. Then I had an epiphany. Having already installed MP3 Player in Profile, the 1pixelout flash player already existed on my server! Therefore, for whatever reason, calling the new one wouldn't work. So I simply changed all of the file paths in the replacement code to that of my existing player. VOILA! I removed the duplicate player from my server, and I'm pleased as punch. Hope this helps somebody out. *Installed* |
#135
|
|||
|
|||
download link pleas
|
#136
|
||||
|
||||
Nwq, what download link are you looking for? The download link for the player is in the 1st post (description of mod).
|
#137
|
|||
|
|||
Thanks so much--this looks great in my podcasting sub-forum!
|
#138
|
|||
|
|||
Thank you so much, it works great with vB 3.8.1
TOP! greetings Karin |
#139
|
|||
|
|||
Can someone kindly elobrate this trick. How to do it?
I am trying to post 10 parts of one album. Quote:
|
#140
|
|||
|
|||
It works with the latest 2.0, just download from http://wpaudioplayer.com and replace the old files =)
And it is possible to have more then 1 player =) no options or anything needed.. just [mp3]http://test.net/mp3/test1.mp3[/mp3] [mp3]http://test.net/mp3/test2.mp3[/mp3] |
#141
|
|||
|
|||
I can only get one song to work at a time, and that's by adding the link to that song within the BB code.
I needed to show two songs, so I had to make a new BB code, the same as the first, but with a different url within the BB code. It has worked out great on Internet Explorer, but on FireFox the songs get ruined and distorted. Anyone else experiencing this? Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|