How to delay audio | XM Community
Skip to main content
Solved

How to delay audio

  • January 28, 2022
  • 3 replies
  • 124 views

Forum|alt.badge.img

Hallo there! Please help me out. I am building an experimental survey with images and audio. I would like the respondents to see an image, then hear an Audio after a few milliseconds. How do I delay the audio?
Regards
Patrick

Best answer by Tom_1842

Hi there,
Upload the audio file to your Qualtrics library and then within your survey, create a Text/Graphic question and input the below code in the HTML View of the question :



Be sure to change YourAudioFile to the URL of the file within Qualtrics. Also be sure to change 8000 to whatever suits the study.
Hope this helps!

3 replies

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • Answer
  • February 8, 2022

Hi there,
Upload the audio file to your Qualtrics library and then within your survey, create a Text/Graphic question and input the below code in the HTML View of the question :



Be sure to change YourAudioFile to the URL of the file within Qualtrics. Also be sure to change 8000 to whatever suits the study.
Hope this helps!


Forum|alt.badge.img
  • Author
  • February 8, 2022

Perfect! that seems to be working. But I need the audio controls on so the respondent can replay in case of need. How will the code look like with that?


Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • February 8, 2022

Glad to hear it! On my end, the controls display and do allow the audio to be replayed.
What might be happening is that the controls do not behave properly in Preview links. For me, when testing this out with Preview links, the entirety of the audio clip will play regardless of pausing/playing the audio with the controls.
Try publishing the survey and accessing it with a Live link. The controls should work there.