Ty móc móc jak:
var tmr=setInterval (checkTime, 100);myVideoPlayer.playheadUpdateInterval=100;funkcja checkTime (){ jeżeli (int (myVideoPlayer.playheadTime) ==5) { doMyFunc (); clearInterval (checkTime); }}