http request cancelled on javascript html5 audio preload
<p>I'm trying to preload audio files with javascript. I'm using chrome,
When the number of files growing up the http request of my files are cancelled by chrome...
why? what can i do?
This is my code:</p>

<pre><code>filesToLoad = 44;
filesLoaded = 0;

for ( var ni = 1; ni &lt; filesToLoad; ni++) {

    console.log("start::: " + ServerPath + 'audio/' + ni + '.mp3');
    loadAudio(ServerPath + 'audio/' + ni + '.mp3');
}

function loadAudio(uri) {
    var audio = new Audio();
    audio.addEventListener('canplaythrough', isAppLoaded, true); // It
    audio.src = uri;
    return audio;
}

function isAppLoaded() {
    filesLoaded++;
    if (filesLoaded &gt;= filesToLoad) {
        cb();
    }
    console.log("load::: " + ServerPath + 'audio/' + filesLoaded + '.mp3');
}

function cb() {
    alert("loaded");
}
</code></pre>
