From cbb2b8915dc5205609f20db9ee087a0744b434bd Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Mon, 28 Aug 2023 20:55:59 -0700 Subject: [PATCH] fix: close #132 --- src/lib/ui/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ui/image.ts b/src/lib/ui/image.ts index 12d10407..f884783c 100644 --- a/src/lib/ui/image.ts +++ b/src/lib/ui/image.ts @@ -9,5 +9,5 @@ export const isVideo = (inputUrl: string | undefined) => { const url = new URL(inputUrl).pathname.toLowerCase() - return url.endsWith('mp4') || url.endsWith('webm') || url.endsWith('mov') + return url.endsWith('mp4') || url.endsWith('webm') || url.endsWith('mov') || url.endsWith('m4v') }