MP3 BBcode By JacquiiDesigns
See this bbcode in action at JPiC Forum For Writers
REQUIREMENTS:
Xenforo forum with the Custom BB Code Manager add-on by King Kovifor installed. WordPress Audio Player as provided free of charge at http://wpaudioplayer.com/
INSTRUCTIONS:
See this bbcode in action at JPiC Forum For Writers
REQUIREMENTS:
Xenforo forum with the Custom BB Code Manager add-on by King Kovifor installed. WordPress Audio Player as provided free of charge at http://wpaudioplayer.com/
INSTRUCTIONS:
- Version 2.0 of the Wordpress audio player is included in the download. You may also download the most recent standalone player from http://wpaudioplayer.com/download/
- Unpack the archive and/or upload the complete "audio-player" folder to your forum's root directory.
- Edit your "PAGE_CONTAINER" template:
Find:
Code:</head>
Add directly above it the following code:
Code:<script type="text/javascript" src="audio-player/audio-player.js"></script> <script type="text/javascript"> AudioPlayer.setup("audio-player/player.swf", { width: 420, titles: "<xen:if is="{$title}">{$xenOptions.boardTitle} MP3 Player<xen:else />Forum MP3 Player</xen:if>", autostart: "no", loop: "no", animation: "yes", remaining: "yes", noinfo: "no", initialvolume: "25", transparentpagebg: "yes", text: "000000", loader: "ededed", leftbg: "9c9c9c", lefticon: "363636", bg: "363636", track: "9c9c9c", tracker: "ededed", skip: "ededed", voltrack: "ededed", volslider: "363636", border: "ededed", righticon: "ededed", rightbg: "363636", rightbghover: "9c9c9c", righticonhover: "363636" }); </script>
The above code is styled darkgrey/grey/cream as you can see on the DEMO SITE. A complete list of the customizeable player and color scheme options can be found at http://wpaudioplayer.com/standalone/
- Import New BB Code via the BB Code Manager: AdminCP ==> Home ==> BB Code Manager ==> Import New BB Code [[Select the bbcode_mp3.xml file]] ==> Click the "Import BB Code" button.
- Done! Enjoy.
- Your new bbcode format will be like so:
Code:[mp3=http://site.com/track.mp3]Name of Track[/mp3]
- Important limitation is that you can only use the bbcode once per thread page.
I'm not sure how you'd be able to "fix" this issue. If there is someone who knows - Please share!
- You'll notice that there are 3 separate tracks playable on the DEMO SITE:
The format you'd use for multi-track is as follows:
Code:[mp3=http://site.com/track.mp3,http://site.com/track2.mp3,http://site.com/track.mp3]Name of Track | Name of Track2 | Name of Track3[/mp3]