title: Jw player error when embed code youtube video
body: <p>i need help.
  i have a problem with JW Player embed code using youtube
  i had tried follow the tutorial on following link:
  <a href="http://influxis.com/how-to-embed-the-jw-player/#step4" rel="nofollow">How to embed using youtube</a></p>
  
  <p>and this is my code :</p>
  
  <pre><code>&lt;body&gt;
  &lt;script type="text/javascript" src="jwplayer/jwplayer.js"&gt;&lt;/script&gt;
  &lt;div id="myElement"&gt;&lt;/div&gt;
  &lt;script&gt;
      jwplayer("myElement").setup({
          flashplayer: 'jwplayer/player.swf',
          file: "https://www.youtube.com/watch?v=KdF_nqQy8qQ",
          width: 640,
          height: 360
      });
  &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>but when i try my code, video doesn't show and this is the error message show on console chrome :</p>
  
  <blockquote>
    <p>GET <a href="http://localhost/stc/jwplayer/undefined" rel="nofollow">http://localhost/stc/jwplayer/undefined</a> 404 (Not Found)</p>
  </blockquote>
  
  <p>please help me.</p>