Controlling speaker that has 4 interconnected pins
It looks like the left hand pair are connected together and ditto the right hand pair: -



I've shown red lines where I believe copper exists joining pairs of connections. You should use a meter to confirm this or, with an amplifier output fed via 100 ohms to protect it from shorting, experiment with which connection produces sound from the speaker.