I prefer to use a downloaded audio plugin (Compact Audio Plugin) instead of the default. When I upload mp3 files using the add-media button, a shortcode is automatically installed: [audio mp3=something][/audio]. It would be nice if I could find a way to intercept and write this to the format of my prefered plugin.
Here is a list of the dead ends I have pursued:
The function add_shortcode ($tag, $arg ) will only change the attributes. Similarly the shortcode_atts_{$shortcode} filter only changes the attributes.
The wp_embed_handler_audio filter seems like a good fit, but it never gets called. I can not find any invocation of the function the applies this filter.
For a while I thought $shortcode_tags might be helpful, but it seems to be only a list of possible shortcodes rather that actual.
Also, I found lots of threads about how the 3.6 audio player has caused problems for lots of existing wp installations.
My last option would be a brute force regex in a filter of the the_content, but that seems to extreme.
Anyway, I would greatly appreciate some suggestions