Forum Discussion

KevinBui's avatar
KevinBui
Community Member
7 months ago

Storyline video object current time and watch duration

I'm trying to figure out the following:

  1. extract/output the current time a video is playing at
  2. setting a video to a specific time
  3. outputting a score/watch-time/percentage-watched for a video

I want a user to be able to progress/seek a video, but I also want to capture some semblance of their watch time.

My idea would be to create a js array of 'seconds watched'. If the video is 10 minutes long, then the array could have 600 unique values. If the user jumps around a lot, then the total unique values could be 540 out of 600. This would be 90% watched.

I can't use the slide's duration because it doesn't backtrack with the video itself, so the slide time and video time can desync very easily.

No RepliesBe the first to reply