mirror of https://github.com/VueTubeApp/VueTube
merge
This commit is contained in:
parent
94e0108197
commit
89e06164af
|
@ -41,6 +41,7 @@ function getMutationByKey(key, mutations) {
|
|||
if (!key || !mutations) return undefined;
|
||||
return mutations.find((mutation) => mutation.entityKey === key).payload;
|
||||
}
|
||||
|
||||
function linkParser(url) {
|
||||
|
||||
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
|
||||
|
|
Loading…
Reference in New Issue