react-images-uploading
react-images-uploading copied to clipboard
Empty dataUrl String after upload
<ImageUploading
multiple
value={images}
onChange={onChange}
maxNumber={appConfig.fileUploader.maxNoOfFiles}
dataURLKey="data_url"
acceptType={allowedFileTypes}
onError={onError}
allowNonImageType
>
{({
imageList,
onImageUpload,
onImageUpdate,
onImageRemove,
onImageRemoveAll,
isDragging,
dragProps,
}) => (
....
)}
</ImageUploading>
When I upload an MP4 Video file of a size 500MB the data_url it results in an empty string with no file object,
[{"data_url":"","file":{}}]
the same works fine for the smaller file sizes
Can anyone please help me in resolving this issue
Thanks in advance :)