2011-04-17, 10:56 PM
Hi, i couldnt find a good one, and i modified a good one for mybb that i'm using on my blog.
Usage:
Upload the player.swf and audio-player.js to your forum root directory
Then Go to Admin Panel > Config > Mycode > Add new MyCode
Title : Mp3
Short Desc. : Mp3
Regular Expression:
Replacement:
Enabled: Yes
Note: Change the YOURSITENAME with your site adress in the replacement codes
Download The Pack
Usage:
it will be like this
Usage:
Upload the player.swf and audio-player.js to your forum root directory
Then Go to Admin Panel > Config > Mycode > Add new MyCode
Title : Mp3
Short Desc. : Mp3
Regular Expression:
\[mp3\]([^"'[<>]+?)\[/mp3\]
Replacement:
<script language="JavaScript" src="http://www.YOURSITENAME.com/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.YOURSITENAME.com/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.YOURSITENAME.com/player.swf">
<param name="FlashVars" value="playerID=audioplayer1&soundFile=$1">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Enabled: Yes
Note: Change the YOURSITENAME with your site adress in the replacement codes
Download The Pack
Usage:
[mp3]http://www.site.com/my.mp3[/mp3]
it will be like this