Control autoplay for each audio tag

I want to be able to control the autoplay feature for each independent audio tag.

I’ve seen some solutions using javascript to control which audio files gets autoplayed, but there’s no way to check whether or not a certain audio file has stopped playing, so this solution does not work if you want to play more than one audio file.

A new audio tag syntax might be appropriate.
For example:
[!sound:audio.mp3] → audio will never autoplay
[@sound:audio.mp3] → audio will always autoplay

There’s this pull request proposing something similar: Added arguments as [sound:filename|argument1 argument2...] by evandrocoan · Pull Request #540 · ankitects/anki · GitHub
But it doesn’t seem to be going anywhere from what I can see.