title: ended event videojs not working
body: <p>I would like to trigger a simple event when my video is finished. I've placed this directly bellow my video tag. </p>
  
  <pre><code>     &lt;script type="text/javascript"&gt;
          var myPlayer = videojs("session_video");
            videojs("session_video").ready(function(){
            this.addEvent("ended", function(){ 
              alert('Here I am');
            });
          });       
       &lt;/script&gt;
  </code></pre>
  
  <p>However I get: TypeError: this.addEvent is not a function and I can't find why.</p>
  
  <p>You can see it live here: 78.47.121.50 (stackoverflow won't allow to make that a link) 
  enter code 01-01-01-2012 to bring up the video. </p>
  
  <p>Any insight is much apricaited! </p>
  
  <p>Kind regards,
  Jason. </p>