title: audio preloader Jquery
body: <p>I am using html5-preloader to preload my audio files. It works fine in all browsers and android, but not in iPad. What is wrong with this code,</p>
  
  <blockquote>
    <p><a href="http://code.google.com/p/html5-preloader/" rel="nofollow">http://code.google.com/p/html5-preloader/</a></p>
  </blockquote>
  
  <pre><code>    &lt;script language="javascript"&gt;
      $(document).ready(function()
      {
      var myLoader;
      myLoader = new html5Preloader();
      myLoader.loadFiles('assets/audio/aaa.mp3','assets/audio/bbb.mp3','assets/audio/ccc.mp3','assets/audio/ddd.mp3','assets/audio/eee.mp3');
  
      myLoader.onfinish = function(){alert('Done')};
  
      myLoader.on('finish',function(){ 
      alert("Done");
          document.getElementById("loading_layer").style.visibility = "hidden";
      });
  
      myLoader.onerror = function(e){alert('Error occured while loading '+this.loadingFile); retu
  
  rn true; };
  
  });
  &lt;/script&gt;
  </code></pre>