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
  #52  
Old 05-14-2010, 08:21 AM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ syrn
That depends on the hoster and their function/restriction on the ddl option. I think for example rapidshare links, with enabled ddl might work, but i have not tested it yet.

@ lemonadesoda
ok, now i understand your intention. I did'nt test this solution, but it might be possible that you can use a "member" ftp link like ftp://usernameass@hostnameort/path/to/mp3//file.mp3.
Another possible solution can be a htaccess protectet folder. But everyone who wants wants to use the MP3 urls in this folder, needs a htacess login.
For a really secure and vbulletin based system, it might be possible to use a database system like donwloads2. You can select a database storage filesystem, so the files can not be found on a open web server location. After Uploading Files to the Database you can use the downloads2 links for the BB Code Player.

But i say it once again: nothing is tested yet.
Reply With Quote
  #53  
Old 07-02-2010, 05:34 AM
Gero50's Avatar
Gero50 Gero50 is offline
 
Join Date: Oct 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for latter.
Reply With Quote
  #54  
Old 07-05-2010, 09:06 AM
hayatt2000 hayatt2000 is offline
 
Join Date: Jul 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool!
1. But is there a chance that it plays also RealPlayer files?

2. What if I attach a file with my post, and thus have no direct .mp3 link, will it work? Or is there a way to have it auto-detect attached mp3s and plays them. (maybe for next release)

3. Arabic text is shown in funny characters in the player (attached image)


Thanks
Attached Images
File Type: jpg ScreenShot143.jpg (3.6 KB, 0 views)
Reply With Quote
  #55  
Old 07-06-2010, 11:02 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting an error generated by v4.0.4pl1 when setting up the BBCode and trying to save it?

Quote:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

* <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>
Any ideas how to fix this?

Thanks ..

Regards,
Badger
Reply With Quote
  #56  
Old 07-07-2010, 10:58 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?

Thanks ..

Regards,
Badger
Reply With Quote
  #57  
Old 07-08-2010, 03:49 PM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Getting an error generated by v4.0.4pl1 when setting up the BBCode and trying to save it?



Any ideas how to fix this?

Thanks ..

Regards,
Badger
I can confirm this for 4.0.4, will have a look for it.
Reply With Quote
  #58  
Old 07-08-2010, 04:13 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olli2k View Post
I can confirm this for 4.0.4, will have a look for it.
Thanks ... :up:

Would love to use the pop-up version for a special podcast area of our forums ..

Will stand by ...

Regards,
Badger
Reply With Quote
  #59  
Old 07-09-2010, 01:55 PM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can bypass the problem by clicking next on the error page. After this, code works fine.
Reply With Quote
  #60  
Old 07-09-2010, 10:59 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olli2k View Post
You can bypass the problem by clicking next on the error page. After this, code works fine.
Thanks .. appreciate that ...

Worked great ...

Any idea how to get rid of the psychedelic "Hake Clan Musik etc etc" graphics that appear in the pop-up?

Our membership demographic is 60+, so I'm not sure they're ready for that.

Regards,
Badger
Reply With Quote
  #61  
Old 07-12-2010, 02:36 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I impose on someone with more knowledge that I certainly have, to provide a player.php module to replace the one in the pop-up version of this mod, that simply shows the player controls against a neutral background color?

I've tried playing with it myself, but have spent hours getting nowhere....

Any help would be appreciated ..

Regards,
Badger
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 12:49 AM.


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.04844 seconds
  • Memory Usage 2,350KB
  • 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
  • (4)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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