aboutsummaryrefslogtreecommitdiff
path: root/mod/zaudio/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zaudio/start.php')
-rw-r--r--mod/zaudio/start.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/zaudio/start.php b/mod/zaudio/start.php
index c440456b7..b353dffb9 100644
--- a/mod/zaudio/start.php
+++ b/mod/zaudio/start.php
@@ -12,4 +12,7 @@ elgg_register_event_handler('init', 'system', 'zaudio_init');
function zaudio_init() {
elgg_extend_view('css/elgg', 'zaudio/css');
+
+ $js_url = elgg_get_site_url() . 'mod/zaudio/audioplayer/audio-player.js';
+ elgg_register_js('elgg.zaudio', $js_url);
}