Javascript command for pausing movie stream?
<p>I need a Javascript command that pauses video stream embeded from Putlocker as soon as specific DIV pops up.</p>

<p>Here is an example that works with JWPlayer</p>

<pre><code>var interval = setInterval(function(){
 if (document.getElementById("gw-node-overlay"){ 
      jwplayer().stop(); 
      clearInterval(interval);
 }}, 1000);
</code></pre>

<p>Edit:
Video is iframed. Example: <code>&lt;iframe src="http://www.putlocker.com/embed/#####" width="700" height="360" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;</code></p>
