This commit is contained in:
Alex 2022-04-05 21:04:17 +12:00
parent 94e0108197
commit 89e06164af
1 changed files with 1 additions and 0 deletions

View File

@ -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?=?([^#&?]*).*/;