It is fairly impossible that you will have a file with the file name extension .xvid. Probably, your file is named something along the lines of 'Filename.XviD.AVI'. In fact, there are no XviD files per say but many different common multimedia containers that can store XviD video content. The most common containers you will find is the AVI, OGM and MKV.
To play XviD videos, you can use a great XviD video player. Or if you want to play XviD videos anywhere, let's say; to play an XviD file on iPhone, ipad, PSP and etc; converting the XviD videos is the best choice for you. For this purpose, the Wondershare Video Converter (Video Converter for Mac) is strongly recommended. It supports any video and audio format, application and even device. Continue reading below for the step-by-step instruction:
How to Convert XviD files with the Video Converter
Note: To convert and burn the DivX or XviD files onto a DVD, the Wondershare DVD Creator is a very workable tool.
If you don't want to convert XviD videos, XviD video player can be your choice. I'll introduce the top 3 XviD video players underneath for you to choose from.
How to Convert XviD files with an Online Video Converter
XviD Player 1: Windows Media Player
Windows Media Player v11.0 - Windows Media Player (WMP) is one of the most commonly used XviD players, primarily because it's the default media player in Windows and it's capable of playing pretty much any video format with the right codec installed. This player should be pre-installed on your computer, but in case you don't have the latest version you can download it here from here; Download Media Player v11.0.
XviD Player 2: BSPlayer
BSPlayer v1.37 - BSPlayer is yet another XviD player or an alternative that's capable of playing back most media files (i.e. AVI, MPG, ASF, WMV, WAV and MP3) and subtitle formats (i.e. MicroDVD, Subviewer and SubRip). The player also supports custom subtitle positioning, colors, fonts and transparency. If you want to change how the interface look or feel, you can easily download new skins online. Finally, this player features quite an efficient CPU and memory usage, so if you run into problems with skipping during playback; you might want to give this player a try. Download BSPlayer v1.37-BSPlayer.
Note: Please note that all XviD players (except VLC player) requires the XviD codec in order to playback the XviD videos. If you'd like to play XviD content with a DirectShow-based player like on Windows Media Player, you'll need to install a codec or filter for playing the XviD video smoothly. This article here gives you two different options to choose from.
Install Codec or Filter
XviD Codec
The word 'Codec' is an abbreviation for Coder and Decoder. That is to say, the XviD Codec can let you create and decode XviD video files at the same time. After installation, the XviD Codec will work with your system and be used to decode the XviD video content when you try to playback the files with a DirectShow-based player. That's for instance, playback on Windows Media Player. You can download the XviD Codec from: http://www.afterdawn.com/software/video_software/codecs_and_filters/xvid.cfm.
FFDShow
FFDShow is a set of DirectShow filters. Some may think that FFDShow is a must-have component for anybody who watches videos in various formats on their computer. In comparison, FFDShow has an obvious advantage over the XviD codec. It will give you better odds in terms of having your audio decoded. You can download it at: http://www.afterdawn.com/software/video_software/codecs_and_filters/ffdshow.cfm.