ent.paused) {
                            audioElement.pause();
                            console.log('Paused audio via row button:', recordId);
                        } else {
                            // Ensure player is initialized before playing again
                            this.initAudioPlayer(recordId);
                            audioElement.play().catch(e => console.error('Error playing audio:', e));
                            console.log('Played audio via row button:', recordId);
      