Javascript - setTimeout function
<p>i try to develop a page and i have to use setTimeout function because i need to load my video in my page two seconds later.</p>

<p>In order to do that, i wrote this,</p>

<pre><code> window.onload = function () {
        player = new Player('playerObject');
        setTimeout(player.playByUrl($mp4Link),3000);
    }
</code></pre>

<p>but this is not working why ? </p>
