Code for Mute the player when it is in muted state.

refs #31043