|
|
@ -241,7 +241,7 @@ VIDEO_FORMATS = {
|
|
|
|
"251" => {"ext" => "webm", "format" => "DASH audio", "acodec" => "opus", "abr" => 160},
|
|
|
|
"251" => {"ext" => "webm", "format" => "DASH audio", "acodec" => "opus", "abr" => 160},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class Video
|
|
|
|
struct Video
|
|
|
|
property player_json : JSON::Any?
|
|
|
|
property player_json : JSON::Any?
|
|
|
|
|
|
|
|
|
|
|
|
module HTTPParamConverter
|
|
|
|
module HTTPParamConverter
|
|
|
@ -549,7 +549,7 @@ class Video
|
|
|
|
})
|
|
|
|
})
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
class Caption
|
|
|
|
struct Caption
|
|
|
|
JSON.mapping(
|
|
|
|
JSON.mapping(
|
|
|
|
name: CaptionName,
|
|
|
|
name: CaptionName,
|
|
|
|
baseUrl: String,
|
|
|
|
baseUrl: String,
|
|
|
@ -557,7 +557,7 @@ class Caption
|
|
|
|
)
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
class CaptionName
|
|
|
|
struct CaptionName
|
|
|
|
JSON.mapping(
|
|
|
|
JSON.mapping(
|
|
|
|
simpleText: String,
|
|
|
|
simpleText: String,
|
|
|
|
)
|
|
|
|
)
|
|
|
|