Vimeo-jQuery-API icon indicating copy to clipboard operation
Vimeo-jQuery-API copied to clipboard

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

Open marjanbajc opened this issue 8 years ago • 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.

marjanbajc avatar Jun 10 '16 23:06 marjanbajc