title: jwplayer not recognizing file in rails
body: <p>rails to play videos in rails.
  But when i giving dynamic path to jwplayer it is not recognizing.</p>
  
  <p>My script</p>
  
  <pre><code>jwplayer("myElement").setup({ file: "/uploads/ckeditor/attachments/90/HTML5_video_tutorial__Creating_a_WebM_video___lynda.com.flv", width: 540 });
  </code></pre>
  
  <p>In console the object tag returns like this</p>
  
  <pre><code>&lt;div id="myElement_wrapper" style="position: relative; width: 540px; height: 270px;"&gt;
  &lt;object id="myElement" height="100%" width="100%" type="application/x-shockwave-flash" data="http://localhost:3000/assets/jwplayer.flash.swf" bgcolor="#000000" name="myElement" tabindex="0"&gt;
   &lt;param name="allowfullscreen" value="true"&gt;
  &lt;param name="allowscriptaccess" value="always"&gt;
  &lt;param name="seamlesstabbing" value="true"&gt;
  &lt;param name="wmode" value="opaque"&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>I obseved that i thas not taken any source url.
  Let me know what's the problem.
  </p>