title: Why does my jPlayer work in Firefox and not Chrome?
body: <p>I'm making an audio player for my music blog that I run, but I can't seem to get jPlayer to work properly on my website. Right now, I have it set so that only admins can view the player (since it's not working), but I made a little test website so that you can see what I mean too.</p>
  
  <p>The player works fine in Firefox, but won't work correctly on Chrome. I have a feeling that it has something to do with the flash fallback that it uses for Firefox, but I don't see why it wouldn't work on Chrome too. It just does not seem to want to load/stream the songs at all.</p>
  
  <p>I have a few functions that I made so the songs can be added dynamically on whichever page you are viewing. I believe I am setting up everything correctly. I use an array for the title of the song and the URL to the MP3, and they are added dynamically by WordPress. Every time a new song is added, I call the JavaScript function add_song below...</p>
  
  <pre><code>function add_song(title, mp3)
  {
      theTitles[index] = title;
      theMP3s[index] = mp3;
      index++;
  }
  </code></pre>
  
  <p>Then for the document.ready function, I set up my jPlayer by using another function that I made called get_playlist();</p>
  
  <pre><code>function get_playlist()
  {
      var playlist = new Array();
  
      for(var i = 0; i &lt; theTitles.length; i++)
      {
          playlist[i] = {title: theTitles[i], mp3: theMP3s[i]};
      }
      return playlist;
  }
  
  $(document).ready(function()
  {
      var playlist = get_playlist();
      new jPlayerPlaylist({
          jPlayer: "#jquery_jplayer_1",
          cssSelectorAncestor: "#jp_container_1",
          oggSupport:false
      }, playlist, {
          swfPath: "/js",
          supplied: "mp3",
          wmode: "window"
      });
  });
  </code></pre>
  
  <p>I have a feeling that I'm missing something simple as to why it would work on Firefox and not Chrome, but I can't figure out what it is. If, however, you start to play one of the songs by pushing the play button on the actual post, then stop it, then try to play it in the top player, it works fine. For example, try to play the first song in the top player, it won't work. Then click the play button on the actual Seasfire post, pause it, then try on the top player again and it will work. Here is my <a href="http://www.startingtofeelit.com/text.php" rel="nofollow">url</a> to the test site so you can view the player yourself if you have any questions.</p>
  
  <p>Thanks guys and gals!</p>