Mediawiki extension.
- Version 1.0
- ThePlayer can embed video and mp3 into an wiki article.
- Syntax
<mediaplayer width="" height="" type="stream|wiki|file">URL</mediaplayer>
<mp3player width="" height="" type="stream|wiki|file">URL</mp3layer>- If type is not set, the extension tries to guess
- stream: URL of streamed file from embedding iframe code. In case of Youtube, URL of displayed video is sufficient.
- wiki: file uploaded on the same wiki.
- file: file anywhere on the internet.
- Width and height can be adjusted with
type="stream"(optional). - A modern HTML5 browser is required in case of non-streamed file. Otherwise a request for updating the browser is displayed.
- Make sure you have MediaWiki 1.25+ installed.
- Download and place the extension's folder to your /extensions/ folder.
- Add the following code to your LocalSettings.php:
wfLoadExtension( 'ThePlayer' );
This extension is available in English and Czech language. For other languages, just edit files in /i18n/ folder.
- Josef Martiňák
- MIT License, Copyright (c) 2021 First Faculty of Medicine, Charles University