Graphics

 View Only
  • 1.  Get out of loop when loop ends

    Posted 01-25-2013 10:44
    Hello everyone,

    We need some input on how to get the xpn to trigger a video the way we want.

    We are in a looping video segment. When we give a trigger we want the loop to play to end and then start a new video.

    any suggestions?


  • 2.  RE: Get out of loop when loop ends

    Posted 01-26-2013 20:18
    Hi Martin,

    The short answer would be: "no, not from within Xpression"

    To elaborate a bit more; as far as I know there is no way of editing an event using scripting or the API.

    Gentlemen of Ross, please correct me if I'm wrong.

    However, I could imagine a way to do it using the API.

    For that to work you should put the video in the scene. Also drag the same video in your scenedirector on one of the tracks. Also make sure that the properties of the video are set to "stopped" and "loop" is off.

    Next put the scene on air and play the scenedirector.

    Now using the API you could check several times per second for the position of the scenedirector. When it reaches a specific position in the scenedirector you can direct the scenedirector to jump back to a specific frame.

    Now when you receive the trigger to move on to the next video, instead of telling the scenedirector to jump back to a frame, you can leave it to play to the end and then start the next video.

    It's not the most decent way but for now, I think, it's the only way.

    Best regards,

    Kenneth

    #XPression