That won’t work, because browsers cannot play avi files. This is what we’ve been trying to tell you the whole time. Playing video in browsers is hard, which is why you’d be a lot better off paying for Vimeo than doing all of this yourself.
But if you insist, I suggest you read (not scan, read!) this article http://diveintohtml5.info/video.html