Play audio and Redirect to page after some time
<p>I am working on a project,I have to implement a functionality that on page load I have to play an audio file and while playing after some seconds redirect to some other page. I have used  tag and it's onplaying event,but its not working. Can any one suggest any alternative?Its not even hitting the function and showing no error in console
Below is my code</p>

<pre><code>&lt;embed src="contents/MP3/abc.mp3" height="0"
    width="0" autostart="TRUE" onplaying="return RedirecttoSite();"&gt;&lt;/embed&gt;

    function RedirecttoSite() {              
            setTimeout(window.location.href = "/Default.aspx", 1000);
        }
</code></pre>

<p>What should be altenate solution to achieve this</p>
