Solved
How to restrict the number of times participants can play audio
Hello all!
Does anyone know how to restrict the number of times participants can play audio attached to a question?
I would like my participants to hear each fragment only once. However, I do not want to remove the play button and let the sound autoplay, because they should have some time to read the question before they play the sound fragment.
I hope to hear from someone! Thanks in advance :)
Joy
Best answer by emilym
Hi Joy,
I'm working on a similar problem. You can also modify Shashi's code a bit to hide the media player instead of disabling clicking, which might be more comfortable for your users:
` jQuery('audio').on('ended', function()
{
jQuery(this).hide();
});
`
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
