From 19aa3d5b974594c220b8b178dfd7034a5501ac56 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Fri, 23 Jan 2026 14:53:26 +0100 Subject: [PATCH] fix(client): improve iOS video upload compatibility (MIME types, size limit) --- client/src/pages/new-reel.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/pages/new-reel.tsx b/client/src/pages/new-reel.tsx index f3157bc..7905624 100644 --- a/client/src/pages/new-reel.tsx +++ b/client/src/pages/new-reel.tsx @@ -213,9 +213,13 @@ export default function NewReel() { const { getRootProps, getInputProps, isDragActive, open } = useDropzone({ onDrop, accept: { - "video/*": [".mp4", ".mov", ".webm", ".3gp", ".3gpp", ".mkv", ".avi"], + 'video/mp4': ['.mp4', '.m4v'], + 'video/quicktime': ['.mov', '.qt'], + 'video/webm': ['.webm'], + 'video/x-msvideo': ['.avi'], + 'video/*': [], // Fallback }, - maxSize: 52428800, + maxSize: 500 * 1024 * 1024, // 500MB pour supporter les vidéos 4K noClick: true, noKeyboard: true, });