Back to vBulletin 4.x Add-ons

BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup
Mod Version: 0.3, by Olli2k

vB Version: 4.0.x Rating: (20 votes - 4.70 average) Installs: 159
Released: 15 Feb 2010 Last Update: 16 Feb 2010 Downloads: 913
Not Supported Additional Files Re-usable Code Translations Is in Beta Stage  

DEMO: http://hake-clan.de/forum/showthread.php/63439-Audio-bis-zum-abwinken
POPUP DEMO: http://hake-clan.de/forum/showthread.php/63439-Audio-bis-zum-abwinken?p=195668&viewfull=1#post195668
Standalone Player with automatic playlist based on MP3 files in a folder: http://hake-clan.de/forum/entry.php/2-Homepage-MP3-Player-%28many-Player-functions-automatic-playlist-generation!%29

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:

Spoiler (click to open)


DEMO: http://hake-clan.de/forum/showthread.php/63439-Audio-bis-zum-abwinken?p=195668&viewfull=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.

Close


***************
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

File Type: %1$s BB_MP3Player.zip (13.6 KB, 968 downloads)
File Type: %1$s BB_MP3Player_Popup.zip (62.1 KB, 425 downloads)

Similar Mods

BB Code Enhancements Innovative Small MP3 Player BB Code vBulletin 3.8 Template Modifications
vB3 Flash Player - Play Any Flash Game / Movie - Tetris, Pacman, Frogger, Minesweeper vBulletin 3.0 Full Releases
vB Flash Player - Play Any Flash Game or Movie - Tetris, Pacman, Frogger, Minesweeper vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024