How to automatically play a short video clip on HTML5 canvas?
<p>I have made a simple game using canvas, but I can't seem to figure out how to get a quick 3 second intro to play just once within my canvas (before canvas is drawn). </p>

<p>This is what I've got for my html:</p>

<pre><code>&lt;video id="intro" src="https://www.youtube.com/watch?v=tqErAlg-QJU" controls="false" autoplay&gt;&lt;/video&gt;

&lt;canvas id="myCanvas" width="800" height="400"

style="border:1px solid #000000;"&gt;

&lt;/canvas&gt;
</code></pre>