Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants