input type file empty jquery validation code example
Example: How to check if input file is empty in jQuery
if ($('#videoUploadFile').get(0).files.length === 0) {
console.log("No files selected.");
}
if ($('#videoUploadFile').get(0).files.length === 0) {
console.log("No files selected.");
}