mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix autoplay preference
This commit is contained in:
parent
6b2774c081
commit
4730497efe
1 changed files with 0 additions and 4 deletions
|
@ -471,10 +471,6 @@ def process_video_params(query, preferences)
|
||||||
quality = query["quality"]?
|
quality = query["quality"]?
|
||||||
quality ||= "hd720"
|
quality ||= "hd720"
|
||||||
|
|
||||||
autoplay = query["autoplay"]?.try &.to_i?
|
|
||||||
autoplay ||= 0
|
|
||||||
autoplay = autoplay == 1
|
|
||||||
|
|
||||||
controls = query["controls"]?.try &.to_i?
|
controls = query["controls"]?.try &.to_i?
|
||||||
controls ||= 1
|
controls ||= 1
|
||||||
controls = controls == 1
|
controls = controls == 1
|
||||||
|
|
Loading…
Reference in a new issue