I can't see why, but the seek() function/event seems blocked when we are dragging timeline.
Is there a way to update the video time while dragging, not only onup ?
This does not work (only added the last line, which is the onup from videointerface_seekbar)
Code
<action name="videointerface_seekbar_seeking">
screentolayer(videointerface_seekbar, mouse.stagex,mouse.stagey, lx,ly);
div(seekpos, lx, layer[videointerface_seekbar].pixelwidth);
mul(seekpos_percent, seekpos, 100);
clamp(seekpos_percent, 0, 100);
txtadd(seekpos_percent_text, get(seekpos_percent), '%');
copy(layer[videointerface_seekgrip].x, seekpos_percent_text);
plugin[get(videointerface_video)].seek(get(seekpos_percent_text));
</action>
even getting the right frame in seconds doesn't work:
Code
<action name="videointerface_seekbar_seeking">
screentolayer(videointerface_seekbar, mouse.stagex,mouse.stagey, lx,ly);
div(seekpos, lx, layer[videointerface_seekbar].pixelwidth);
mul(seekpos_percent, seekpos, 100);
clamp(seekpos_percent, 0, 100);
txtadd(seekpos_percent_text, get(seekpos_percent), '%');
copy(layer[videointerface_seekgrip].x, seekpos_percent_text);
set(len, get(plugin[video].totaltime));
mul(tmp, get(seekpos_percent), get(len));
div(sec, get(tmp), 100);
plugin[video].seek(get(sec));
</action>
Display More