Skip to content

MWStake/ThePlayer-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThePlayer

Mediawiki extension.

Description

  • 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.

Installation

  • 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' );

Internationalization

This extension is available in English and Czech language. For other languages, just edit files in /i18n/ folder.

Authors and license

  • Josef Martiňák
  • MIT License, Copyright (c) 2021 First Faculty of Medicine, Charles University

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages