title: Change HTML5 video tag width and height through Javascript
body: <p>I have the following code in client side JS:</p>
  
  <pre><code>$(function() {
    $("#player1").html(
      '&lt;video width=' + width + ' height=' + height + ' autoplay&gt;' +
        '&lt;source src=' + curPlayListHrefs[0] + ' type="video/youtube"&gt;&lt;/source&gt;' +
      '&lt;/video&gt;'
    );
  });
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>  var video = document.getElementsByTagName("video")[0];
    video.videoHeight = 300;
    video.videoWidth = 700;
  </code></pre>
  
  <p>Is it possible for me to change the width/height of the video tag?</p>