aboutsummaryrefslogtreecommitdiff
path: root/mod/zaudio/views/default/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/zaudio/views/default/file')
-rw-r--r--mod/zaudio/views/default/file/specialcontent/audio/mp3.php7
-rw-r--r--mod/zaudio/views/default/file/specialcontent/audio/mpeg.php7
-rw-r--r--mod/zaudio/views/default/file/specialcontent/audio/mpg.php7
3 files changed, 21 insertions, 0 deletions
diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mp3.php b/mod/zaudio/views/default/file/specialcontent/audio/mp3.php
new file mode 100644
index 000000000..11d09708a
--- /dev/null
+++ b/mod/zaudio/views/default/file/specialcontent/audio/mp3.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * ZAudio file view override
+ * @package ElggZAudio
+ */
+
+echo elgg_view('zaudio/audioplayer', array('file_guid' => $vars['entity']->getGUID()));
diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php b/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php
new file mode 100644
index 000000000..11d09708a
--- /dev/null
+++ b/mod/zaudio/views/default/file/specialcontent/audio/mpeg.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * ZAudio file view override
+ * @package ElggZAudio
+ */
+
+echo elgg_view('zaudio/audioplayer', array('file_guid' => $vars['entity']->getGUID()));
diff --git a/mod/zaudio/views/default/file/specialcontent/audio/mpg.php b/mod/zaudio/views/default/file/specialcontent/audio/mpg.php
new file mode 100644
index 000000000..11d09708a
--- /dev/null
+++ b/mod/zaudio/views/default/file/specialcontent/audio/mpg.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * ZAudio file view override
+ * @package ElggZAudio
+ */
+
+echo elgg_view('zaudio/audioplayer', array('file_guid' => $vars['entity']->getGUID()));