Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup Details »»
BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup
Version: 0.3, by Olli2k Olli2k is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 02-14-2010 Last Update: 02-15-2010 Installs: 159
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

DEMO: http://hake-clan.de/forum/showthread...s-zum-abwinken
POPUP DEMO: http://hake-clan.de/forum/showthread...l=1#post195668
Standalone Player with automatic playlist based on MP3 files in a folder: Here

Just adds an easy to use post bb mp3 player to your vb4.

Installation
Upload all the files and folders from the zip package to your forum root folder.

Go to your admin cp and add a bb custom code.


Title: Mp3 Player
BB Code Tag Name: MP3
Replacement:
Code:
<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290">
<param name="movie" value="/misc/audio-player/player.swf"> 
<param name="FlashVars" value="playerID=audioplayer&amp;soundFile={param}"> 
<param name="quality" value="high"> 
<param name="menu" value="false"> 
<param name="wmode" value="transparent">
</object>

Example
Code:
http://www.url.com/track.mp3
Description: Feel free to add anything what will promote your MP3 Player to your user.

Use {option}: No
Button Image:
Code:
images/editor/mp3_bb.png
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes

Hit "Save" and you are ready to go!

Additional Notes:
The wordpress player is developed by Martin Laine (http://wpaudioplayer.com).
You can add several options to the player. For a complete list please visit: http://wpaudioplayer.com/standalone.

For adding an option you have to edit the: <param name="FlashVars" value="playerID=audioplayer&amp;soundFile={param}" > line.
Example: <param name="FlashVars" value="option1=setting1&amp;option2=setting2&amp;playerID=audioplayer&amp;soundFile={param}">

***************
Popup Version: https://vborg.vbsupport.ru/showpost....05&postcount=5

***************
Troubleshooting:
  • If you got any trouble with the player is not showing up, just replace the relative path by an absolute path to your player.swf.
    Code:
    <object type="application/x-shockwave-flash" data="http://path/to/your/player.swf" id="audioplayer" height="24" width="290">
    <param name="movie" value="http://path/to/your/player.swf">
  • No more text displayed after the code tag: just add a </object> to the end of the BB replacement. At release this line was missin here. Sry!
  • Broken in vb 4.0.3 ??
    Change:
    Disable BB Code Within This BB Code: No
    Disable Smilies Within This BB Code: No
    Disable Word Wrapping Within This BB Code: No
    to:
    Disable BB Code Within This BB Code: Yes
    Disable Smilies Within This BB Code: Yes
    Disable Word Wrapping Within This BB Code: Yes
  • Param Error at saving the BB code: Just pass it, by clicking continue. It is just a format notice, actually there is no other way to solve it.

Download Now

File Type: zip BB_MP3Player.zip (13.6 KB, 966 views)
File Type: zip BB_MP3Player_Popup.zip (62.1 KB, 423 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-16-2010, 02:55 PM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
code what i useing now like this

PHP Code:
<object type="application/x-shockwave-flash" data="http://www.alra7ba.net/vb/images/misc/audio-player/player.swf" id="audioplayer" height="24" width="290">
<
param name="movie" value="http://www.alra7ba.net/vb/images/misc/audio-player/player.swf"> <param name="FlashVars" value="transparentpagebg=yes&amp;playerID=audioplayer&amp;soundFile={param}">
<
param name="quality" value="high"
<
param name="menu" value="false"
<
param name="wmode" value="transparent"
when i use the code
[*MP3].......[*/MP3]

and after it write anything , the post showing just bar of MP3

you can try it plzz feel free and try to add any post there ,use the code MP3

just the text after the code not showing

Wll ok, that was my fault. just have to practise a little bit of copy and paste.

Just missed the last line by c&p the code to vbulletin.org.

Just add a
Code:
</object>
add the end of the code and everything should work fine.

Big sorry for that.
Reply With Quote
  #13  
Old 02-18-2010, 08:37 PM
milaszewski milaszewski is offline
 
Join Date: Jun 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

automatic mp3 attachment player is needed...
Reply With Quote
  #14  
Old 02-19-2010, 01:36 AM
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where does each folder actually go in the forum root? Obviously the images folder doesn't actually go into it, you just move the picture into the right picture, but for misc, do you want us to put that in the misc images folder or just in the forum root as a new folder?
Reply With Quote
  #15  
Old 02-19-2010, 11:39 AM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by milaszewski View Post
automatic mp3 attachment player is needed...
You can use the attachment url for the mp3 tag. Works fine.
Reply With Quote
  #16  
Old 02-19-2010, 11:43 AM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boko577 View Post
Where does each folder actually go in the forum root? Obviously the images folder doesn't actually go into it, you just move the picture into the right picture, but for misc, do you want us to put that in the misc images folder or just in the forum root as a new folder?
Misc is a "new" folder in the forum root dir. I use this misc folder for several addons and plugins. Normally every developer wants to put a new folder in the forum root, but dont like this kind of blasted folders.

But you are free to put the files where you want, you just have to adjust the pathes in the tag code.
Reply With Quote
  #17  
Old 03-04-2010, 05:36 PM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this and it works just i got error , when i press play This error would be shown : File Not Found What's the problem>
Reply With Quote
  #18  
Old 03-05-2010, 09:51 AM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoltanWorld View Post
I have installed this and it works just i got error , when i press play This error would be shown : File Not Found What's the problem>
Well, without any exact description of the problem i can only "calculate" that there are "freepsaces" in your mp3 link. Example www.mp3test.com/this is a test.mp3 should bet www.mp3test.com/this_is_a_test.mp3. I will have a look for this problem next week, but it seems to be a "problem" of the flash player, which is not developed by me.
Reply With Quote
  #19  
Old 03-05-2010, 10:48 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is absolutely brilliant! Thank you for sharing
Reply With Quote
  #20  
Old 03-11-2010, 08:47 PM
rockintoon rockintoon is offline
 
Join Date: Feb 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im having an issue with the pop up player working.
it pops up and says:
Forbidden
You don't have permission to access /misc/audio-player/player.php on this server.
Can you please help me fix it?
Reply With Quote
  #21  
Old 03-15-2010, 10:57 PM
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to use absolute url's for the location of the player too. Not sure why.... but it works

Great plugin!
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11636 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete