TimedMediaHandler

From Mondothèque

Revision as of 06:31, 11 June 2015 by FS (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing webm/ogg support with clips and multi-lingual subtitles

Download + install the extension TimedMediaHandler + MwEmbedSupport:

Find ffmpeg.linux and ffmpegtotheora.linux here: http://firefogg.org/nightly/

Upload anywhere into your wiki folder and remove the .linux extension

Add the following to LocalSettings.php:

$wgFFmpegLocation = "$IP/path/to/ffmpeg";

$wgFFmpeg2theoraLocation = "$IP/path/to/ffmpeg2theora";

and also add .ogg and .webm to the permitted file formats:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf', 'doc', 'psd', 'mp3','xls', ' zip','swf', 'doc', 'odt', 'odc', 'odp', 'odg', 'mpp', 'svg', 'csv','tif','tiff','webm','ogv');

Make sure php is allowed to access /bin and /usr/bin (settings open_basedir)

Run update.php

Examples