add track as media

This commit is contained in:
Cat /dev/Nulo 2023-03-31 20:53:21 -03:00
parent 679cc3e3f2
commit 558d1e66b7

View file

@ -58,7 +58,9 @@ function recurseElement(page: Page, el: Element) {
});
}
}
if (["audio", "video", "img", "source", "iframe"].includes(el.name)) {
if (
["audio", "video", "img", "source", "iframe", "track"].includes(el.name)
) {
if (el.attribs.src) {
checkUrl(page, el, el.attribs.src);
} else if (el.attribs.srcset) {