My project is requiring admins to upload video files for their content using the mediafinder which is connected to a S3 storage.
Videos are usually around 1Gigo.
The media finder is blocked and limited to 256Mb file size, and is not using the php.ini settings to handle the file upload maxFileSize.
My findings: the modules\backend\assets\vendor\dropzone\dropzone.js javascript file is hardcoded with maxFilesize: 256. This file is embedded served trough /modules/backend/assets/js/vendor-min.js
this is for OC V3.
Is this fixed in OC V4 ?
If not, I urgently need to override myself this code.
How should I go about re-building the vendor-min.js file after ovveride the dropzone.js file ?
@chris You should not modify vendor files directly (especially inside /modules/backend/assets/).
Anything inside vendor, modules, or compiled/minified bundles like vendor-min.js will be overwritten on updates.
Instead of editing the original dropzone.js, override it globally after it loads.
I need this in the backend to upload files in the mediafinder, not from the frontend through a theme.
you see my problem ?
Maybe there is an event available to hook in the mediafinder.