title: How do I play a video that I have uploaded in HTML5?
body: <p>So, I want to be able to play a video that I have just uploaded via an input tag. The code will probably look nothing like this, but this is the basic idea:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type = "file" id = "uploadedFile"&gt;
  &lt;video width="320" height="240" controls&gt;
    &lt;source src="uploadedFile" type="video/mp4"&gt;
  &lt;/video&gt; </code></pre>
  </div>
  </div>
  </p>
  
  <p>Help would be much appreciated! <br>
  Thanks!</p>