From b82fb58dc44b6919e2bebc0995c637d25c7a97e7 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 4 Apr 2019 15:05:54 -0500 Subject: [PATCH] Fix typo in handling 'controls' param --- src/invidious/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 3887277a..10120c4e 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -851,7 +851,7 @@ def process_video_params(query, preferences) controls = query["controls"]?.try &.to_i? controls ||= 1 - controls = controls == 1 + controls = controls >= 1 params = { autoplay: autoplay,