Did you try using any of the plugins related to display video content within video pages?
I haven't tried .avi myself, but just in case...
check pages related to video stuff under:
and also the unnoficial ones (including .wmv, .mov, ...):
here on tw.o (through categories)