Open 35grain opened 1 month ago
It probably will not work. Or you have to wait for some time. The Media Manager encode the file to base64, and for 1Gb it can take a while.
I think it is designed for relatively small files, and cannot handle really huge uploads. Which is sad.
It shouldn’t be a hard thing to implement transform streams for the conversion to base64: https://caniuse.com/mdn-api_transformstream
Steps to reproduce the issue
Attempt to upload a large file (approx. 1 GB or more) via Media Manager.
Expected result
A POST request is made and the file is successfully uploaded.
Actual result
The JavaScript FileReader API seems to fail resulting in no POST request being sent.
Related code: https://github.com/joomla/joomla-cms/blob/3804cb3b69dbd3696ff86819cc8d24386396a6b3/administrator/components/com_media/resources/scripts/components/upload/upload.vue#L44C5-L68C10
System information (as much as possible)
Joomla 4.4.9 (but as far as I understand, affects both 4 and 5). Firefox 131.0.3. The rest is irrelevant and related system configurations have been verified to work with alternative uploaders.
Additional comments
For those seeking for a working alternative for uploading large files for the time being, I suggest looking at JCE Editor Pro (File Browser) or similar.