Use ttml for captions
This commit is contained in:
1 parent
a1c9ae8884
commit
72a55b5414
3 files changed
+11
-18
No files matched your search
@@ -1631,13 +1631,13 @@ namespace Innertube
|
||||
return nodeData["content"]
|
||||
end function
|
||||
|
||||
function ParseText(data as object) as string
|
||||
if data = invalid
|
||||
return ""
|
||||
end if
|
||||
function ParseText(data as dynamic) as string
|
||||
if IsString(data)
|
||||
return data
|
||||
end if
|
||||
if not IsAssociativeArray(data)
|
||||
return ""
|
||||
end if
|
||||
if data.DoesExist("simpleText")
|
||||
return data["simpleText"]
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user