User:Dan Nessett/Technical/Notes on OggHandler: Difference between revisions
Jump to navigation
Jump to search
imported>Dan Nessett (New page: ==Installing OggHandler== * ffmpeg is required. * Change LocalSettings.php: <pre>$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'ogx', 'oga', 'ogv', 'svg' ); $wgMediaHan...) |
imported>Dan Nessett |
||
Line 1: | Line 1: | ||
==Installing OggHandler== | ==Installing OggHandler== | ||
* PEAR must be installed. See http://pear.php.net/manual/en/installation.getting.php | |||
* ffmpeg is required. | * ffmpeg is required. | ||
* Change LocalSettings.php: | * Change LocalSettings.php: |
Revision as of 17:21, 8 April 2010
Installing OggHandler
- PEAR must be installed. See http://pear.php.net/manual/en/installation.getting.php
- ffmpeg is required.
- Change LocalSettings.php:
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'ogx', 'oga', 'ogv', 'svg' ); $wgMediaHandlers = array( 'jpeg' => 'BitmapHandler', 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', 'image/svg' => 'SvgHandler', 'image/vnd.djvu' => 'DjVuHandler', 'application/ogg' => 'OggHandler', 'ogx' => 'OggHandler', 'video/ogg' => 'OggHandler', 'ogv' => 'OggHandler', 'audio/ogg' => 'OggHandler', 'oga' => 'OggHandler', 'ogg' => 'OggHandler' );
- Modify mime.types in $IP/includes as follows:
application/ogg ogg ogm ogx oga ogv audio/ogg ogg oga audio/x-ogg ogg oga video/ogg ogm ogg ogv video/x-ogg ogm ogg ogv