preventing participants from viewing video mutliple times | XM Community
Solved

preventing participants from viewing video mutliple times


Badge
Is there a way to prevent participants from watching a video more than once if the video files have been uploaded in the library (there are not Youtube videos)?
icon

Best answer by TomG 1 July 2019, 20:11

View original

4 replies

Badge
@TomG, would you know? I found some information for similar issues but they were all with embedded YouTube videos and my videos have been uploaded in the Qualtrics library.

What's a good JS for this (if any)?
Userlevel 7
Badge +27
> @laetinusa said:
> @TomG, would you know? I found some information for similar issues but they were all with embedded YouTube videos and my videos have been uploaded in the Qualtrics library.
>
> What's a good JS for this (if any)?
Add an html5 video end event that sets a variable to tell it not play the video. Use that variable in an html5 video play event that pauses the video as soon as it starts to play.
Badge
Thanks. I don't really know how to go by doing this but I'm going to look around. It helps to know that there is an html fix.
Userlevel 7
Badge +27
> @laetinusa said:
> Thanks. I don't really know how to go by doing this but I'm going to look around. It helps to know that there is an html fix.

You do it in JavaScript. There are set of JS events applicable to html5 video.

Leave a Reply