Download button for wp audio player

I’d like to add a download button to the core wp audio player (mediaelement.js). How can I do that simply? Any suggestions? 2 Answers 2 How to use a custom playlist template: You can overwrite the playlist template with your own template: /** * Remove the native playlist template and load our custom template * … Read more

How to get the number of times an audio file has been played

My aim is to get the total number of listens so I was thinking I could save a ‘listen’ count to the audio file’s post meta using update_post_meta() Is there a hook that fires each time an audio file is played? Background: I’m using wp_audio_shortcode() to output the (mediaelement) player. Refs: http://codex.wordpress.org/Function_Reference/wp_audio_shortcode 1 1 Yes, … Read more