aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 98397e4..deea2c1 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -12,9 +12,9 @@ function link_room($room)
return rawurlencode($room).'/';
}
-function link_player($room, $format = 'sd', $translated = false)
+function link_player($room, $format = 'hd', $translated = false)
{
- $isDefaultFormat = in_array($format, array('sd', 'video'));
+ $isDefaultFormat = in_array($format, array('hd', 'video'));
return rawurlencode($room).'/'.($isDefaultFormat ? '' : rawurlencode($format).'/').($translated ? 'translated/' : '');
}