Jump to time JavaScript

Sep 16, 2021

I'm working with video files inserted directly onto a slide (not embedded) so it synchronizes with the timeline. Some of the videos are quite long (over an hour and a half). I'm hoping that we can save the position mid slide.

I was able to accomplish this in Captivate using a custom variable and JavaScript. Upon entry of the slide, the JavaScript would start an interval and save the current position on the timeline to the variable.

Also upon entry of the slide, it would check for a value in the variable and jump to that point if it's greater than the starting point of the slide.

Since Storyline 360 includes a Jump to Time action I assume I can work with it much the same way, but I can't find the JavaScript needed to check the current position in the slide or to jump to time.

The videos are required so we need the seek bar locked until completed.

Any help or alternate suggestions would be appreciated.

Be the first to reply