video upload max size?
hi, i am getting this error:
{"file":{"max":"The file size must be less than 300MB."}}
is this a plugin setting? i don't think i have my server set to this maximum.
is this a plugin setting?
\=> No, this is not related to FluentCart settings. FluentCart uses WordPress settings for file uploads. If you can upload files larger than 300MB in your WordPress media library but not in FluentCart, it is definitely a FluentCart issue. If that's the case, please let us know.
Sarkar RiponΒ hi, thank you for the message. i tried uploading a large 500mb video file to the media library. no problem. uploading in FluentCommunity still gives the error.
i am talking about FluentCommunity, i dont use FluentCart
i quickly installed a wordpress and FluentCommunity on another VPS i am running. the same problem appears there. maybe a setting in FluentPlayer?
Han VanΒ Hi! The 300MB limit is a default cap in Fluent Community's video upload handler. It's not a server setting β the plugin enforces it.
You can increase it by adding this to your theme's functions.php (or a custom plugin):
add_filter('fluent_community/video_upload_max_file_size', function() {
return 1024; // Set to 1024MB (1GB)
});
Also make sure your server's PHP settings support the larger size:
- upload_max_filesize
- post_max_size
Both should be equal to or greater than your desired limit.
Habibur Rahman DelwarΒ perfect! thank you for your rapid support.