Extension:TimedMediaHandler/VideoJS Player/cy





VideoJS Player yw chwaraewr fideo dewisiol MediaWiki.

Fe'i seiliwyd ar VideoJS, ac nae ganddo ryngwyneb cyflymach ac mae'n gydnaws a dyfeisiadau symudol a HTML5.

Gallwch ei ddewis ar wicis Wicimedia fel un o'r teclynnau Beta, drwy fynd i 'fy Newisiadau'.

Why?
The player that Wikimedia used since 2010 has several significant downsides, which were limiting us in making further improvements.


 * Not widely used by others.
 * Written before HTML5 video was standardised.
 * Uses its own subtitling system.
 * Written to be compatible with Internet Explorer 6 and used the JavaScript standards of those times.
 * Written before our own JavaScript stack was developed.
 * It is difficult to make it work correctly on mobile devices.
 * Had been virtually unmaintained for 8 years.

Problemau
We dropped support for wikicode markup inside of the subtitles. You are advised to rewrite these subtitles (T224258).
 * Subtitles may fail on some files.

The video player is still in development, but if you find any problems, please report these on the talk page or file them in Phabricator.

Usage
Developers working on features that use the Video.js player will need to initialize and configure it appropriately. Below is an example of typical usage.

Basic Configuration Example
The  can also be provided in the HTML  element instead of in JS:

Advanced configuration with Ogv.js support
If you need cross-platform playback of OGG or WebM files (many files in Commons are in these formats), you can use the Ogv.js plugin for Video.js, which is also included in TimedMediaHandler. Example configuration: