fix: close #132
This commit is contained in:
1 parent
24d4469996
commit
cbb2b8915d
1 file changed
+1
-1
+1
-1
@@ -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')
|
||||
}
|
||||
Reference in new issue
Block a user