1 person found this helpful
The code looks like this:
sym.$("your_video_element").currentTime = 2; // sets the start point for the video element to 2 seconds, and then add the next line...
sym.$("your_video_element").play(); // this plays the video element
Or instead, you could add a Play action to the video element by clicking the plus button below the video element in the timeline, to the right of the Playback label:
Select Play From, and then enter 2 in the dialog timecode field to indicate 2 seconds.
... actually I discovered the real problem, I had the video set to Autoplay, and with that selection checked it always set the video to start at the beginning of the timeline. With Autoplay un-selected the instructions described in the docs worked fine. Maybe it's worth an honorable mention in the docs about this?
Although I have to say Joe, I'm quickly learning the value of driving all of these actions via scripting, so I copied your instructions for future use.
Yes, that is correct - unless the currentTime property is specified, autoplay will always play video element from its own time zero. This is the expectation for autoplay with video in standard HTML5.