summaryrefslogtreecommitdiff
path: root/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php')
-rw-r--r--extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php b/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php
new file mode 100644
index 00000000..46547697
--- /dev/null
+++ b/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.config.php
@@ -0,0 +1,31 @@
+<?php
+ /**
+ * Do not edit this file instead use LocalSettings.php and
+ * $wgMwEmbedModuleConfig[ {configuration name} ] = value; format
+ */
+
+ return array(
+ // If the Timed Text interface should be displayed:
+ // 'always' Displays link and call to contribute always
+ // 'auto' Looks for child timed text elements or "apiTitleKey" & load interface
+ // 'off' Does not display the timed text interface
+ "TimedText.ShowInterface" => "auto",
+
+ /**
+ * If the "add timed text" link / interface should be exposed
+ * allows usere to upload text files to the wiki
+ */
+ 'TimedText.ShowAddTextLink' => false,
+
+ // If the link to request a transcript should be shown on video files
+ 'TimedText.ShowRequestTranscript' => false,
+
+ // The category for listing videos that need transcription:
+ 'TimedText.NeedsTranscriptCategory' => 'Videos needing subtitles',
+
+ // The default bottom text padding
+ 'TimedText.BottomPadding' => 10,
+
+ // Height of black box below video.
+ 'TimedText.BelowVideoBlackBoxHeight' => 40
+ );