mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2024-12-25 16:23:55 +01:00
Fix typo in handling 'controls' param
This commit is contained in:
parent
c728214af7
commit
b82fb58dc4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user