Audio, Image, and Video Max File Sizes

We have code to check file size for audio, image, and video files, but there appears to be a max file size being applied by SyncFusion.

Images: Event "BeforeUploadImage" allows up to 50 MB, but we see error message "File size is too large" before the event fires. We believe it's blocking files over 25 or 30 MB.

Image.jpg

<RichTextEditorEvents BeforeUploadImage="BeforeUploadImage" />

private async Task BeforeUploadImage(ImageUploadingEventArgs args)
{
    //Image: 50 MB
    if (args.FilesData[0].Size > 52428800)
        args.Cancel = true;
}

We think the properties in the following item are needed to override the hard-coded values being enforced by Syncfusion:
https://www.syncfusion.com/feedback/65700/add-maxfilesize-property-to-richtexteditoraudiosettings-and

Audio/Video: Do these also have hard-coded max sizes? If so, what are they?

Video can be overridden with this code:

<RichTextEditorVideoSettings MaxFileSize="5368709120" />

Thanks!


3 Replies

VJ Vinitha Jeyakumar Syncfusion Team March 18, 2025 07:40 AM UTC

Hi Brian Pautsch,

We would like to inform you that the maximum file size for images, videos, and audio is 30 MB. However, while the maximum file size for videos can be increased using the MaxFileSize property, there is no such property available for audio and image settings.
We have already identified this as a potential enhancement, and it will be considered for inclusion in one of our upcoming releases.

Regards,
Vinitha


BP Brian Pautsch March 18, 2025 01:49 PM UTC

Thank you.



VJ Vinitha Jeyakumar Syncfusion Team March 19, 2025 05:16 AM UTC

Hi Brian Pautsch,

You are welcome.

Regards,
Vinitha

Loader.
Up arrow icon