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 @@ -