Cortexian
October 28th, 2008, 06:50 PM
We need a vB code that lets us post audio files in our posts, something like what I have over on my clan forums (http://lancersedge.exofire.net/clan/forums/showthread.php?t=40). It works like the YouTube/Image tags, you supply a URL in between the tags and it outputs a flash player that plays the audio file when clicked.
BB Code replacement:
<script language="JavaScript" src="http://www.modacity.net/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.modacity.net/audio/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.modacity.net/audio/player.swf">
<param name="FlashVars" value="playerID=1&soundFile={param}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
The two files you need to upload to the "audio" directory that you're going to create:
http://lancersedge.exofire.net/downloads/audioplayer.zip
Go.
BB Code replacement:
<script language="JavaScript" src="http://www.modacity.net/audio/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.modacity.net/audio/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.modacity.net/audio/player.swf">
<param name="FlashVars" value="playerID=1&soundFile={param}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
The two files you need to upload to the "audio" directory that you're going to create:
http://lancersedge.exofire.net/downloads/audioplayer.zip
Go.