Vimeo-jQuery-API
Vimeo-jQuery-API copied to clipboard
Both 'pause' and 'finish' event fire at the end of the video
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.