title: SoundManager2 AutoPlay loads file twice
body: <p>I have to include an audio file, which automatically plays and can be paused and played again by buttons. The pausing and playing works, however it seems, that the file is loaded twice and I can't find the problem. When I pause, the sound volume just goes down and if I press the play button, one "layer" continues playing, where I paused it, the other just keeps on playing... This is the code:</p>
  
  <pre><code>$(document).ready(function() {
    $('#play').hide();
    soundManager.setup({
      debugMode: false,
      onready: function () {
        soundManager.createSound({
          id: 'music',
          url: 'up/files/file.mp3',
          autoPlay: true,
          autoLoad: false
        })
      }
    });
  
    $('#play').bind('click', function() {
      var sound = soundManager.getSoundById('music');
      sound.play();
      $('#pause').show();
      $('#play').hide();
    });
  
    $('#pause').bind('click', function() {
      var sound = soundManager.getSoundById('music');
      sound.pause();
      $('#pause').hide();
      $('#play').show();
    });
  });
  </code></pre>
  
  <p><strong>Edit</strong></p>
  
  <p>As Alex Morrise said, this seems to be a bug in the soundmanager2.js file. I now fixed this by providing a path to the swf-files and setting the <code>preferFlash</code> option to <code>true</code>, like so:</p>
  
  <pre><code>soundManager.setup({
    url: 'path/to/swf-files',
    preferFlash: true,
    debugMode: false,
    onready: function () {
      soundManager.createSound({
        id: 'music',
        url: 'up/files/file.mp3',
        autoPlay: true,
        autoLoad: false
      })
    }
  });
  </code></pre>