In my survey participants need to listen to an audio and then answer a question. They shouldn't be able to pause the audio or play it more than once.
Initially I set up autoplay, but it doesn't work on many Apple devices, which block autoplay.
I've found a nice workaround - I hide audio controls, insert an image ("play" button) and some javascript to start playing the audio once the image is clicked.
This works great to prevent pausing but doesn't prevent listening multiple times.
I could set up an auto-advance timer, but what if the participant doesn't click on the image as soon as the page is loaded?
So, my question is - is there a way to start the timer once the image is clicked instead of on page load?
Any other workaround ideas very welcome! Thanks!
Question
Start timer after an image is clicked (to work around audio auto-play issues)
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.