Using video timecode as a trigger condition
Jul 31, 2015
By
jon berardi
I am creating a video detection exercise where a learner clicks "good" or "bad" buttons while watching a video to indicate whether the characters are demonstrating the right behavior.
To achieve this, I will need to have a button "add +1" to a variable if the learner clicks the correct button at the correct time in the video (between two video timecode markers).
The problem I'm running into is that it is not possible to use video timecode as a condition in a trigger. Can anyone recommend another path to achieve this? If not, any thoughts on if Javascript can be the answer?
Jon
4 Replies
Hi Jon,
Maybe Javascript would work - but I'll defer to the community on that. If you're not allowing the user to scrub the video or the timeline - could you use offstage objects that appear at the correct point in the video? So say for example you want them to click at 1:05 set an offstage object to change it's state from hidden to normal (or any custom state set up) and use the state of that object as a condition? Just thinking outloud here...
If you've got a sample started, maybe you could share here so that folks could take a look and offer some other thoughts?
Hi Ashley,
That's an excellent suggestion, thank you. I will build this out using both offstage objects and javascript to see which works best and reply back with my results.
Would appreciate any others ideas for those who have already blazed the trail.
Jon
Cool Jon - glad that may work for you. :-)
I know this is not exactly what you want to do, but have a look at this post here that describes how to intersperse questions (this could also be just buttons to add points) throughout a video. No JS or timecodes needed.
This discussion is closed. You can start a new discussion or contact Articulate Support.