Fix typo in handling 'controls' param

This commit is contained in:
Omar Roth 2019-04-04 15:05:54 -05:00
parent c728214af7
commit b82fb58dc4
1 changed files with 1 additions and 1 deletions

View File

@ -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,