Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Embedded MP3 Attachment Player Details »
Embedded MP3 Attachment Player
Mod Version: 1.00, by ericgtr (Coder/Designer) ericgtr is offline
Developer Last Online: Jun 2016 I like it Show Printable Version Email this Page

vB Version: 4.0.3 Rating: (16 votes - 4.94 average) Installs: 88
Released: 17 Apr 2010 Last Update: 18 May 2010 Downloads: 766
Not Supported Template Edits Re-usable Code  

This is a simple modification that will embed an "attached" MP3 player so the file can be played inline. It uses a simple flash player from Google. There are many MP3 player mods but none that I could find that would actually play an attached file and in my community this was a the most missed feature since the upgraded to 4.x.

Unzip and then upload the attached audio_player.swf to your server, then modify the path where it says http://www.YOURSITE.com accordingly.

Open up postbit_attachment and add this at the very bottom:

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

I have added a register option for guests, if you have attachments viewable by guests though feel free to strip that out of this code.

Download Now

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

Screenshots

Click image for larger version

Name:	mp3_player.jpg
Views:	2548
Size:	106.6 KB
ID:	115921  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks aMP3 - (mp3 attachment player) Coders Shack vBulletin 3.6 Add-ons 91 19 Jan 2015 21:14
New Posting Features Tigur MP3/Media Player Post Integration - Integrate MP3/FLV Player into Post Tigur vBulletin 3.6 Add-ons 37 11 Sep 2011 14:58

  #31  
Old 23 Apr 2010, 02:29
Gamertype Gamertype is offline
 
Join Date: Mar 2010
Is there a way to limit what usergroups can upload mp3's as attachments?
Reply With Quote
  #32  
Old 23 Apr 2010, 03:10
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by Gamertype View Post
Is there a way to limit what usergroups can upload mp3's as attachments?
Sure, Admin CP > Attachments > Attachment Permissions.
Reply With Quote
  #33  
Old 23 Apr 2010, 09:07
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Real name: Rob
Originally Posted by AURFSCAN View Post
Originally Posted by junaid

I have many attachment types like zip, tar etc
Is it possible to set player view only MP3 attachment type?


to have the player only visible for mp3.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thank you muchly, worked a treat.
Reply With Quote
  #34  
Old 23 Apr 2010, 12:13
junaid junaid is offline
 
Join Date: Oct 2005
Originally Posted by AURFSCAN View Post
Originally Posted by junaid

I have many attachment types like zip, tar etc
Is it possible to set player view only MP3 attachment type?


to have the player only visible for mp3.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thank you very much
it work fine
__________________
My forum
Reply With Quote
  #35  
Old 23 Apr 2010, 14:04
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Real name: Rob
To get this to work in IE code below is working for us.


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


Last edited by Orakk; 23 Apr 2010 at 14:14.
Reply With Quote
  #36  
Old 23 Apr 2010, 15:55
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
You have an error in your coding. The wmode parameter should be set to transparent, not window. Otherwise, any DHTML menus will drop behind the mp3 player.

Originally Posted by Orakk View Post
To get this to work in IE code below is working for us.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Reply With Quote
  #37  
Old 27 Apr 2010, 19:37
Gamertype Gamertype is offline
 
Join Date: Mar 2010
Originally Posted by ericgtr View Post
Sure, Admin CP > Attachments > Attachment Permissions.
I have my mods/admins set to a 50MB upload and VB keeps failing? Any reason why?
Reply With Quote
  #38  
Old 27 Apr 2010, 20:26
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Real name: Goran
Originally Posted by Gamertype View Post
I have my mods/admins set to a 50MB upload and VB keeps failing? Any reason why?
Same reason as me as mentioned at previous page of this thread.

After contacting server host and telling them about the problem, they fixed it at their end. I suggest you try the same.

Here is the live demo, works perfect now:

http://ghostriders-thailand.com/foru...ts&p=69#post69
__________________
My HOME PAGE & FORUM

Reply With Quote
  #39  
Old 28 Apr 2010, 02:40
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Real name: Rob
Originally Posted by syrus.xl View Post
You have an error in your coding. The wmode parameter should be set to transparent, not window. Otherwise, any DHTML menus will drop behind the mp3 player.
Thank you, will fix.

Cheers.
Reply With Quote
  #40  
Old 29 Apr 2010, 15:06
mactelesis mactelesis is offline
 
Join Date: Sep 2007
Where is "postbit_attachment" located?
Reply With Quote
  #41  
Old 30 Apr 2010, 02:50
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Real name: Goran
Originally Posted by mactelesis View Post
Where is "postbit_attachment" located?
Go to vBulletin ACP -> Styles & Templates -> Style Manager (choose your current style)

At "All style Options" click that small arrow down and you'll see Template Options -> Edit Templates -> Postbit Templates -> postbit_attachment
__________________
My HOME PAGE & FORUM

Reply With Quote
  #42  
Old 30 Apr 2010, 03:31
milaszewski milaszewski is offline
 
Join Date: Jun 2008
It's fantastic! Finally!
It works great!

I would love to see it working for inline attachments too! Any ideas?
Reply With Quote
  #43  
Old 10 May 2010, 15:56
Senja Senja is offline
 
Join Date: Jun 2009
Attachment Manager - mp3 11000000 bytes

The problem with uploading a file larger than 1MB.
More than 1MB not loaded

Last edited by Senja; 10 May 2010 at 16:10.
Reply With Quote
  #44  
Old 18 May 2010, 20:36
AURFSCAN AURFSCAN is offline
 
Join Date: Jan 2008
Thanks for this ericgtr, It was good while it lasted but time to give google the flick....

Your google player works perfectly but our ol favourite is back and running sweet

http://www.vbulletin.org/forum/showthread.php?t=242738
Reply With Quote
  #45  
Old 18 May 2010, 20:58
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by AURFSCAN View Post
Thanks for this ericgtr, It was good while it lasted but time to give google the flick....

Your google player works perfectly but our ol favourite is back and running sweet

http://www.vbulletin.org/forum/showthread.php?t=242738
I've already updated this mod with a new player once, but have added the player for download.
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 07:02.

Layout Options | Width: Wide Color: