Early versions of Microsoft Windows (XP and earlier) had multiple versions of DirectX that had to be installed separately. Later versions of Windows included DirectX with some having the ability to upgrade. Below are the latest versions of DirectX for the different versions of Windows.
Windows 10 = DirectX 12.Windows Vista, 7, and 8 = Up to DirectX 11 (Vista released with DirectX 10).Other Windows version = Up to DirectX 9.0c depending on Windows version.
Video playback may fail when DirectX 9 overlays are required
According to Microsoft, you may encounter this issue based on the following reason; To work around this issue, reset the display resolution to the native screen resolution. In Windows 10, those scenarios are still rare, but they may occur more frequently than in Windows 8.1. This is especially true when your display options are set to a lower resolution than the native screen resolution. However, if your display options are already set to the native screen resolution and this issue continues to occur, exit all open applications and then restart your video application. You could also run the DirectX Diagnostic Tool and see if that helps you. Hope this post is informative enough!