It would be really handy to have an easy way to assign an id number (ie. id="mp3player_x") to each MP3 Player object.

I am loading multiple mp3players using AJAX callbacks, due to this it's assigning id="mp3player_1" to all of them. At the moment I am doing a messy string replace on the html returned in order to assign a unique id, before injecting it into the DOM.

Perhaps this could be an additional parameter in the theme function, unless someone has a better idea?

Comments

mariusilie’s picture

Any news on this?

markie’s picture

Assigned: Unassigned » markie
Status: Active » Needs review

if you're still interested in this, I am unable to duplicate. I have multiple instances running and it assigns an incremental id on them. If I don't hear from you, I'll assume you've moved on.