title: Embedded Vimeo Video Callbacks
body: <p>This post is kind of a follow up to a post I made earlier in regards to <a href="https://stackoverflow.com/questions/2954595/html5-video-callbacks">HTML5 video callbacks</a>. In that thread, I was given a great piece of code that would allow for the browser to be informed of when the video stops playing and then fire off an action (with jQuery). This is the code I'm currently using:</p>
  
  <pre><code>$('video.normal').bind('ended', function(){
      $(this).fadeOut().queue(function(){ 
          $(this).siblings('.post-video').fadeIn();
          $(this).dequeue();
      });
  });
  </code></pre>
  
  <p>Which basically fades the video out when it's completed and brings a poster frame of the video (or similar image) back into view.</p>
  
  <p>Well, the scope of the project has changed and now the client is asking for true full screen video and different size videos to be delivered based on user connection speed, something that's a little over my head and a lot over budget. So I've been researching and a Vimeo Plus player seems like a great alternative for visitors using a desktop browser (HD embeds, true full screen, and more). Thing is, I need that above code to continue working in some capacity or another, so does the embedded Vimeo player offer a similar callback that I can utilize? Or am I SOL here?</p>
  
  <p>Thanks in advance!</p>