How to connect the iMac speaker to another device to test?

Guys, I'm repairing the iMac's speaker, the edge disintegrated, so I decided to fix it, but I need to connect it to another device to test, I've already tried connecting it to the headphone output on the iPad and MacBook, it doesn't work.

Block Image

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0