title: Youtube embedded player: Event when video has ended
body: <p>I'm creating an application which plays youtube videos in C# (winform). Now i'd like to fire an event, or something like that, when the video has ended.
  I'm using the webbrowser control and call a youtube video like this:</p>
  
  <pre><code>wbYoutube.Navigate("http://www.youtube.com/v/" + playString[1] + "?version=3&amp;enablejsapi=1&amp;autoplay=1");
  </code></pre>
  
  <p>playString[1] is the youtube video id (like rGJN5K2cV_8).</p>
  
  <p>I've been trying to get this working a few days now, has anyone got an idea on how to achieve this? If it's even possible...</p>
  
  <p>If you need more info, let me know.
  Thanks</p>