You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the library some problems when you try to preview large size videos. The solution that i found is to put some restriction on fileinput.js like this:
maxFilePreviewSize is a new input parameter that informs the maximum size that a preview could have, in the case that the maxFilePreviewSize is smaller than the file size it shows the image.
I insert it in
```
readFile = function (i) {
....
....
if (!self.showPreview) {
self.addToStack(file);
setTimeout(readFile(i + 1), 100);
self._raise('fileloaded', [file, previewId, i, reader]);
return;
}
My solution
...
....
}
Please ulpload this change.
The text was updated successfully, but these errors were encountered:
Hi, the library some problems when you try to preview large size videos. The solution that i found is to put some restriction on fileinput.js like this:
Please ulpload this change.
The text was updated successfully, but these errors were encountered: