DVD player worked for 2 years and now we only gets sound no picture . All connections are good .?
find a good running used one in a thrift shop
Buy a 4k UHD Blu ray disc player god sake it's 2019.
Unless your player is a superior model, replacing it will cost less than repair.
It's probably time just to get a new one, sounds like something went wrong with it
Components go bad, especially on electronics that are made cheaply (which DVD players often are). I would try a different connection. If you are using HDMI, try component, or whichever. That would at least begin to troubleshoot.
just buy new one