react-images-uploading icon indicating copy to clipboard operation
react-images-uploading copied to clipboard

Empty dataUrl String after upload

Open knowrahman opened this issue 2 months ago • 0 comments

<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 :)

knowrahman avatar Apr 30 '24 04:04 knowrahman