A couple of things:
- First, this code has some syntax issues – the
src
attribute isn’t properly closed. Further, as noted by @Rup,autoplay
should have a value ofon
:
Broken tag:
Fixed
- Second, I’m not 100% sure that WP Maintenance posts can process shortcodes. I would instead use a standard HTML Audio Tag.