I store all assets (images, videos, audio, etc.) in AWS S3.
For images, I implemented (from the SyncFusion samples):
- <RichTextEditorImageSettings SaveUrl="@(_rteImageSaveUrl)" Path="" />
- <RichTextEditorEvents OnImageUploadSuccess="@OnImageUploadSuccess" />
The 1st step calls an API Controller which a) creates a unique filename (GUID), b) uploads the stream to S3, and c) adds a header entry to the response with the full S3 path to the image file.
The 2nd step changes the args.File.Name to the new S3 path and filename.
It works perfectly!
I then went to do the same for Audio and Video uploads. RichTextEditorAudioSettings and RichTextEditorVideoSettings both exist and I can set the SaveUrl, but there are no OnAudioUploadSuccess or OnVideoUploadSuccess events. What do you suggest?
Note: I do see FileUploadSuccess, but that doesn't seem right. I also saw OnAudioUploadSuccess in your Angular documentation. Is this something you're maybe planning to add to Blazor soon?
Thanks!