diff --git a/app/src/components/SVGContent.vue b/app/src/components/SVGContent.vue index 6d92b0e..f8074d6 100644 --- a/app/src/components/SVGContent.vue +++ b/app/src/components/SVGContent.vue @@ -469,10 +469,11 @@ async function processScrolls(svg: XMLDocument): Promise { direction as VideoScrollDirection ) ) { - throw new Error(`Unknown direction string: "${direction}"`); + console.error(`Unknown direction definition: "${direction}"`); + return false; } return direction as VideoScrollDirection; - }); + }).filter((d) => Boolean(d)) as VideoScrollDirection[]; console.debug(`[SVG/VIDEOSCROLLS] Fetching ${filesURL}...`); const fileFetch = await fetch(`content/${filesURL}`); diff --git a/app/src/components/VideoScroll.vue b/app/src/components/VideoScroll.vue index a3523cb..9ede8db 100644 --- a/app/src/components/VideoScroll.vue +++ b/app/src/components/VideoScroll.vue @@ -1,5 +1,5 @@