It looks like you're new here. If you want to get involved, click one of these buttons!
onSelect: function (event, queueID, fileObj) {
var ext = ....extract file extension from fileObj.name and set to lower case...;
switch (ext) {
case 'mp3':
case 'wmv':
case 'avi':
if (fileObj.size >= ...maximum filesize in bytes....)
$('#yourID').uploadifyCancel(queueID);
break;
case 'doc':
... keep going with your options...
default:
break;
}
},