title: Javascript variable in src
body: <p>I have the following Javascript variable.</p>
  
  <pre><code>&lt;script type ="text/javascript"&gt;
      document.getElementById("vid").src = video.url();
  &lt;/script&gt;
  </code></pre>
  
  <p>How do I put the videoUrl into my movie player.</p>
  
  <pre><code>&lt;video width="320" height="240" controls autoplay&gt;
  &lt;embed id="vid" src="videoUrl" width="200" height="200"&gt;
  &lt;/video&gt;
  </code></pre>