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
  #22  
Old 03-17-2010, 03:55 PM
mfbmike mfbmike is offline
 
Join Date: Nov 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also had to edit the path but works great on my forum. Thanks.
Reply With Quote
  #23  
Old 03-24-2010, 06:41 PM
chipc0i chipc0i is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

auto play
add
Code:
<param name="FlashVars" value="playerID=audioplayer&amp;loader=0xC52C24&amp;autostart=yes&amp;soundFile={param}">
Reply With Quote
  #24  
Old 04-11-2010, 08:19 AM
calvinnguyen calvinnguyen is offline
 
Join Date: Nov 2003
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code didn't work with vb4.0.3
Reply With Quote
  #25  
Old 04-13-2010, 02:26 PM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calvinnguyen View Post
This code didn't work with vb4.0.3
Sry there, but atm i have no working 4.0.3 installation of vB4. I will update in 2-3 weeks and then i will have a look for it.
Reply With Quote
  #26  
Old 04-13-2010, 05:46 PM
junaid junaid is offline
 
Join Date: Oct 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB4 4.0.3b it work fine
full url not work
Reply With Quote
  #27  
Old 04-15-2010, 09:51 PM
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olli2k View Post
DEMO: http://www.hake-clan.de/showthread.p...ull=1#post2484

I did a pop up version of this one now. So user can open the song and go on surfing while listening to the mp3.

Installation: (i will only list the difference to the post in line version)

In the package there are now much more files. Feel free to edit the player.php Gfx for your style and forum. Upload all files to your forum root.

Title: MP3 Popup
BB Code Tag: mp3p (just if you want to use both versions of the player, otherwise you can choose mp3)

Replacement:
Code:
<a href="#" onClick="window.open('/misc/audio-player/player.php?mp3={param}','Player','width=300,height=140,scrollbars=no,location=no,resizable=no,left=50,top=50'); return false";><img src="/images/editor/playicon.png" width="81" height="24" border="0"></a>
Example:
Code:
[mp3p]http://url.de/track.mp3[/mp3p]

Button Image:
Code:
images/editor/mp3p_bb.png
Thats it.
Im'sorry if Im just being dence, however I am very confused as to were this "additional code" for the popup goes.

I am able to get the MP3 bb code to work, but only with mp3's uploaded to the same folder as the player. Is this what I should expect?

I primarily would like to be able to play mp3 and wavs attachments, However A popup jukebox would be fantastic, If I could prevent downloads by non members.

Thank you for your work.
Reply With Quote
  #28  
Old 04-16-2010, 05:21 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks
Reply With Quote
  #29  
Old 04-16-2010, 07:16 AM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rootsxrocks View Post
Im'sorry if Im just being dence, however I am very confused as to were this "additional code" for the popup goes.
The is no additional code, it is a complete other "replacement". So just put in the whole code in the replacement box and it should work.

Quote:
Originally Posted by rootsxrocks View Post
I am able to get the MP3 bb code to work, but only with mp3's uploaded to the same folder as the player. Is this what I should expect?
No, you should nor expect this. The Player is able to play everey MP3 file with a complete url with no freespaced in it. for example
Code:
[mp3]http://url.com/track_1.mp3[/mp3]
works, but
Code:
[mp3]http://url.com/track 1.mp3[ /mp3]
will not work.

Did you noticed this hint?
?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.


Quote:
Originally Posted by rootsxrocks View Post
I primarily would like to be able to play mp3 and wavs attachments, However A popup jukebox would be fantastic, If I could prevent downloads by non members.
I tested some attachment urls with the player and for me it worked. But you can never protect your files with this system! For the inline player there are some easy way, to get the mp3 url and in the popupversion you can easily get from the url. by using the attachment urls for the files you can prevent non member downloading your files but not your member who are allowd to download files.

A popup jukebox with bb code and multiple files seems to be impossible, because of the limited use of parameter in the standard system. But if you want to have a general jukebox for your site look at this: http://www.hake-clan.de/entry.php?2-...ist-generation!)
Reply With Quote
  #30  
Old 04-16-2010, 06:26 PM
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Olli2k,
I will try more mp3s, as the test ones did have spaces aka %20 I will attempt that again. However note that those with % 20 did play when they were within the same folder on the server.

Yes, I did notice and I was able to repair the absolute full path problem.

I will attempt the attachments again, however the URL isn't very simple to copy with the new attachment system.

Thank you for the Link, I was looking at that and may still use it. However I must worry about copyright, as I have an enemy that watches closely looking for mischief to report. Also I would like to be able to present local artist Play list who may have downloads for sale or in conflict with recording contracts, were I need to protect from becoming a distributor of bootlegs., not the most important.

I do wish I could restrict the use of the auto play to myself alone. but I'm not sure how to do that.
Again Thank you for your help, I will return after I try the suggestions
Reply With Quote
  #31  
Old 04-17-2010, 08:01 AM
calvinnguyen calvinnguyen is offline
 
Join Date: Nov 2003
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had try to used
Code:
[mp3]http://url.com/track_1.mp3[/mp3]
but when I click play, it is show the message " file not found"

I give correct my files mp3 link correct, but still didn't work. I don't know why.

Note that before my forum upgrade to vb 4.0.3, it was working very well on vb 4.0.2.
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 06:16 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.08633 seconds
  • Memory Usage 2,352KB
  • 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
  • (11)bbcode_code
  • (5)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
  • (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