title: video-js iPhone ended / fullscreenchange events not firing?
body: <p>I am using <a href="http://www.videojs.com/" rel="nofollow">video-js</a> library, but I cannot get either the <code>fullscreenchange</code> or <code>ended</code> events to fire on iPhone as it uses the native player. Are there any workarounds for this?</p>
  
  <pre><code>main_video_player.on('ended', function () {
      window.location.hash = '#share';
  });
  
  main_video_player.on('fullscreenchange', function () {
      window.location.hash = '#share';
  });
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>I have tried this with some success, but it is not firing on my iphone 4 simulator:</p>
  
  <pre><code>$('video#main-video_html5_api').on('webkitendfullscreen', function() {
      window.location.hash = '#share';
  });
  </code></pre>
  
  <p>EDIT 2: Could it be that the hash change won't work on iPhone if the player is fullscreen?</p>