The only option I have seen so far is to restrict them to play it only once or to have autoplay. Any ideas on how to achieve this?
Page 1 / 1
Nevermind!! Solved it...
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
var counter=2;
jQuery('audio').on('ended', function() {
if (counter==0){
jQuery(this).hide();
} else {counter--;}
});
});
--Added this in the add javascript option of the question.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.