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
Tags
<sm2>
Hooks used
  • ParserFirstCallInit
Quarterly downloads 6 (Ranked 164th)
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

<sm2>Fa_la_la.mp3</sm2>

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

Installation

  • 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 file:
    require_once "$IP/extensions/SoundManager2Button/SoundManager2Button.php";
    $wgFileExtensions[] = 'mp3';
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

License

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

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.