mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-18 01:05:13 +00:00
merge
This commit is contained in:
parent
94e0108197
commit
89e06164af
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ function getMutationByKey(key, mutations) {
|
||||||
if (!key || !mutations) return undefined;
|
if (!key || !mutations) return undefined;
|
||||||
return mutations.find((mutation) => mutation.entityKey === key).payload;
|
return mutations.find((mutation) => mutation.entityKey === key).payload;
|
||||||
}
|
}
|
||||||
|
|
||||||
function linkParser(url) {
|
function linkParser(url) {
|
||||||
|
|
||||||
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
|
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
|
||||||
|
|
Loading…
Reference in a new issue