µAudio Plugin README:
Contents
The most basic installation simply requires that you upload the 'microAudio' folder to your /wp-content/plugins directory. Then, from the Administration -> Plugins menu, simply activate the plugin.
In the event that you are using a recent version of the K2 theme (1.0 RC 2 or later), and the rolling archives feature, you will need to call the prepare_player() function from k2.rollingarchives.js.php. It should be placed in the K2.ajaxGet directly after k2trimmer.trimAgain();. The final code will look like this:
. . .
K2.ajaxGet(k2Rolling.url, k2Rolling.query,
function(data) {
jQuery('#rollhover').fadeOut('slow');
jQuery('#rollload').fadeOut('fast');
jQuery('#rollingcontent').html(data);
k2Trimmer.trimAgain();
prepare_player();
}
. . .
Alternatively, you can just use the k2.rollingarchives.js.php file which I have edited and included in the microAudio folder.
- µAudio uses the super slim mp3 player from 1 Pixel Out. This nifty little player clocks in at just 5 KB, smaller than many JavaScripts. Indeed, the total change to your pages (when no player is loaded) is a mere 560 Bytes. Even with a player loaded the entire system is under 6 KB. If bandwidth is expensive (and let's be honest, when isn't it?) µAudio is about the smallest you can get and still run.
- Currently uses the same jQuery as K2 (although it omits it if K2 is present. Future versions will check for a jQuery before loading one.
- With k2: With recent versions of k2, the prepare_player function in dynamic-audio.js.php must be called from k2.rollingarchives at the end of the ajaz get after 'trimAgain', or just use the included file. This will be updated in a future version of µAudio.
- Please post any questions or bugs on the Version Installation Page. Feature requests and comments of a more general nature should go on the Home Page.