Add support for avi playback