add track as media
This commit is contained in:
parent
679cc3e3f2
commit
558d1e66b7
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue