title: JWplayer - multiple players on one page
body: <p>I have 3 videos on one page, however only the first loads.</p>
  
  <p>I understand I must create a for each loop but am unsure how to go about it. Can anyone point me in the right direction? Thanks</p>
  
  <p>My page looks like:</p>
  
  <pre><code>&lt;script type="text/javascript" src="jwplayer.js"&gt;&lt;/script&gt;
  
  
  &lt;div class="container"&gt;Loading the player ...&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  jwplayer("container").setup({
  flashplayer: "/jwplayer/player.swf",
  file: "vid1.flv",
  height: 270,
  width: 480
  });
  &lt;/script&gt;
  
  
  &lt;div class="container"&gt;Loading the player ...&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  jwplayer("container").setup({
  flashplayer: "/jwplayer/player.swf",
  file: "vid2.flv",
  height: 270,
  width: 480
  });
  &lt;/script&gt;
  
  
  &lt;div class="container"&gt;Loading the player ...&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  jwplayer("container").setup({
  flashplayer: "/jwplayer/player.swf",
  file: "vid3.flv",
  height: 270,
  width: 480
  });
  &lt;/script&gt;
  </code></pre>