Extension:WikiVideos

The WikiVideos extension allows the creation of videos using wikitext.

Usage
The following wikitext:

File:Old pond.jpg | Old pond File:Frog leap.jpg | frog leaps in File:Water sound.jpg | water's sound

will output the following video:



Essentially, the algorithm shows one image after another while an automated voice reads the text aloud.

Configuration
Each configuration option is shown with its default value:


 * ― Required! Absolute path to the application credentials for your Google service account.
 * ― Content of the User-Agent header when downloading files from Commons. Required to comply with Wikimedias User-Agent policy.
 * ― Default min size of the video files.
 * ― Default max size of the video files. If the video width is larger than the height, then this limits the width, while the height is scaled accordingly, and viceversa if the height is larger than the width.
 * ― Whether to show video controls by default (play/pause button, volume, etc).
 * ― Whether to autoplay videos by default.
 * ― Whether to show video chapters by default.
 * ― Whether to show video captions by default.
 * ― Preferred voice language (see supported voices and languages). If left empty, the main language of the wiki will be used (see $wgLanguageCode). May be overridden on a per-video basis using the  attribute on the tag (for example  ), optionally specifying a supported locale (for example  ).
 * ― Preferred voice gender (either  or  ). If left empty, the gender of the first supported voice for the chosen language will be used (see supported voices and languages). May be overridden on a per-video basis using the   attribute on the tag (for example  ).
 * ― Preferred voice name (see supported voices and languages). If left empty, the first supported voice for the chosen language and gender will be used. May be overridden on a per-video basis using the  attribute on the tag (for example  ).

Other

 * ― Absolute path to FFmpeg (see $wgFFmpegLocation).
 * ― Absolute path to FFprobe (see $wgFFprobeLocation).