mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-19 13:21:34 +00:00
WebVTT::Builder: rename #line to #cue
This commit is contained in:
@@ -78,7 +78,7 @@ module Invidious::Videos
|
||||
end
|
||||
end
|
||||
|
||||
vtt.line(start_time, end_time, text)
|
||||
vtt.cue(start_time, end_time, text)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ module Invidious::Videos
|
||||
# Taken from Invidious::Videos::Captions::Metadata.timedtext_to_vtt()
|
||||
vtt = WebVTT.build(settings_field) do |vtt|
|
||||
lines.each do |line|
|
||||
vtt.line(line.start_ms, line.end_ms, line.line)
|
||||
vtt.cue(line.start_ms, line.end_ms, line.line)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user