Video:finish triggered twice

Hi there,

In Zap-alytics I see my stats that are being updated at the “video:finish” are counted twice. When I use a console.log and inspect the Zappar-app in Chrome, I indeed see my console.log being fired two times.

Is there an issue with this? Or am I doing something wrong? Here’s the main part of my script:

  var video_duration = 0;

  parent.on("seen", () => {
      var v = videoplayer.nodes.show0.myvid;

      v.on("duration", () => { 
          video_duration = v.duration(); 
      });

      *SNIP*

      videoplayer.on("video:finish", ()=> {
          ------------
          THIS PART IS BEING FIRED TWICE
          ------------

          Z.stats.logEvent("Video finished");
          console.log("Video finished");
      });

      video_duration = videoplayer.nodes.show0.myvid.duration(); 
  });

Thanks (again ;-)) in advance!

Ferdy