Keeping Track of Different Variables
In this project, the user is supposed to watch a video that acts as if they are looking out the front of their car. There is a button that allows them to switch views of the video - we'll call them View 1 and View 2.
The client wants the user to only be able to look at View 2 for 2 seconds, and then it switches back to View 1. The user also can look at View 2 only three times before they are considered to have done the prompt wrong. The user is also not supposed to look at View 2 at certain timecodes during the View 1 video.
So, I need to be able to keep track of how long the user looks at View 2, and how many times the user looks at View 2. I also need to be able to keep track of when the user looks at View 2 in relation to specific View 1 video timecodes.
I am at a loss how to make this happen. Any suggestions would be greatly, greatly appreciated.