Could be running afoul of some protection scheme. I.e., Region code.
Do the DVDs and CDs play in any other devices that you have?
What error messages do you receive when trying to play a commercial DVD or CD?
For more information start here:https://en.wikipedia.org/wiki/DVD_region_code
Perhaps some mismatch between your location, the DVD/CD player, and the source of the DVD/CD's you are attempting to play.