Extension:AudioPlayer2

The AudioPlayer2 extension lets you embed MP3 audio files on your wiki via WordPress Audio Player Standalone.

Configuration parameters

 * $wgAudioPlayerPluginPath: Set the path to WordPress Audio Player Standalone files which must be installed separately for this extension to work.

Example: $wgAudioPlayer2Settings['width'] = 380;
 * $wgAudioPlayer2Settings['width']: If set, specifies the width of the Flash player when opened. (default width: 380)

Example: $wgAudioPlayer2Settings['tags'] = array('player','audioplayer');
 * $wgAudioPlayer2Settings['tags']: If set, specifies the list of tags that this extension should handle, otherwise "player" is used. This setting is for interoperability and easy drop-in replacement.

Example: $wgAudioPlayer2Settings['colours']['leftbg'] = '00F80F';
 * $wgAudioPlayer2Settings['colours']: If set, specifies the colours of the different parts of the player. See here for reference of which elements can be changed.

Usage
The &lt;player&gt; (or whichever you choose) tag can be used to embed MP3 audio content into wiki pages:

&lt;player&gt;test.mp3&lt;/player&gt;

Tag Attributes
The following attributes can be used in &lt;player&gt; tags:


 * title: sets/overwrites the title of the file being played. If not specified, ID3 data if available is used.
 * artist: set/overwrites the artist name for the file being played. If not specified, ID3 data if available is used.

&lt;player title="Title"&gt;test.mp3&lt;/player&gt; &lt;player artist="Artist" title="Title"&gt;test.mp3&lt;/player&gt;