« Back to demos index

Ignore all audio files that have a bit rate that is less than 64k

With the /file/filter robot you can access all meta information that the file offers. Conditions on properties that a file does not have, will be ignored. Upload a file that does not have a bitrate (like an image) and see that it will be accepted. » See full documentation

"steps": {
  "files": {
    "robot": "/file/filter",
    "declines": [
      ["${file.meta.audio_bitrate}", "<", "64000"]
    ],
    "result": true
  }
}
$(function() {
  $('form').transloadit({
    wait: true,
    autoSubmit: true
  });
});

The form

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.