mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
update
This commit is contained in:
1 parent
000127f88c
commit
071d78dd6c
194 files changed
+28793
-3944
No files matched your search
@@ -42,7 +42,18 @@ export function resolveVideoPointer({
|
||||
for (const pointer of pointerCandidates) {
|
||||
const key = pointerArrayToKey(pointer);
|
||||
if (key) {
|
||||
return { pointer, key };
|
||||
const pointerEventId =
|
||||
pointer[0] === "e" && typeof pointer[1] === "string"
|
||||
? pointer[1].trim()
|
||||
: fallbackId;
|
||||
return {
|
||||
pointer,
|
||||
key,
|
||||
eventId:
|
||||
typeof pointerEventId === "string" && pointerEventId
|
||||
? pointerEventId
|
||||
: "",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user