Extension:OggHandler
From MediaWiki.org
|
OggHandler Release status: beta |
|
|---|---|
| Implementation | Media |
| Description | Integrated support for Ogg Theora, Vorbis, Speex and FLAC |
| Author(s) | Tim Starling |
| Version | r25467 (September 2007) |
| MediaWiki | r25465 (1.11a) |
| Download | SVN README |
OggHandler is an extension which allows you to display Ogg audio and video files in wiki pages, using the same syntax as for image files. It also has limited support for metadata display on image description pages.
[edit] Syntax synopsis
Where Video.ogg is an Ogg Theora file and Audio.ogg is an Ogg Vorbis file:
- [[Image:Video.ogg]]
- Display a video at its nominal size. Displays a still image from the midpoint with a play button to start an embedded player.
- [[Image:Audio.ogg]]
- Show a placeholder for a sound file, with a play button to start an embedded player.
- [[Image:Video.ogg|thumb]]
- Show a video in a floating thumbnail box
- <gallery>Image:Video.ogg</gallery>
- Show a video embedded in an image gallery
- [[Image:Video.ogg|noicon]], [[Image:Audio.ogg|noicon]]
- Hide the help icon.
- [[Image:Video.ogg|noplayer]], [[Image:Audio.ogg|noplayer]]
- Show still image or placeholder icon only, do not embed player.
- [[Image:Video.ogg|thumbtime=1:25]]
- Use a frame from 1 minute 25 seconds into the video as the placeholder image. A single number is taken as an offset in seconds.
[edit] Client support
We have explicit support for the following video players:
We have generic support for clients which claim to support application/ogg in navigator.mimeTypes, and for clients which recognise the <video> tag.
[edit] Installation
Requires FFmpeg. Requires web access to $wgScriptPath/extensions/OggHandler. See the README file for more information.
This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.

