mirror of https://github.com/FreeTubeApp/FreeTube
* Update URL parser to recognize youtube.com/live/xxxxxxx (#3930)
This commit is contained in:
parent
356c4a07c2
commit
16aee6e094
|
@ -594,6 +594,13 @@ export function getVideoParamsFromUrl(url) {
|
|||
return paramsObject
|
||||
}
|
||||
},
|
||||
// youtube.com/live
|
||||
function () {
|
||||
if (/^\/live\/[\w-]+$/.test(urlObject.pathname)) {
|
||||
extractParams(urlObject.pathname.replace('/live/', ''))
|
||||
return paramsObject
|
||||
}
|
||||
},
|
||||
// cloudtube
|
||||
function () {
|
||||
if (/^cadence\.(gq|moe)$/.test(urlObject.host) && /^\/cloudtube\/video\/[\w-]+$/.test(urlObject.pathname)) {
|
||||
|
|
Loading…
Reference in New Issue