title: How config nginx to serve flv video streaming with JWplayer
body: <p>I need to serve flv files from one server, and show those videos on a web page located in another server, with JWPlayer.</p>
  
  <p>I already config nginx with the flv module, an put this on nginx.conf</p>
  
  <p>location ~ .flv$ {
          flv;
      }</p>
  
  <p>The code I use in the jwplayer is</p>
  
  <pre><code> &lt;object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"&gt; 
  &lt;param name="movie" value="player.swf" /&gt; 
  &lt;param name="allowfullscreen" value="true" /&gt; 
  &lt;param name="allowscriptaccess" value="always" /&gt; 
  &lt;param name="flashvars" value="file=http://XX.XX.XX.XX/vid5.flv&amp;image=preview2.jpg" /&gt; 
  &lt;embed 
      type="application/x-shockwave-flash"
      id="player2"
      name="player2"
      src="player.swf" 
      width="630" 
      height="385"
      allowscriptaccess="always" 
      allowfullscreen="true"
      flashvars="file=http://XX.XX.XX.XX/vid5.flv&amp;image=preview2.jpg" 
  /&gt; 
  </code></pre>
  
  <p> </p>
  
  <p>Where XX.XX.XX.XX is the ip address of the server (we'll config an appropiate domain, but first i have to make the whole thing works :) )</p>
  
  <p>The problem is that nothing happen. I don't know what to do next, all the articles on the internet only talks about how compile the flv module (already done) and add the nginx.conf lines.</p>
  
  <p>Any help would be greatly appreciate</p>
  
  <p>Thanks in advance</p>