Better video quality support (#496)
* Better video quality support * Quality selector, preferences, and content task * Lint fix * web app --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
7c2cb5517a
commit
9e68decc88
24 files changed
+765
-171
No files matched your search
@@ -184,15 +184,6 @@ namespace Invidious
|
||||
return request.Await()
|
||||
end function
|
||||
|
||||
function GetVideoStreamUrl(videoId as string, itag = invalid as dynamic) as string
|
||||
instance = m.GetInstance()
|
||||
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
|
||||
feedSources = feedContentNode.feedSources
|
||||
feedSourcesIndex = feedContentNode.feedSourcesIndex
|
||||
|
||||
Reference in new issue
Block a user