Jump to content

User:JanGerber/TimedMediaHandler

From Wikipedia

TimedMediaHandler

[edit]

Multi-format transcoding

[edit]

An ogg video will have at least one webm derivative and an uploaded webm video will have at least one ogg. Important for when adobe releases flash with WebM support. Insuring that regardless of what free formats your browser supports, the player can 'do the right thing'

This file was uploaded as an ogg theora file, and includes WebM derivatives
This file was uploaded as an WebM file, and includes ogg derivatives
[edit]

When the player is too small to realistic see the video clip, we pop up a dialog. If Javascript is off, play button links to the file.

Temporal media fragments

[edit]

Allows embed code to reference a segment of the video stream or set a start time. Hover over the player to see start time listed as 10s, press play and notice it stops playback at 20 seconds.

Starts at 10 seconds and ends playback at 20 seconds

Timed Text

[edit]

Allows the association of timed text per the existing timedtext namespace used on commons. For more information about titmed text usage in wikimedia projects see Timed Text on commons

File:Folgers.beta.ogv
A local file with local timed text in french and English

Instant Commons / basic description parsing

[edit]

All the transcoded derivatives and the timed text can be shared across wikis that have the shared repository enabled. Here we embed a video from commons ( which does not yet have TMH installed so we only get the source asset.

President Obama on Death of Osama bin Laden imported from commons

Auto Source Selection based on embed size

[edit]

Mouse over each video to see default selected stream in the player control bar.

220 pixel wide ( auto select low bandwidth version )
840 pixel wide ( auto select 480P version
1280 pixel wide ( auto select 720P version