TimedMediaHandler
Wiki Normal uses the Timed Media Handler extension to display audio and video files in Normal pages, using the same syntax as for image files. It includes the Kaltura HTML5 Player and and experimental VideoJS Player.
Syntax synopsis
In addition to the [[<tvar|img-syntax>Special:MyLanguage/Help:Images#Syntax</>|image embed syntax]], Timed Media Handler supports:</translate>
- [[File:Video.ogv|File:Video.ogv]]
- <translate>
Display a video at its nominal size. Displays a still image from the midpoint with a play button to start an embedded player.</translate>
- [[File:Audio.oga|File:Audio.oga]]
- <translate>
Show a placeholder for a sound file, with a play button to start an embedded player.</translate>
- [[File:Video.ogv|thumb]]
- <translate>
Show a video in a floating thumbnail box</translate>
- <gallery>File:Video.ogv</gallery>
- <translate>
Show a video embedded in an image gallery ( each clip will popup a dialog for the full player )</translate>
- [[File:Video.ogg|thumbtime=1:25]]
- <translate>
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.</translate>
- [[File:Video.ogg|start=1:25]]
- <translate>
Temporal media fragments Displays a video clip starting at 1 minute 25 seconds into the video. A single number is taken as an offset in seconds. You can also include an end time of the form end=1:30
Which would result in a clip of 5 seconds playing from 1:25 to 1:30. If thumbtime is not provided, the start time will be used for the displayed thumbnail.
- Deprecated
The syntax words noicon and noplayer are deprecated and do not function. The keyword disablecontrols will likely be deprecated soon. It takes the values: options, timedText, fullscreen.
Comparison of Wikipedia media encoding options
</translate>
Sorted by bandwidth tier (grayed items are not currently enabled):
Bitrate | Mbit/s | Ogg Theora | WebM VP8 | WebM VP9 |
---|---|---|---|---|
Very Low | 0.16 | 160p15 | 160p15 | |
Low | 0.25 | 240p | 360p | |
Moderate | 0.5 | 240p | 360p | 480p |
Medium | 1.0 | 360p | 480p | 720p |
High | 2.0 | 480p | 720p | 1080p |
Very high | 4.0 | 720p | 1080p |
Detailed options:
<translate>
Name</translate> !! 160P !! 240P !! 360P !! 480P !! 720P !! 1080P !! 160P !! 360P !! 480P !! 720P !! 1080P !! 2160P !! 360P !! 480P !! 720P !! 1080P !! 2160P | |
---|---|
<translate>
Container</translate> || colspan="6" | Ogg || colspan="11" | WebM | |
<translate>
Video</translate> || style="background:#f2f2f2; text-align:left;"| <translate> Encoding</translate> || colspan="6" | Theora || colspan="6" | VP8 || colspan="5" | VP9 | |
<translate>
Max width (pixels)</translate> || 288 || 426 || 640 || 854 || 1280 || 1920 || 288 || 640 || 854 || 1280 || 1920 || 4096 || 640 || 854 || 1280 || 1920 || 4096 | |
<translate>
Max height (pixels)</translate> || 160 || 240 || 360 || 480 || 720 || 1080 || 160 || 360 || 480 || 720 || 1080 || 2160 || 360 || 480 || 720 || 1080 || 2160 | |
<translate>
Bitrate</translate> (Mbit/s) || 0.16 || 0.5 || 1.0 || 2.0 || - || -- || 0.16 || 0.5 || 1.0 || - || - || - || - || - || - || - || - | |
<translate>
Quality</translate> || - || - || - || - || 6 || 6 || - || - || - || 7 || 7 || - || - || - || - || - || - | |
<translate>
Audio</translate> || style="background:#f2f2f2; text-align:left;"| <translate> Encoding</translate> || colspan="12" | Vorbis || colspan="5" | Opus | |
<translate>
Channels</translate> || colspan="12" | 2 (stereo) | |
<translate>
Sampling rate</translate> (Hz) || colspan="12" | 44100 | |
<translate>
Quality</translate> || -1 || 1 || 1 || 2 || 3 || - || - || 1 || 2 || 3 || - || - || - || - || - || - || - |
<translate>