When using the "declines" parameter, the file is declined when at least one condition is matched. » See full documentation
"steps": {
"files": {
"robot": "/file/filter",
"declines": [
["${file.size}", ">", "20971520"],
["${file.meta.duration}", ">", "300"]
],
"error_on_decline": true
}
}
$(function() {
$('form').transloadit({
wait: true,
autoSubmit: true
});
});
For demos we allow a maximum of 30MB.
This form is html5-multiupload enabled. If your browser supports it, you can select multiple files and execute the template with them.