Added Video Support
This commit is contained in:
parent
c1fdacd636
commit
1b1c87b5b4
2 changed files with 19 additions and 1 deletions
|
|
@ -10,5 +10,9 @@ RUN apt install -y ghostscript
|
|||
|
||||
RUN apt install -y imagemagick
|
||||
|
||||
# ffmpeg für video support
|
||||
|
||||
RUN apt install -y ffmpeg
|
||||
|
||||
# Start from the webserver neccessary or not? Test from 23.04.2021 -> not needed
|
||||
#CMD ["apache2-foreground"]
|
||||
|
|
@ -247,4 +247,18 @@ $wgPdftoText = '/usr/bin/pdftotext';
|
|||
|
||||
# Allow External Images from my own servers
|
||||
$wgAllowExternalImages = true;
|
||||
$wgAllowExternalImagesFrom = [ 'http://127.0.0.1/', 'https://cloud.rd13server.de/' ]; // MediaWiki 1.14+
|
||||
$wgAllowExternalImagesFrom = [ 'http://127.0.0.1/', 'https://cloud.rd13server.de/' ]; // MediaWiki 1.14+
|
||||
|
||||
# Support Video Files and external Video Sources
|
||||
################################################
|
||||
wfLoadExtension( 'EmbedVideo' );
|
||||
|
||||
$wgEmbedVideoAddFileExtensions = true; // Boolean - Enable or disable adding video/audio file extensions to the list of allowable files to be uploaded.
|
||||
$wgEmbedVideoEnableVideoHandler = true; // Boolean - Enable or disable the video media handlers for displaying embedded video in articles.
|
||||
$wgEmbedVideoEnableAudioHandler = true; // Boolean - Enable or disable the audio media handlers for displaying embedded audio in articles.
|
||||
#$wgEmbedVideoDefaultWidth = 480; // Integer - Globally override the default width of video players. When not set this uses the video service's default width which is typically 640 pixels.
|
||||
#$wgEmbedVideoMinWidth = 480; // Integer - Minimum width of video players. Widths specified below this value will be automatically bounded to it.
|
||||
$wgEmbedVideoMaxWidth = 1920; // Integer - Maximum width of video players. Widths specified above this value will be automatically bounded to it.
|
||||
$wgFFmpegLocation = '/usr/bin/ffmpeg'; // String - Set the location of the ffmpeg binary.
|
||||
$wgFFprobeLocation = '/usr/bin/ffprobe'; // String - Set the location of the ffprobe binary.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue