
onTime callback onplaylist
Hi,
I'm trying to apply a onTime callback in a playlist ?
It's working fine for a single video, but how to do it for a specific video in a playlist ?
myVideo.onTime(function (event) {
if (event.position>2) {console.log("mote than 2 seconds passed"); }
});
Thanks for your help
Marc