Spaces:
Running
Running
Update src/components/VideoUploadScreen.tsx
Browse files
src/components/VideoUploadScreen.tsx
CHANGED
|
@@ -27,8 +27,8 @@ export default function VideoUploadScreen({ onVideoReady, onBack }: VideoUploadS
|
|
| 27 |
}
|
| 28 |
|
| 29 |
// Validate file size (100MB limit)
|
| 30 |
-
if (file.size >
|
| 31 |
-
setUploadError('Video file is too large. Please select a file under
|
| 32 |
return;
|
| 33 |
}
|
| 34 |
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
// Validate file size (100MB limit)
|
| 30 |
+
if (file.size > 1024 * 1024 * 1024) {
|
| 31 |
+
setUploadError('Video file is too large. Please select a file under 1GB.');
|
| 32 |
return;
|
| 33 |
}
|
| 34 |
|