Error while playing Audio in browser
<p>I am playing audio with user specified starttime using javascript code </p>

<pre><code>var audio_player = document.getElementById("audi");
//'audi' is ID of audio tag  
audio_player.currentTime = audi_start_time;
//Start time from where audio should start to play

audio_player.play();
</code></pre>

<p>when I run website I'm able to play the audio from the time specified in 'audi_start_time' but most of the time I'm getting error  </p>

<blockquote>
  <p>'An attempt was made to use an object that is not, or is no longer, usable<br>
  [Break On This Error]   </p>
</blockquote>

<pre><code>audio_player.currentTime = audi_start_time;
</code></pre>

<p>Any help would be appreciated. thanks in advance</p>
