PDA

View Full Version : BB Code MP3 Player (postion bar, volume control, play, pause, id3...), New: Popup



admin
05-03-2010, 08:31 PM
DEMO: http://www.hake-clan.de/showthread.p...s-zum-abwinken (http://www.hake-clan.de/showthread.php?824-Audio-bis-zum-abwinken)
POPUP DEMO: http://www.hake-clan.de/showthread.p...ull=1#post2484 (http://www.hake-clan.de/showthread.php?824-Audio-bis-zum-abwinken&p=2484&viewfull=1#post2484)
Standalone Player with automatic playlist based on MP3 files in a folder: Here (http://www.hake-clan.de/entry.php?2-Homepage-MP3-Player-%28many-Player-functions-automatic-playlist-generation%21%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:

<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

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:

images/editor/mp3_bb.png

Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No

Hit "Save" and you are ready to go!

Additional Notes:
The wordpress player is developed by Martin Laine (http://wpaudioplayer.com (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=audiopl ayer&amp;soundFile={param}">

***************
Popup Version: http://www.vbulletin.org/forum/showp...05&postcount=5 (http://www.vbulletin.org/forum/showpost.php?p=1983705&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.

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