load shorts links (#1605)
This commit is contained in:
parent
011ee17711
commit
1ceb21f424
|
@ -308,6 +308,13 @@ const actions = {
|
|||
return paramsObject
|
||||
}
|
||||
},
|
||||
// youtube.com/shorts
|
||||
function() {
|
||||
if (urlObject.pathname.match(/^\/shorts\/[A-Za-z0-9_-]+$/)) {
|
||||
extractParams(urlObject.pathname.replace('/shorts/', ''))
|
||||
return paramsObject
|
||||
}
|
||||
},
|
||||
// cloudtube
|
||||
function() {
|
||||
if (urlObject.host.match(/^cadence\.(gq|moe)$/) && urlObject.pathname.match(/^\/cloudtube\/video\/[A-Za-z0-9_-]+$/)) {
|
||||
|
|
Loading…
Reference in New Issue