If you fail to play AVI in QuickTime, the best solution is to convert these AVI to a QuickTime-supported format. Learn how to convert AVI to QuickTime here.
Want to convert WMV to QuickTime for playback or other uses? Here, I recommend you a powerful yet easy-to-use WMV to QuickTime converter to do this great job.