Add a background music to the survey | XM Community
Solved

Add a background music to the survey

  • 19 June 2021
  • 5 replies
  • 629 views

Hi Guys,

I am trying to add music to my Stroop test on qualtrics. It should continue to play while the questions are passing.
I could add the music to it but unfortunately, it restarts for every question.
Does anyone have an idea about it?
Kind regards

icon

Best answer by Mishraji 19 June 2021, 22:57

View original

5 replies

Userlevel 4
Badge +18

Teza - How about adding it to the header/footer?

Mishraji Thanks for the reply
I tried it but have same problem for the entire survey now.
any other ideas?

Userlevel 4
Badge +18

Teza - You can add the following code to the first question and it should work fine.

var audio3 = new Audio('paste audio file url here');
audio3.play();

Mishraji to what part should I add it?
javascript or HTML? if javascript which part exactly?
thanks in advance

Mishraji Thanks for the solution you offered
I was wondering if you know how to play the music for a specific block only

Leave a Reply