![]() |
Embed MP3 in post using flash player
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> 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 :) |
Where is the mp3 button? Nice work... will try out.
|
Well although AnyMedia and GoldBrick do the same job I love the player! so I will install ;)
|
Goldbrick did not play audio on my site.
|
Quote:
|
Quote:
|
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? |
Just MP3 as far as I know.
|
It worked great the first time. Thanks.:)
|
Quote:
- audio-player.js - player.swf and created the BBCode |
It worked great !!!
sorry, but uploading mp3 file on the server? |
Quote:
Right, thats all there is to it. |
it is not working to me and I did all the steps =(
the player just says "buffering" and nohing else I did it: <script language="JavaScript" src="http://www.wachos.cl/comunidad/audio-player/audio-player.js"></script> <object type="application/x-shockwave-flash" data="http://www.wachos.cl/comunidad/audio-player/player.swf" id="audioplayer4" height="24" width="290"> <param name="movie" value="http://www.wachos.cl/comunidad/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> and I thought the example is wrong =/ beacuse I put it and nothing happened see it by yourselves http://www.2minus2.com/song.mp3 |
THat is not the example. The example is...
[mp3]http://www.2minus2.com/song.mp3[/mp3] Ofcourse the example wont work on this forum because they are not using the tag! Look at the demo here http://2minus2.com/forum/showthread.php?t=223 |
i used that example ([mp3]http://www.2minus2.com/song.mp3[/mp3])
but the file says "error opening file", so i donĀ“t know what to do you say that the songs I want to play on posts have to be on my servers or I can host them on a website?? grettings from chile! |
The MP3 files can be hosted anywhere. Also make sure you are adding the http:// in the address.
|
Thanks, works great!
It's best to upload your own MP3 as the example MP3 because the one provided here does not work. |
Quote:
----------------------- It worked dude! so thanks a lot ^^ god bless you all for your help =) |
Quote:
Haha, glad it works for you now, can you mark it as installed? :) |
ok, sorry, i forgot it xD
|
Thanks!
|
here is a dumb questions, where do you change the bb code? what is a bb code?
<-- total noob and first time doing something like this |
How do you make it autostart? or change color?
|
Sorry for my english..i am speaking german ;)
Verry Nice Addon i am installed...Perfect.... |
Quote:
|
Works excellently. Thank you very much. 5 stars.
|
Installed this and I have an example mp3 on my host... I can pull up the mp3 easily in the web browser. But when I try to link it in the BB code, I always get a "error opening the file". Can any help?
|
Quote:
I studied intensely... the code for the BB... I have it linked properly. The .swf comes up and tries to load the file I have addressed in the [mp3] tag, but always comes up with "error opening the file". I make sure the complete url (including the http://) is in the addy. I can not figure out what could be the problem... anyone? |
Very nice...
|
Hey the code works well for me but when i hit the play button, not only it starts to play but it opens up another window with another player and that too starts to play- automatically, any ideas how to fix this?
|
oooh
very nice mod I'm installed thanks sr |
Can I change color?
|
Quote:
|
The main thing people are doing wrong is putting the wrong link back where the script is located. It's not the BB part that people are messing up on. Make sure your linking to the exact location of the script.
|
ty so much. this bbcode is working perfectly.
I would love to let the player start automatically. any idea on howto? regards and again ty pls apologises for my terrible english ciao |
Quote:
note that the address inside the mp3 tags should be inserted raw (should be black and not blue underlined as the parsed links are) and it will work perfectly ciao |
You must follow the instructions perfectly. This is a very picky BB code and everything must be perfect for it to work right. This includes adding "http" in your links, using the right directory for the BB code and so on. Remember if you want faster responses you can go to my demo page I posted in the first post and you will get a quicker response there :D
|
Real dumb question... where do I upload the button too?
nevermind, I found it :) i'm so slow |
Great!
|
Quote:
Or do you use another way of emmedding it inside the posts? Thank you! |
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|