Extension:AudioPlayer2/zh

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

配置参数

 * $wgAudioPlayerPluginPath
 * Update 5/16/2018: This step is unclear and the external link is now broken.

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


 * $wgAudioPlayer2Settings['width']
 * If set, specifies the width of the Flash player when opened. (默认宽度： 380)

示例：


 * $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.

示例：


 * $wgAudioPlayer2Settings['colours']
 * 如果设置，则指定播放器不同部分的颜色.

示例：

用法
The (or whichever you choose) tag can be used to embed MP3 audio content into wiki pages:

test.mp3

Tag attributes
The following attributes can be used in 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.