Embedded movie ready / finish / complete


#1

Hi there,

We are embedding a short video in a Zappar-project by importing a .mp4 into the media library and dragging it into the hierarchy. Now I’d like to know when the video is finished. I’m wondering if this is possible when using an embeded video. I see several examples when using streaming video (videoplayer).

I’ve tried the following:

symbol.nodes.coffee_video_mp4.on("video:finish", ()=> {
    console.log("finish1");
});
symbol.nodes.coffee_video_mp4.on("finish", finishedFunction);

I’ve also added a finish-script to the coffee_video_mp4 (rightclick --> script --> finish) which isn’t working either.

None of these seem to work.

Any ideas?

Ferdy