how to stop playing a screencast.com video embedded in a site through javascript
<p>I have added a screencast video to my website.Now i want to stop the video  when i click on a button.I tried some javascript code onclick event over the button.</p>

<p>var myVideoPlayer = document.getElementById("playerId"); //gets video player<br>
 myVideoPlayer.sendEvent("STOP");</p>

<p>But It didn't worked.</p>

<p>Please help  </p>
