File type and size checking for video uploading.