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
  #122  
Old 11-07-2013, 05:36 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2010 that is an old player for today's standards. You could replace this with any good flash player on the web. I am a little concerned due to the age of the 'swf' that it could be used as an exploit -- not that it is exploitable. When I get a chance I will check out a few replacements and post it in the main section.

This is not to take anything away from the gracious author who shared and posted here.
Reply With Quote
  #123  
Old 11-07-2013, 06:12 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
This is not to take anything away from the gracious author who shared and posted here.
I don't see it as taking anything away from the author...Like most mods and add ons, things need to be updated now and then..It's a cool, little modification..When it works..
Reply With Quote
  #124  
Old 12-01-2013, 05:40 PM
mohdk mohdk is offline
 
Join Date: Nov 2013
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works just fine for me. I like it.
I'm just thinking wouldn't it be great if there is a way to detect if the browser supports HTML5 and use html5 to play the file using audio tags instead?

Code:
<audio controls>
   <source src="horse.ogg" type="audio/ogg">
   <source src="horse.mp3" type="audio/mpeg">
 Your browser does not support the audio element.
 </audio>
example from W3Schools http://www.w3schools.com/html/tryit....tml5_audio_all

this will make it work on platforms that doesn't support .swf
Reply With Quote
  #125  
Old 12-02-2013, 04:06 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you saying that if this code is inserted into the original then it will work?

Or is this a stand alone option?

Where does this code go?

Ooooo, such excitement...
Reply With Quote
  #126  
Old 12-02-2013, 05:57 PM
mohdk mohdk is offline
 
Join Date: Nov 2013
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DemOnstar View Post
Are you saying that if this code is inserted into the original then it will work?

Or is this a stand alone option?

Where does this code go?

Ooooo, such excitement...
The code in the previous post is just an example of how html5 can play audio files.
This should work:

Code:
<audio controls>
   <source src="{param}" type="audio/ogg">
   <source src="{param}" type="audio/mpeg">
   <source src="{param}" type="audio/wav">
 Your browser does not support the audio element.
 </audio>
It will playback mp3, ogg, and wav files only. If and only if, the browser supports playing back these type of files using html5.

you can give it a try and add a new BB Code just like what you did for this add-on and give it another name, for example "audio", would be good enough.

and then try it using [audio] tag.

I'm trying to figure out a way to use both based on whether the browser supports audio playback or not.
Reply With Quote
Благодарность от:
CharlieDelta
  #127  
Old 12-12-2013, 05:08 PM
cihadehli cihadehli is offline
 
Join Date: Aug 2012
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is that okay with this vb4.2.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 02:56 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.06818 seconds
  • Memory Usage 2,310KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_code
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete