InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
<p>The following works in Chrome but not Firefox:</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var myVideo = document.getElementById('myVideo')
myVideo.currentTime = 570</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;video id="myVideo" controls&gt;
&lt;source src="myVideo.mp4" type="video/mp4"&gt;
&lt;/video&gt;</code></pre>
</div>
</div>
</p>

<p>In Firefox it says </p>

<blockquote>
  <p>InvalidStateError: An attempt was made to use an object that is not,
  or is no longer, usable</p>
</blockquote>

<p>for line 2.</p>