Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Embed MP3 in post using flash player Details »
Embed MP3 in post using flash player
Mod Version: 1.00, by majordork82 (Member) majordork82 is offline
Developer Last Online: Mar 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Beta 4 Rating: (33 votes - 4.76 average) Installs: 209
Released: 17 Feb 2008 Last Update: Never Downloads: 19
Not Supported Re-usable Code External Content  

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Keep in mind this replacement code must match the location where you uploaded the audio player on your host.

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	mp3s.gif
Views:	2287
Size:	1.6 KB
ID:	76133  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Embed MP3 in post using flash player majordork82 vBulletin 3.6 Add-ons 42 08 Jan 2010 07:14
Integration with vBulletin Embed Flash Player in Profile hdczns vBulletin 3.6 Template Modifications 6 25 May 2008 02:43

  #166  
Old 10 Apr 2010, 20:21
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Originally Posted by Driven By Shine View Post
The only thing I can think of is where I installed the files.

would this be correct "/public_html/forum/audio"
or should it be "/public_html/audio"
or "/audio"

"audio" being the files with the player.

Can anyone help point me in the right direction.

Thanks
Chris
Ditto.. where do we upload to.?
Example.com/HERE
Example.com/forums/HERE
or.. does it matter.?

Also do we upload the whole "audio-player" folder.?
Reply With Quote
  #167  
Old 16 Apr 2010, 12:22
JohnMcClane JohnMcClane is offline
 
Join Date: Jan 2010
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
Reply With Quote
  #168  
Old 16 Apr 2010, 12:55
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
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?
Reply With Quote
  #169  
Old 16 Apr 2010, 13:05
JohnMcClane JohnMcClane is offline
 
Join Date: Jan 2010
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.
Reply With Quote
  #170  
Old 16 Apr 2010, 13:07
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
I believe you are correct.

Just found this: http://www.vbulletin.org/forum/showthread.php?t=168123

Looks like it could work. Check it out and let us know if it works for you.
Reply With Quote
  #171  
Old 16 Apr 2010, 13:22
JohnMcClane JohnMcClane is offline
 
Join Date: Jan 2010
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?
Reply With Quote
  #172  
Old 16 Apr 2010, 13:27
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
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.
Reply With Quote
  #173  
Old 16 Apr 2010, 13:29
JohnMcClane JohnMcClane is offline
 
Join Date: Jan 2010
Thanks buddy, have a good day

John
Reply With Quote
  #174  
Old 30 Apr 2010, 04:13
metalguy639 metalguy639 is offline
 
Join Date: Jan 2009
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?
Reply With Quote
  #175  
Old 30 Apr 2010, 11:16
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Originally Posted by metalguy639 View Post
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?
Absolutely DOES work with 3.8.4

Demo: http://www.magicthemeparks.com/mk/fo...hread.php?t=51
Reply With Quote
  #176  
Old 21 Oct 2010, 14:43
ryancooper's Avatar
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Beautiful. Worked perfectly!
Reply With Quote
  #177  
Old 27 Nov 2010, 04:35
goxy63 goxy63 is offline
 
Join Date: Oct 2008
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
__________________
VB5-- WHO HAS VISITED TODAY(last 24h) PLEASE VOTE HERE
VB5--FIRST POST ON EVERY PAGE PLEASE VOTE HERE

Last edited by goxy63; 27 Nov 2010 at 06:16.
Reply With Quote
  #178  
Old 26 Dec 2010, 23:17
Keesa Keesa is offline
 
Join Date: Oct 2007
Originally Posted by Schnee View Post
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?
Thought I would just ask this again, I am not clear which version to use of the player?

Thank you
Reply With Quote
  #179  
Old 04 Feb 2011, 10:13
fastcom fastcom is offline
 
Join Date: Mar 2010
Hi,
I want create this bbcode for vbulletin 4.1.x

after complete i have receive vbulletin message

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but it still work so well(in admin Panel)

when use in front end it not work(error: file not found)

here my code:
+ Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I think issue in line:
<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.
Reply With Quote
  #180  
Old 08 Mar 2011, 11:24
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
Originally Posted by metalguy639 View Post
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?

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.
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:58.

Layout Options | Width: Wide Color: