FILES CANNOT PLAY ON WINDOWS MEDIA PLAYER

Hello.
Yesterday I downloaded a video file with an avi file format from the internet but Windows Media Player didn’t seem to support it. Whenever I try to open the file with Windows Media player, it shows an error that says “Windows media player cannot play this file, the player might not support this file type or might not support the CODEC that was used to compress the file. ” Is anyone here who can give a proper solution to this problem?
