Add medium video quality video to the settings (#230)
This commit is contained in:
1 parent
6e4262e6a5
commit
54b0acbe8f
4 files changed
+41
-8
No files matched your search
@@ -154,9 +154,13 @@ namespace Invidious
|
||||
return request.Await()
|
||||
end function
|
||||
|
||||
function GetVideoStreamUrl(videoId as string) as string
|
||||
function GetVideoStreamUrl(videoId as string, itag = invalid as dynamic) as string
|
||||
instance = m.GetInstance()
|
||||
return `${instance}/latest_version?id=${videoId}`
|
||||
url = `${instance}/latest_version?id=${videoId}`
|
||||
if itag <> invalid
|
||||
url = `${url}&itag=${itag}`
|
||||
end if
|
||||
return url
|
||||
end function
|
||||
|
||||
function MarkFeedPagination(feedContentNode as object) as object
|
||||
|
||||
Reference in new issue
Block a user