jrue/Vimeo-jQuery-API

Both 'pause' and 'finish' event fire at the end of the video

Opened this issue · 0 comments

Hi,

nice plugin, I really appreciate the work.

At the end of the video, both 'pause' and 'finish' event fire. Am I doing something wrong or is it some kind of VImeo bug?

        $(iframeId).on("pause", function(){
             _gaq.push(['_trackEvent', 'video', 'pause', videoId]);
         });

          $(iframeId).on("finish", function(){
             _gaq.push(['_trackEvent', 'video', 'finish', videoId]);
         });

Thank you.