Extension:SoundManager2Button

MediaWiki extensions manual
SoundManager2Button
Release status: unmaintained
Implementation Tag
Description Embeds a SoundManager 2 .mp3 player into a wiki page
Author(s) kroocsiogsitalk
Latest version 0.4.2 (includes SoundManager 2.97a-20170601 files) (2018-04-25)
MediaWiki 1.17+
License GNU General Public License 3.0
Download
‎<sm2>
Quarterly downloads 3 (Ranked 133rd)
Translate the SoundManager2Button extension if it is available at translatewiki.net

The SoundManager2Button extension allows to embed a SoundManager2 MP3 play button to play a local MP3 file.

Usage

edit

<sm2>Fa_la_la.mp3</sm2>

Note: "File:Fa_la_la.mp3" must exist locally.

Installation

edit
  • Download and move the extracted SoundManager2Button folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SoundManager2Button
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/SoundManager2Button/SoundManager2Button.php";
    $wgFileExtensions[] = 'mp3';
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

License

edit

This extension is licensed GPL-3.0-or-later however requires files released under BSD-3-Clause.