Hello everyone,
I'm working on a FlutterFlow project and need some guidance on setting up video upload functionalities with specific constraints. Here’s what I'm trying to achieve:
1. **Upload Restrictions**: I want to ensure that any video uploaded by a user adheres to certain limits, specifically:
- Maximum duration of 2 minutes
- Size limit (e.g., 50 MB)
2. **Conditional Compression**: Depending on the video size, I would like to implement conditional actions:
- If the video size is below a certain threshold (e.g., less than 20 MB), it should be uploaded as is, without any compression.
- If it exceeds this threshold, the video should automatically be compressed before upload to reduce its size.
Could anyone share insights or resources on how to:
- Set these video upload restrictions in FlutterFlow?
- Implement a video compressor within the FlutterFlow environment?
Any examples, code snippets, or guidance on plugins and APIs that could be used for this purpose would be greatly appreciated. I am particularly interested in knowing how to manage file sizes and implement conditional logic based on those sizes within FlutterFlow.
Thanks in advance for your help!