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.
 * ― Absolute path to FFmpeg (see $wgFFmpegLocation).
 * ― Absolute path to FFprobe (see $wgFFprobeLocation).
 * ― Max monthly characters to send to the Google Text-to-Speech API (first 4,000,000 are free, see pricing).
 * ― Content of the User-Agent header when downloading files from Commons. Required to comply with Wikimedias User-Agent policy.
 * ― Default min width of the video files.
 * ― Default min height of the video files.
 * ― Default max width of the video files.
 * ― Default max height of the video files.
 * ― Whether to show the 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  ).