From b07e1beaa8e3ff0653ea5b02cd26737c227dc667 Mon Sep 17 00:00:00 2001
From: MaZderMind
Date: Sun, 1 Mar 2015 16:17:20 +0100
Subject: music & audio tabs
---
template/assemblies/player/audio.phtml | 26 ++++++++++++++++++--------
template/assemblies/player/music.phtml | 24 ++++++++++++++++++++++++
2 files changed, 42 insertions(+), 8 deletions(-)
create mode 100644 template/assemblies/player/music.phtml
(limited to 'template/assemblies/player')
diff --git a/template/assemblies/player/audio.phtml b/template/assemblies/player/audio.phtml
index c1c7f8f..e007ab3 100644
--- a/template/assemblies/player/audio.phtml
+++ b/template/assemblies/player/audio.phtml
@@ -3,12 +3,22 @@
preload="auto"
style="width: 230px;"
>
-
-
+ if(in_array("audio-mp3", $formats)): ?>
+
+ endif ?>
+ if(in_array("audio-opus", $formats)): ?>
+
+ endif ?>
+ if(in_array("audio-ogg", $formats)): ?>
+
+ endif ?>
diff --git a/template/assemblies/player/music.phtml b/template/assemblies/player/music.phtml
new file mode 100644
index 0000000..587d2d2
--- /dev/null
+++ b/template/assemblies/player/music.phtml
@@ -0,0 +1,24 @@
+
--
cgit v1.2.3