Something along those lines should work, but it might be fussy on the exact sort of mp4 container used for the aac file, hence the suggestion to use aiff, and let itunes convert the aac file itself in format it's definitely happy with. I can't recall the exact length limit, but it at least used to be over 30 seconds, and somewhere close to, if not exactly, 40.