Have audio tag play after a delay?

Viewed 30692

I'm playing an MP3 using the <audio> tag in HTML5.

<audio controls="controls" autoplay="autoplay">
  <source src="song.mp3" type="audio/mp3" />
</audio>

This works fine, but I am wondering how I can put a delay in before the song starts to autoplay? I know there's not a delay attribute, but I'm thinking it could be accomplished via javascript?

3 Answers
Related