            if (newAudioElement) {
                                newAudioElement.play().catch(e => console.error('Error playing audio:', e));
                            }
                        });
                    }
                } else {
                    // Row not expanded, expand first and then play
                    console.log('Row not expanded, expanding and playing:', recordId);
                    this.toggleExpand(recordId); // This will call initAudioPlayer internally

             