Extension:SoundManager2Button

MediaWiki extensions manual
OOjs UI icon advanced.svg
SoundManager2Button
Release status: beta
SoundManager2Button.png
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>
Translate the SoundManager2Button extension if it is available at translatewiki.net
Check usage and version matrix.

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

UsageEdit

<sm2>Fa_la_la.mp3</sm2>

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

InstallationEdit

  • Download and place the file(s) in a directory called SoundManager2Button in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    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.

LicenseEdit

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