mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-07-04 21:08:25 +00:00
Add back missing resolution field
This commit is contained in:
parent
f57aac5815
commit
57e606cb43
@ -125,6 +125,7 @@ module Invidious::JSONify::APIv1
|
||||
|
||||
if height && width
|
||||
json.field "size", "#{width}x#{height}"
|
||||
json.field "resolution" "#{height}p"
|
||||
|
||||
quality_label = "#{width > height ? height : width}p"
|
||||
|
||||
@ -179,6 +180,7 @@ module Invidious::JSONify::APIv1
|
||||
|
||||
if height && width
|
||||
json.field "size", "#{width}x#{height}"
|
||||
json.field "resolution" "#{height}p"
|
||||
|
||||
quality_label = "#{width > height ? height : width}p"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user