videos: move 'Caption' and associated global/functions to a separate file

This commit is contained in:
Samantaz Fox
2022-05-23 22:37:58 +02:00
parent 9baaef412f
commit cd03fa06ae
5 changed files with 177 additions and 164 deletions

View File

@@ -7,7 +7,7 @@ module Invidious::Frontend::WatchPage
getter full_videos : Array(Hash(String, JSON::Any))
getter video_streams : Array(Hash(String, JSON::Any))
getter audio_streams : Array(Hash(String, JSON::Any))
getter captions : Array(Caption)
getter captions : Array(Invidious::Videos::Caption)
def initialize(
@full_videos,