diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-08 18:15:35 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-08 18:15:35 -0500 |
| commit | 4730497efe3ec2c01506aa0a3829ab5a3d1e7cbb (patch) | |
| tree | 2474998072a8bc5fcafa623169e56fb917c8fa28 | |
| parent | 6b2774c081f0549ccf8d25a38cde4eebf5404356 (diff) | |
| download | invidious-4730497efe3ec2c01506aa0a3829ab5a3d1e7cbb.tar.gz invidious-4730497efe3ec2c01506aa0a3829ab5a3d1e7cbb.tar.bz2 invidious-4730497efe3ec2c01506aa0a3829ab5a3d1e7cbb.zip | |
Fix autoplay preference
| -rw-r--r-- | src/invidious/videos.cr | 4 |
1 files changed, 0 insertions, 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 |
