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.
<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!