title: How to use PHP path inside JWplayer Javascript
body: <p>How do I write my php path with variables inside the embedded JWplayer Javascript?
  I am new to php and have no code experience in Javascript.
  I would appreciate any help.</p>
  
  <pre><code>**This absolute path works:**
   &lt;script type="text/javascript"&gt;
   jwplayer("myElement").setup({
      file: "/uploads/example.mp4",
      height: 360,
      image:  "http://saradyso.com:8020/SuperContainer/RawData/MediaWeb/REG002133749/ADP100000033/Video1.mp4",
      width: 640
      });
   &lt;/script&gt;
  
  **This doesn't work:**
  &lt;script type="text/javascript"&gt;
   jwplayer("myElement").setup({
      file: "/uploads/example.mp4",
      height: 360,
      image:"http://'.$Domain.':'.$Port.'/'.$ContainerV.'/'.$FileName.'/'.$SubFolder.'.mp4'",
      width: 640
      });
   &lt;/script&gt;
  </code></pre>