fix mime checks (#5118)

This commit is contained in:
Samuel Newman
2024-09-03 20:55:10 +01:00
committed by GitHub
parent ea4d8bc1ab
commit 0bd0146efb
4 changed files with 28 additions and 14 deletions
+1 -1
View File
@@ -30,5 +30,5 @@ export async function compressVideo(
const info = await getVideoMetaData(compressed)
return {uri: compressed, size: info.size, mimeType: `video/${info.extension}`}
return {uri: compressed, size: info.size, mimeType: `video/mp4`}
}