@electblake – Appreciate the links. However, your method doesn’t work for me. While I can see the link itself in visual mode after editing/composing the post, I don’t see the brackets, or the audio keyword, etc., if I go back into visual editing mode. Plus, the mp3 link you posted to dubstep.info is dead, anyway, lol.
Remember, this post is about people who are still using the WP Audio Player plugin that uses an audio shortcode. You’re quoting how to embed an html5 native audio player in WP. While I know that’s an option, we (for our own reasons at present) are using the older WP Audio Plugin and the latest WP update broke the way the WP plugin shortcode displays when in visual mode (the player itself still works fine).
Here’s a sample working mp3 link that anyone can test:
[audio src="https://www.tonycuffe.com/mp3/cairnomount.mp3" /]
Using your method:
[audio src="https://www.tonycuffe.com/mp3/cairnomount.mp3"]
doesn’t work for a couple of reasons. First, after editing you only see the link itself when in visual mode. So, you don’t see [audio src=" "]
More importantly, while the old WP audio player does display when previewing the post or looking at the published post using your syntax, it always returns “File Not Found” for the audio cut.
My workaround is to just capitalize the “a” in “audio”, so it would be seen like this:
[Audio: https://www.tonycuffe.com/mp3/cairnomount.mp3]
Using this method, you see the entire shortcode in either visual or text mode, and the WP audio player displays and finds the track fine.
Here’s how the test mp3 syntax above would look with additional WP Audio Player (the old plugin we’re using) parameters, such as title and artist info, as well as counting UP the time, vs. counting down:
[Audio: https://www.tonycuffe.com/mp3/cairnomount.mp3|titles=Test MP3|artists=Tony Cuffe|remaining=no]