Extension:AudioPlayer2/es

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:AudioPlayer2 and the translation is 18% complete.
Other languages:
English • ‎Türkçe • ‎español • ‎français • ‎中文 • ‎日本語
Extensión matemática MediaWiki
OOjs UI icon advanced.svg
AudioPlayer2
Estado de lanzamiento sin mantenimiento
Implementación Etiqueta
Descripción Provides embedded audio playback using WordPress Audio Player Standalone.
Autor(es) Ulrich Christensen (UChristensendiscusión)
Última versión 1.1 (2012-07-05)
MediaWiki 1.19+
Licencia GNU Licencia Pública general 2.0 o más tarde
Descarga
Ejemplo http://www.horsensleksikon.dk/
$wgAudioPlayerPluginPath, $wgAudioPlayer2Settings
Verificar uso y versión de la matriz.

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

Instalación

  • Make sure that the required software is installed before you continue!
  • Descarga y extrae los archivos en el directorio «AudioPlayer2» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    wfLoadExtension( 'AudioPlayer2' );
    
  • Configure as required. (see also the examples provided)
  • Yes Hecho – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Para quienes usan MediaWiki 1.24 o versiones anteriores:

Estas instrucciones describen la nueva forma de instalar extensiones usando wfLoadExtension(). Si necesitas instalar esta extensión en versiones anteriores (MediaWiki 1.24 y anteriores), debes usar lo siguiente en lugar de wfLoadExtension( 'AudioPlayer2' );:

require_once "$IP/extensions/AudioPlayer2/AudioPlayer2.php";

Configuration

Configuration parameters

$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. (default width: 380)

Ejemplo:

$wgAudioPlayer2Settings['width'] = 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.

Ejemplo:

$wgAudioPlayer2Settings['tags'] = array('player','audioplayer');
$wgAudioPlayer2Settings['colours']
If set, specifies the colours of the different parts of the player.

Ejemplo:

$wgAudioPlayer2Settings['colours']['leftbg'] = '00F80F';

Uso

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

<player>test.mp3</player>

Tag attributes

The following attributes can be used in <player> 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.
<player title="Title">test.mp3</player>

<player artist="Artist" title="Title">test.mp3</player>