mirror of
https://github.com/iv-org/invidious.git
synced 2025-01-03 13:41:47 +05:30
Compare commits
No commits in common. "da84d967b182dadd9ef701d54b732e121d87f55c" and "c5b610d479c1a231e3ad5f613bb79d00ed489dde" have entirely different histories.
da84d967b1
...
c5b610d479
@ -163,7 +163,7 @@ module Invidious::Routes::API::Manifest
|
||||
url = template_url.gsub("$M", "$Number$")
|
||||
|
||||
storyboard_width = storyboard[:storyboard_width]
|
||||
|
||||
|
||||
tile_count = tiles_per_page
|
||||
duration = tile_count * interval_seconds
|
||||
|
||||
@ -175,13 +175,13 @@ module Invidious::Routes::API::Manifest
|
||||
|
||||
xml.element("AdaptationSet", id: i, mimeType: mime_type, contentType: "image") do
|
||||
xml.element("SegmentTemplate", media: url, duration: duration, startNumber: "0")
|
||||
xml.element("Representation", id: "thumbnails_#{i}", bandwidth: bandwidth, width: width, height: height) do
|
||||
xml.element("Representation", id: "thumbnails_#{id}", bandwidth: bandwidth, width: width, height: height) do
|
||||
xml.element("EssentialProperty", schemeIdUri: "http://dashif.org/guidelines/thumbnail_tile", value: "#{storyboard_width}x#{storyboard_height}")
|
||||
end
|
||||
end
|
||||
i += 1
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user