summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-03-09 12:51:45 +0100
committershadlaws <shad@shadlaws.com>2013-03-09 12:51:45 +0100
commit18f38f0dff93665267bd1497b196d9270fdbdc88 (patch)
treef2918bc61f794896ab197d31e5a8f9202aa452d8 /modules/gallery/helpers/gallery_theme.php
parent566572809679ee5a266717cee1ed922ce4161814 (diff)
#2046 - Change Gallery over to using MediaElementJS as its movie player.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 3c6d71e9..e5f6b0b4 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -49,6 +49,10 @@ class gallery_theme_Core {
. $theme->script("l10n_client.js");
}
+ // Add MediaElementJS library
+ $buf .= $theme->script("mediaelementjs/mediaelement.js");
+ $buf .= $theme->script("mediaelementjs/mediaelementplayer.js");
+ $buf .= $theme->css("mediaelementjs/mediaelementplayer.css");
$buf .= $theme->css("uploadify/uploadify.css");
return $buf;
}