I have tried several methods but none is playing the file2.m4v using html5 see screen shot.
But if i use that same file using VLC/Mplayer it play the film nicely (no pr
Your html is correct, so either the path is incorrect, the file is invalid, or the browser doesn't support m4v.
/var/www/ is highly suspicious, but as you say it works with a avi file, so that is not it
Try using the file: http://ade.apple.com/movies/institute2011/hotel.m4v in the src. If it is playing, then your m4v is probably not correctly encoded.
If you are using Firefox or Opera then the movie will never play, as they don't support anything other than WebM and OGG