aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 14:49:26 +0100
committerMaZderMind2015-03-01 14:49:26 +0100
commit9f5dad12d109fcd29eda813af9cd15e610dfcecf (patch)
treef067c5c6bfb5bd8a20b77ee0c34363751a6cb100 /lib
parentf8362a9c02778b12b90b9e0f497f883fcca7c994 (diff)
Switcher-Styles
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index fdd472e..699c44e 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)