mirror of
https://github.com/iv-org/invidious.git
synced 2025-01-03 21:51:45 +05:30
Compare commits
2 Commits
c5b610d479
...
da84d967b1
Author | SHA1 | Date | |
---|---|---|---|
|
da84d967b1 | ||
|
827be740d3 |
@ -175,7 +175,7 @@ module Invidious::Routes::API::Manifest
|
|||||||
|
|
||||||
xml.element("AdaptationSet", id: i, mimeType: mime_type, contentType: "image") do
|
xml.element("AdaptationSet", id: i, mimeType: mime_type, contentType: "image") do
|
||||||
xml.element("SegmentTemplate", media: url, duration: duration, startNumber: "0")
|
xml.element("SegmentTemplate", media: url, duration: duration, startNumber: "0")
|
||||||
xml.element("Representation", id: "thumbnails_#{id}", bandwidth: bandwidth, width: width, height: height) do
|
xml.element("Representation", id: "thumbnails_#{i}", bandwidth: bandwidth, width: width, height: height) do
|
||||||
xml.element("EssentialProperty", schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile", value: "#{storyboard_width}x#{storyboard_height}")
|
xml.element("EssentialProperty", schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile", value: "#{storyboard_width}x#{storyboard_height}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user