Run the Troubleshooter and check if that fixes the issue:
The troubleshooter checks the configuration and network settings for Windows Media Player to make sure that you can play content you've downloaded and saved to your computer, or content streaming over a network or the Internet.
Method 1: Follow this step to run the Media Player Settings Troubleshooter:
Open the Windows Media Player Settings troubleshooter by clicking the
Start button, and then clicking Control Panel. In the search box, type troubleshooter, and then click
Troubleshooting. Click View all, and then click
Windows Media Player Settings.
Refer this link for more information:
Open the Windows Media Player Settings troubleshooter