• Hello,

    I want my videoplayer to be able to seek through points in the video based on playback buttons(this part was easy), but I also want the video to know to pause itself at certain times based off those button pressed as well

    i.e. onclick=playsectionB()...action name="playsectionB"... seek(video to be start time)... if video gt time is = 2,pause())

    something along those lines. I've checked up on tracing the video's time parameter but I have yet to see a real example on how to use it. Currently I have this action:


    <action name="checkvideotime">
    trace('video time=',plugin[video].time);
    if(plugin[video].time GT 1.4, action(plugin[video].pause());
    delayedcall(1.0, checkvideotime() );
    </action>

    but I have nothing to call it every frame so nothing happens. Kinda lost on this one. Thanks ahead of time

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!