vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup (https://vborg.vbsupport.ru/showthread.php?t=235934)

Olli2k 02-14-2010 10:00 PM

BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup
 
1 Attachment(s)
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.

Boko577 02-16-2010 05:54 AM

Nice, but where can I actually find MP3 songs on the web? Haha

TimberFloorAu 02-16-2010 07:13 AM

Great work mate, and TOP tune on your demo !!!!!

Tagged

Olli2k 02-16-2010 11:35 AM

DEMO: http://hake-clan.de/forum/showthread...l=1#post195668

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

Installtion: (i will only list the diffrence 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.

Olli2k 02-16-2010 12:28 PM

Quote:

Originally Posted by Dr.osamA (Post 1983714)
for me not working

there not showing anything after i use code

you can try it in my forum at link

http://www.alra7ba.net/vb/showthread...layer?p=171900

user = vBulletin
pss= 123456

Waiting plzz

Seems that you did not upload the files to the correct folder.

I got a 404 for http://www.alra7ba.net/vb/misc/audio-player/player.swf

Olli2k 02-16-2010 12:56 PM

Ok,
pls try to adjust:

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}">

to

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="playerID=audioplayer&amp;soundFile={param}">


Dr.osamA 02-16-2010 01:03 PM

now it is ok

thank you very match man

Olli2k 02-16-2010 01:10 PM

Np,
but i dont understand that you can see the white background of the player, when it is small.

Could you pls try:

Code:

<param name="FlashVars" value="transparentpagebg=yes&amp;playerID=audioplayer&amp;soundFile={param}">
Player BG should match your bg now.

markwein 02-16-2010 01:39 PM

love it! works perfectly on my site.

Olli2k 02-16-2010 01:44 PM

Quote:

Originally Posted by Dr.osamA (Post 1983753)
no changes by this code

When i look at your html source code i see:

Code:

<br>
<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=urltofile">
<br>
<br>


is it possible that you forget to add these lines to the bb code?

Code:

<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">


Quote:

Originally Posted by Dr.osamA (Post 1983753)
other problem is :

when you have text ander or after the cod

[*MP3].......[*/MP3]

the text is inviable = not showing

try it

Do you mean
Code:

textblabla[mp3]url/to/file.mp3[/mp3]blablatext
Textblabla & blablatext are not in your post?


All times are GMT. The time now is 09:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01206 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (13)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete