Audio won't play | XM Community
Skip to main content

This is my code, the audio file plays before I change the src to the loop & merge field (as I have a total of 20 files that need 1 selecting randomly ) and will not allow me to press the play button, it all goes dull.

 

Any ideas what I am doing wrong?

I am not sure why you want to use Loop and Merge as this can be simply achieved using Randomizer.

 

Steps:

 

1). Add 20 Blocks with 1 audio each (Add audio/ video files in Library or you can use external link also)

2). Go to Survey Flow, add a randomizer and below that, add those 20 blocks (See screenshot)

3). Randomly present (1) of the following elements - This will be default value. You can change the value if required. Also, if you want that each audio should be displayed to respondent equally, then check the box for “Evenly Present Element”. (Say, 100 respondent fills out the survey, then almost all the audios/ videos display counts will be ~5.

 

Let me know if this works for you :)

 

 


Leave a Reply