Both 'pause' and 'finish' event fire at the end of the video
Opened this issue · 0 comments
marjanbajc commented
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.