I’m trying to trigger an event at time X during video playback. I have this event handler generated.
symbol.nodes.MyVideo.on("time", () => {
// Runs when time occurs on the A R Graduation.mp4 node
if (time >= 5000)
{
// do something
}
});
This link,
https://docs.zap.works/studio/scripting/reference/video/events/time/, says " When the time
event is fired, attached handler functions are called with a single argument, the current seek position in milliseconds."
So what’s the name of the argument so I can use in my event handler?