Created
January 10, 2016 21:39
-
-
Save level09/f11ddf7f57b9fa3e8a8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dropzone.autoDiscover = false; | |
$("#dz-video").dropzone({ | |
acceptedFiles: 'video/mp4,video/quicktime', | |
maxFilesize: 1000, | |
addRemoveLinks: true, | |
success: function (file, response) { | |
$(file['previewElement']).data('filename', response); | |
//console.log('Successfully uploaded: ' + response); | |
$('#process-btn').removeClass('disabled'); | |
}, | |
error: function (file, response) { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment