From 4730497efe3ec2c01506aa0a3829ab5a3d1e7cbb Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 8 Aug 2018 18:15:35 -0500 Subject: [PATCH] Fix autoplay preference --- src/invidious/videos.cr | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 01da1f1e..2a634349 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -471,10 +471,6 @@ def process_video_params(query, preferences) quality = query["quality"]? quality ||= "hd720" - autoplay = query["autoplay"]?.try &.to_i? - autoplay ||= 0 - autoplay = autoplay == 1 - controls = query["controls"]?.try &.to_i? controls ||= 1 controls = controls == 1