Explore the community Forums Lectora Lectora Questions & Answers jump to the next event in a video Reply To: jump to the next event in a video

#431780 Score: 1
Profile photo of Tim K
Tim K
Member
contributor
beginner
intermediate
advanced
friend finder
junior moderator
advocate
wise owl
curious george
Group Member
354 pts
@timk

Can you post a sample? I’m not sure I understand what you’re trying to achieve. An event is a trigger while the video is playing. The video plays to Event 1 (00:09.77) … what happens at that event? – A Next buttons appears, that should let the learner jump to 00:24.00 = Event 2? Wouldn’t it be much easier to show a video with a duration of the first 00:09.77 and continue with images after that?

You can Run javascript to jump around in the video, e.g.

document.getElementsByTagName("video")[0].currentTime=24;

to reach the 2nd event.

Remember to replace the quotes if you copy the code from the forum. I’d have marked the code as code but the system won’t let me any more.

This post has received 1 vote up.
  • This reply was modified 11 months, 4 weeks ago by Profile photo of Joe Wieloch Joe Wieloch. Reason: marked code as code (admin)