summaryrefslogtreecommitdiff
path: root/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php')
-rw-r--r--extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php b/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php
new file mode 100644
index 00000000..57f50043
--- /dev/null
+++ b/extensions/TimedMediaHandler/MwEmbedModules/TimedText/TimedText.php
@@ -0,0 +1,21 @@
+<?php
+
+ // Register all the timedText modules
+ return array(
+ "mw.TimedText" => array(
+ 'scripts' => "resources/mw.TimedText.js",
+ 'styles' => "resources/mw.style.TimedText.css",
+ 'dependencies' => array(
+ 'mw.EmbedPlayer',
+ 'mw.TextSource'
+ ),
+ 'messageDir' => 'i18n',
+ ),
+ "mw.TextSource" => array(
+ 'scripts' => "resources/mw.TextSource.js",
+ 'dependencies' => array(
+ 'mediawiki.UtilitiesTime',
+ "mw.ajaxProxy",
+ )
+ )
+ );