Hello guys -

I need some help with Javascript in Qualtrics...I need to do the following:

Ideally, I want to have 2 videos on the same screen and participants will be able to start and watch any video they want; I should be able to capture the time that they spend on watching each video; participants will have a count-down timer on the top of the screen and they will be automatically redirected to the next page as soon as the 5 mins are over.

Alternatively, two videos can be on two different screens so they see one video first and then they can decide when to proceed to the second video which will be on the next screen. They should have a total time of 5 minutes to spend on both screens and will be given a count-down timer on the top of the screen. Participants will be automatically redirected to the next page as soon as the 5 mins are over. I again need to capture the time that they spend on each video.

Do you have any idea how this could be done? If you could help me with the code, that would be great. I just have almost never used javascript so far...

Thanks a lot in advance!