diff options
author | MaZderMind | 2015-03-01 14:49:26 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-01 14:49:26 +0100 |
commit | 9f5dad12d109fcd29eda813af9cd15e610dfcecf (patch) | |
tree | f067c5c6bfb5bd8a20b77ee0c34363751a6cb100 /lib | |
parent | f8362a9c02778b12b90b9e0f497f883fcca7c994 (diff) |
Switcher-Styles
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helper.php | 2 |
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) |