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
  #32  
Old 05-04-2010, 07:16 PM
Jazzinto Jazzinto is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calvinnguyen View Post
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.

Really it does not work with the versioin VB4.0.3, I have everything placed correctly and this is what goes out on having placed the post:



Which can be the problem?


Thanks.
Reply With Quote
  #33  
Old 05-07-2010, 04:41 AM
Chuta's Avatar
Chuta Chuta is offline
 
Join Date: Aug 2009
Location: Costa Rica
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It appears to be a vBulletin bug:

http://www.vbulletin.com/forum/proje...?issueid=37578
Reply With Quote
  #34  
Old 05-07-2010, 06:13 AM
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Location: SouthOZ
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hosting the player swf locally this mod is working fine on 403pl1 for us but I do have a question.

An admin on one of our sites has asked me if the download link itself can be removed and just leave the player. Can this be done and if yes, how do I do this?

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

Quote:
Originally Posted by Orakk View Post
Hosting the player swf locally this mod is working fine on 403pl1 for us but I do have a question.

An admin on one of our sites has asked me if the download link itself can be removed and just leave the player. Can this be done and if yes, how do I do this?

Cheers.
What do you mean by "hosting the swf locally"? Locally on your PC?

About the link: In the embedded version, there is no link you can see, if you don't open up the html code in the web-browser. In the pop-up player you can see the url, because it is an url parameter for the player.

Maybe it is possible to use an encryption for the link. In this case the bb code script has to encrypt the link and the player script has to decrypt it. Dont know if it is realizable...

And I'm still at 4.0.2, so i cant say anything to the problems seems to be there with the 4.0.3.
Reply With Quote
  #36  
Old 05-07-2010, 09:46 AM
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Location: SouthOZ
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olli2k View Post
What do you mean by "hosting the swf locally"? Locally on your PC?

About the link: In the embedded version, there is no link you can see, if you don't open up the html code in the web-browser. In the pop-up player you can see the url, because it is an url parameter for the player.

Maybe it is possible to use an encryption for the link. In this case the bb code script has to encrypt the link and the player script has to decrypt it. Dont know if it is realizable...

And I'm still at 4.0.2, so i cant say anything to the problems seems to be there with the 4.0.3.
Hosting player.swf locally is what I meant, oops. Not a problem there and using code below is working in all browsers for our crew. Our mp3 forum is out of public view so we don't need any specific permissions.

Code:
<vb:if condition="$attachment[attachmentextension] == mp3">
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  align="middle" height="27" width="400">
    <param name="quality" value="best">
    <param name="allowScriptAccess" value="never">
    <param name="wmode" value="transparent">
    <param name="movie"  value="frtend/mp3_1.swf?audioUrl=attachment.php?{vb:raw  session.sessionurl}attachmentid={vb:raw  attachment.attachmentid}&amp;d={vb:raw attachment.dateline}"  flashvars="playerMode=embedded" />
  <embed type="application/x-shockwave-flash" src="frtend/mp3_1.swf?audioUrl=attachment.php?{vb:raw  session.sessionurl}attachmentid={vb:raw  attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
  </object>
</vb:if>
What I need help with is how to have that swamp witch.mp3 in pic below not link to the mp3 as download but still leave the player functional. Like I say the player mod works fine & thanks, it's the download link above it is causing us some legal grief.
Attached Images
File Type: png switch.png (10.0 KB, 0 views)
Reply With Quote
  #37  
Old 05-09-2010, 08:40 PM
UnixGeek UnixGeek is offline
 
Join Date: Apr 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not working for 4.0.3. Confirmed. There seems to be a bug with bb code. Some, please update if its working on 4.0.3.
Reply With Quote
  #38  
Old 05-10-2010, 05:05 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boko577 View Post
Nice, but where can I actually find MP3 songs on the web? Haha
http://beemp3.coM

U CAN SEARCH MILLION OF SONGS HERE
Reply With Quote
  #39  
Old 05-10-2010, 05:55 AM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 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>
same error here ,

http://www.apnaspot.com/misc/audio-player/player.swf

the player disply fine but its not playing

plz check this
http://www.apnaspot.com/showthread.p...=9266#post9266

and i use this mp3 file, its fine working file like

http://soundxx.mp3pk.com/indian/bluf...mp3pk.com).mp3

plz solve this issue , i have 4.0.3
Reply With Quote
  #40  
Old 05-10-2010, 12:53 PM
Olli2k's Avatar
Olli2k Olli2k is offline
 
Join Date: Sep 2005
Location: Germany
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Orakk View Post
Hosting player.swf locally is what I meant, oops. Not a problem there and using code below is working in all browsers for our crew. Our mp3 forum is out of public view so we don't need any specific permissions.

Code:
<vb:if condition="$attachment[attachmentextension] == mp3">
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  align="middle" height="27" width="400">
    <param name="quality" value="best">
    <param name="allowScriptAccess" value="never">
    <param name="wmode" value="transparent">
    <param name="movie"  value="frtend/mp3_1.swf?audioUrl=attachment.php?{vb:raw  session.sessionurl}attachmentid={vb:raw  attachment.attachmentid}&amp;d={vb:raw attachment.dateline}"  flashvars="playerMode=embedded" />
  <embed type="application/x-shockwave-flash" src="frtend/mp3_1.swf?audioUrl=attachment.php?{vb:raw  session.sessionurl}attachmentid={vb:raw  attachment.attachmentid}&amp;d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
  </object>
</vb:if>
What I need help with is how to have that swamp witch.mp3 in pic below not link to the mp3 as download but still leave the player functional. Like I say the player mod works fine & thanks, it's the download link above it is causing us some legal grief.
Well, i think you are at the wrong thread.

Upgraded my forum to 4.0.3 now and i ha've got no problems with the code at all.

@syrn
Try to use a file without special chars like "(" or ")". Atm i can't test Mp3 files because of a firewall here at work. Will try your test file later at home.
Reply With Quote
  #41  
Old 05-10-2010, 01:53 PM
syrn's Avatar
syrn syrn is offline
 
Join Date: Mar 2010
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Olli2k View Post
@syrn
Try to use a file without special chars like "(" or ")". Atm i can't test Mp3 files because of a firewall here at work. Will try your test file later at home.
thanx for reply, i did everything fine i think
but when i add any link of mp3 song its not working , thanx for quick answer and
looking help plz
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:07 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.05950 seconds
  • Memory Usage 2,362KB
  • 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
  • (7)bbcode_code
  • (7)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