How to restrict video upload size to 15MB in FlutterFlow with Firestore?

Actions & Logic

I want to add a condition during video upload that prevents users from uploading videos larger than 15MB. If the file size exceeds 15MB, the app should show an error message like:

“Video is more than 15MB. Please compress and re-upload the file.”

Can anyone guide me on how to implement this logic? Is there a workaround or any custom action I should consider?

Any help would be appreciated!

Thanks in advance :pray:

What have you tried so far?

..

Did you check FlutterFlow's Documentation for this topic?
No
4 replies