How can you enforce a participant to watch a youtube video till it ends? | XM Community
Solved

How can you enforce a participant to watch a youtube video till it ends?

  • 27 November 2018
  • 5 replies
  • 107 views

In our survey we want to show a short youtube clip that has to be watched till the end. Is it possible to remove the 'continue' button while the video isn't played yet or is still playing? (for example with Java script)

Also, is it possible to remove related video's, the title and other things distracting the attention from the video?

Thanks in advance
icon

Best answer by PeeyushBansal 27 November 2018, 14:49

View original

5 replies

Userlevel 7
Badge +33
You can hide and enable next button like

`Qualtrics.SurveyEngine.addOnload(function()
{
this.hideNextButton();
this.showNextButton.delay(150);

});`
> @bansalpeeyush29 said:
> You can hide and enable next button like
>
> `Qualtrics.SurveyEngine.addOnload(function()
> {
> this.hideNextButton();
> this.showNextButton.delay(150);
>
> });`


Thanks, that's helpfull! How can I adjust it so it pops up after the video is watched? Because now it seems it won't pop up at all.
> @bansalpeeyush29 said:
> You can hide and enable next button like
>
> `Qualtrics.SurveyEngine.addOnload(function()
> {
> this.hideNextButton();
> this.showNextButton.delay(150);
>
> });`

Thanks, that's helpfull! How can I adjust it so it pops up after the video is watched? Because now it seems it won't pop up at all.
Userlevel 7
Badge +33
You can change seconds that is 150 in above code , change as per your video length.
> @bansalpeeyush29 said:
> You can change seconds that is 150 in above code , change as per your video length.

Thanks! Do you maybe also know if there's a way to show it with the exact ending of the video? That way it's not a problem if the loading of the youtube video takes longer with some participants.

Leave a Reply