preload. A loop will continue running until the defined condition returns false. Usage. I found a way to enable autoplay with sound again, with just a single line of HTML And of course, I put it to good use on this site, here and here. Where we can call a JavaScript function to play our Audio Data in our HTML Document. Auto Caching. Requests a particular preload behavior to the browser, which the browser may or may not follow. It's your way of communicating to the browser whether it should download and cache the audio file or not. This is done by using the loop attribute of the