mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix typo in handling 'controls' param
This commit is contained in:
parent
c728214af7
commit
b82fb58dc4
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ def process_video_params(query, preferences)
|
||||||
|
|
||||||
controls = query["controls"]?.try &.to_i?
|
controls = query["controls"]?.try &.to_i?
|
||||||
controls ||= 1
|
controls ||= 1
|
||||||
controls = controls == 1
|
controls = controls >= 1
|
||||||
|
|
||||||
params = {
|
params = {
|
||||||
autoplay: autoplay,
|
autoplay: autoplay,
|
||||||
|
|
Loading…
Reference in a new issue