wpaudioplayer modifications
-
Hi everyone ??
I’m trying to modify wpaudioplayer to do a few things and I’m looking for advice.
The first thing I would like to do is modify the “Audio Player” button that is created using the “attachment_fields_to_edit” hook to include a download link with a specific class above the player. I have tried to modify the ‘title’ attribute of the button, which appears to control the insert, but it will not insert a link, any attempt to do so either breaks the button or the insert. Any advice? My guess is to put [download-link] and just modify the audioplayer to insert the link at this point before it drops in the player.
The second thing I’m trying to do is add callbacks to the player which call a javascript function when a track has completed, and allow me to change the track in a playlist. Essentially what I’m doing here is creating a text based playlist that will allow control over the player and also display the current track with a different class. My JS is strong, my AS is weak, so any advice would be appreciated.
Thanks for reading, and any writing….
- The topic ‘wpaudioplayer modifications’ is closed to new replies.