A lot of people might suggest VLC, but VLC is kind of sucky.
Download Perian, it allows Quicktime and iTunes (and any other Mac Video player based on Quicktime) to load .flv, .mkv, DivX, XviD, etc.
Edit:
In response to your second question, to play Windows Media Player files there's a...