diff --git a/lib/helper.php b/lib/helper.php index fdd472e2..699c44eb 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -16,7 +16,7 @@ function link_player($room, $format = 'hd', $translated = false) { $defaultformat = room_has_hd($room) ? 'hd' : 'sd'; - return rawurlencode($room).'/'.($defaultformat == $format ? '' : rawurlencode($format).'/').($translated ? 'translated/' : ''); + return rawurlencode($room).'/'.(($defaultformat == $format || 'video' == $format) ? '' : rawurlencode($format).'/').($translated ? 'translated/' : ''); } function link_stream($protocol, $room, $format, $translated = false) diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml index fb12e605..9e42e0b4 100644 --- a/template/assemblies/switcher/audio.phtml +++ b/template/assemblies/switcher/audio.phtml @@ -1,33 +1,68 @@ -

Formats

- +
+

Audio

+
-
+
+
+
Audio
-

Directlinks

- + + + + + native + + + + translated + + + + + + + video + + + +
+
+ +
+ + +

Directlinks

+
+ + +
+ + +
+ + +
+
\ No newline at end of file diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml index 401b4e7c..45af0d03 100644 --- a/template/assemblies/switcher/slides.phtml +++ b/template/assemblies/switcher/slides.phtml @@ -1,31 +1,67 @@ -

Slides

- +
+

Slides

+
-

Directlinks

- +
+
+
Slides
+ + + + + + native + + + + translated + + + + + + + native + + + +
+
+ +
+ +

Directlinks

+
+ + +
+ +
+ + +
+ +
\ No newline at end of file diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml index 653847c5..2017b2e0 100644 --- a/template/assemblies/switcher/video.phtml +++ b/template/assemblies/switcher/video.phtml @@ -1,6 +1,7 @@
-

Formats

+

Video

+
@@ -28,6 +29,7 @@
+
@@ -35,6 +37,7 @@