I inserted the audio in html. But the audio gets started before the entire page loads. I want the audio to be played after the entire page gets loaded.
<
You're going to need JavaScript for that. Remove the autoplay attribute:
autoplay
and add a script like this:
window.onload = function() { document.getElementById("my_audio").play(); }
Or if you use jQuery:
$(document).ready(function() { $("#my_audio").get(0).play(); });