TimedMediaHandler

From Peter
Jump to: navigation, search
Kiss me deadly 17-1955-film-noir.jpg
Kiss me deadly 17-1955-film-noir.jpg
Kiss me deadly 17-1955-film-noir.jpg
Kiss me deadly 17-1955-film-noir.jpg
Kiss me deadly 17-1955-film-noir.jpg

wiki.peterburnett.info no longer uses the Timed Media Handler extension to display audio and video files in Normal pages, and even in Depressing pages, this applies.

The TMH however using the same syntax as for image files! So you would think it would be ace! But it's not.

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:

[[File:Video.ogv|File:Video.ogv]] 

Display a video at its nominal size. Displays a still image from the midpoint with a play button to start an embedded player.

[[File:Audio.oga|File:Audio.oga]]

Show a placeholder for a sound file, with a play button to start an embedded player.

[[File:Video.ogv|thumb]] 

Show a video in a floating thumbnail box

<gallery>File:Video.ogv</gallery>

Show a video embedded in an image gallery ( each clip will popup a dialog for the full player )

[[File: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.</translate>

[[File:Video.ogg|start=1:25]]

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

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:

Name< !! 160P !! 240P !! 360P !! 480P !! 720P !! 1080P !! 160P !! 360P !! 480P !! 720P !! 1080P !! 2160P !! 360P !! 480P !! 720P !! 1080P !! 2160P

Container|| colspan="6" | Ogg || colspan="11" | WebM

Video</translate> || style="background:#f2f2f2; text-align:left;"| Encoding || colspan="6" | Theora || colspan="6" | VP8 || colspan="5" | VP9

Max width (pixels)</translate> || 288 || 426 || 640 || 854 || 1280 || 1920 || 288 || 640 || 854 || 1280 || 1920 || 4096 || 640 || 854 || 1280 || 1920 || 4096

Max height (pixels)</translate> || 160 || 240 || 360 || 480 || 720 || 1080 || 160 || 360 || 480 || 720 || 1080 || 2160 || 360 || 480 || 720 || 1080 || 2160

Bitrate</translate> (Mbit/s) || 0.16 || 0.5 || 1.0 || 2.0 || - || -- || 0.16 || 0.5 || 1.0 || - || - || - || - || - || - || - || -

Quality</translate> || - || - || - || - || 6 || 6 || - || - || - || 7 || 7 || - || - || - || - || - || -

Audio || style="background:#f2f2f2; text-align:left;"| Encoding || colspan="12" | Vorbis || colspan="5" | Opus

Channels || colspan="12" | 2 (stereo)

Sampling rate</translate> (Hz) || colspan="12" | 44100

Quality</translate> || -1 || 1 || 1 || 2 || 3 || - || - || 1 || 2 || 3 || - || - || - || - || - || - || -

Links

[|Timed Media Handler Main Page]