Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Takes too long to load large files #25

Open
waqashassan98 opened this issue Dec 11, 2019 · 1 comment
Open

Takes too long to load large files #25

waqashassan98 opened this issue Dec 11, 2019 · 1 comment

Comments

@waqashassan98
Copy link

waqashassan98 commented Dec 11, 2019

I am using ezdz to load video file, which is around 64mb.
The dropzone seems to be hanged while loading the file. It takes few seconds before the file name is populated. Can this process be accelerated?

jQuery('#vidfile').ezdz({
		text: 'drop the Video',
		preview: null,
		// accept: function(file) {
		// 	var size = file.size;
		// 	size = size/1024;
		// 	var unit = " KB";
		// 	if(size>=1024){
		// 		size = size/1024;
		// 		unit = " MB";
		// 	}
		// 	jQuery("#sb_asset_vid_size").html(size.toFixed(2)+unit);

		// }
	});
@jaysalvat
Copy link
Owner

Hello,
I'm afraid no :'(
Feel free to edit the code and try some optimisation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants