about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index ccd5f2dee..930f57326 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -136,3 +136,12 @@ export const GIF_FEATURED = (params: string) =>
   `${GIF_SERVICE}/tenor/v2/featured?${params}`
 
 export const MAX_LABELERS = 20
+
+export const SUPPORTED_MIME_TYPES = [
+  'video/mp4',
+  'video/mpeg',
+  'video/webm',
+  'video/quicktime',
+] as const
+
+export type SupportedMimeTypes = (typeof SUPPORTED_MIME_TYPES)[number]