![]() |
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/#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> 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 :) |
Looks good. Reminds me of the one i used in 3.6.8 ... Thanks alot for sharing.
|
nice hack fam
|
just a quick note about how this works, you must include the "http" in the url.
Installed :) |
<a href="http://www.rhythematics.com/forums/showthread.php?p=30#post30" target="_blank">http://www.rhythematics.com/forums/s...hp?p=30#post30</a> doesnt work =/
i tried it on da 2nd post |
Try unlinking your links before you post and make sure the string is all in one line like this
Good Code:
[mp3]http://www.2minus2.com/song.mp3[/mp3] Code:
[mp3] Code:
[mp3] |
Working great for me. See attachment
Mus.t be a problem with how you've configured it. |
Quote:
|
got it working thanks
|
Good deal! Let me know if you have any issues :)
|
Quote:
I see its turned into mp3, no longer stream. good idea. does it only handle mp3's? |
As far as I know only mp3's. If you find otherwise please let me know.
|
Is it possible to have MP3's automatically play in profile with something like this I would love a mod like that it has been highly requested as well :)
|
Quote:
|
Installed straight out of the box with no problems.
Thanks majordork82 .. clicked install. |
Yeah this is pretty simple and works fantastic!
|
Interesting.
Is there a way to make this 'automatic'? I'd like to have a forum that imports feeds from podcasts, but currently the links to the audio file aren't in a format that make it easy for my forum members to click and listen. Can this mod be used to 'automatically' post audio files with the flash player? If someone will take this on 'for a fee', let me know. Thanks. |
I'm sure it can be done but thats a whole new mod in itself :)
|
I really like it... java :)
|
Glad you lile it! I'm working on another one right now.
|
mine says cannot find file :(
Im sure its all done right... |
Easy install, works great.
Buddabing Buddaboom! Thanks ! |
we still use 3.6.8 VB
so where can i find the download "flash player" for 3.6.8 ? Thanks you are u updating it for 3.7.0 v 5 ? |
It will work for any version.
|
as i see we cant use more than 1 player in the same page...
i need to use options to use 1, 2, 3, 4 player in the same post :P for this: id="audioplayer{option} [mp3=1]url1.mp3[/mp3] [mp3=2]url2.mp3[/mp3] [mp3=3]url3.mp3[/mp3] and if i just want to use one player i got and error :P im trying to find a way... |
Yes. If you want more than one in a post you have to give each one its own unique ID. :)
|
yeah, im using option
ty m8! |
No problem. I am working on more now :)
|
Can you include instructions on where to upload the tag button .gif?
Thanks! |
I changed the bbcode graphic so it has a transparent background.
It may help some people. |
Thx :)
Works fine but I get an error message saying: illegal character GIF89a Edit: and one error message more: ap_stopAll is not defined null javascript:ap_sto... (line 1) |
That's the first report of errors... where are you seeing those errors and or can you take a screenshot?
|
I like this way to have a MP3 player much better. Automatically makes attached MP3s into flash player and you can have multiple players. Can be uploaded or linked.
https://vborg.vbsupport.ru/showthread.php?t=161567 |
thanks
|
Very simple install, got it working first try with no fuss. Thanks for the great how-to!
|
What do I use as the button?
|
Thanks very much, have installed on 3.67PL1 and works great, a nice neat solution. :)
|
i have tried to implement this but the mp3 player doesnt appear in the post, i no its there tho becuase IE says press spacebar to use enable when you hover it, my replace code is
Code:
<script language="JavaScript" src="http://www.leylandforum.co.uk/audio/audio-player.js"></script> the path to the mp3 song is www.leylandforum.co.uk/rocketman.mp3 and i have insert the tags as follows Code:
[mp3]http://www.leylandforum.co.uk/rocketman.mp3[/mp3] |
Hi, this mod can be used with a music files on the pc? (with a upload)
|
just wondering: where i should put the audio player? into my forum root?
|
All times are GMT. The time now is 06:05 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:
|