playing .avi

what is the best/eazyest way to play .avi files befor and during a game that is openGL rendered?

Perhaps Video for Windows that is part of the GDI library.