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 +++++++++++++++++++++++ template/assemblies/switcher/audio.phtml | 32 ++++++++++++------------------- template/assemblies/switcher/music.phtml | 21 ++++++++++++++++++++ template/assemblies/switcher/slides.phtml | 30 +++++++++++------------------ 5 files changed, 86 insertions(+), 47 deletions(-) create mode 100644 template/assemblies/player/music.phtml create mode 100644 template/assemblies/switcher/music.phtml (limited to 'template') 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 @@ + diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml index 9e42e0b..a062854 100644 --- a/template/assemblies/switcher/audio.phtml +++ b/template/assemblies/switcher/audio.phtml @@ -1,12 +1,11 @@