It's your spouse's responsibility to prioritize you over his or her parents. You have to talk to your spouse and explain what the problem is, why it's unacceptable, etc. In the end, she needs to tell his or her parents that they need to stop meddling in your affairs and that he/she won't stand for boorish behavior toward you since you are his/her spouse. Incidentally, the same applies to how you deal with your parents. If your spouse won't agree to step up and take that step, then you might need to progress to marriage counseling, unless you suspect that a divorce is inevitable. Good luck.