setTimeout does not work - what is wrong ?
<p>i need to work with setTimeout function but that function does not work.
First of all,</p>

<pre><code>  Player.prototype.playByUrl = function (url) {
        this.object.data = url;
        return this.play();
    }
</code></pre>

<p>Above code is my function and i call it</p>

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

<p>However, in above code, setTimeout does not work why ? </p>
