To play DVD in Windows Media Player, you need a DVD Decoder (software). You might have gotten one free with your video card, check the bundles software.
You can play DVDs using
VLC media player. You wont need a DVD decoder to play DVDs in VLC.
VLC == free software to play DVDs (and lots of other things)
PS codec packs are shit