use jquery to play audio code example
Example: how to play jquery audio
$('document').ready(function() {
const audio = new Audio("source.mp3" );
audio.play();
});
$('document').ready(function() {
const audio = new Audio("source.mp3" );
audio.play();
});