AudioPlayer auto-play doesn't work at times

I am making an online test such that questions are read aloud and the students type in the answers.

I implemented auto-play by calling $w( “#audioPlayer1” ).play() inside the page’s onReady() function. It usually works, but also often doesn’t.

The test needs to work reliably. Please help me ensure the audio clip is played each time.

Thanks!

Hey Bhavika,

I tested your code and it works for me.

I am using Chrome and when I access the page on my live site the audio file plays every time. It won’t autoplay on preview mode though, is this where you are testing it? If so please test on the live site.

If the issue persists on your live site send us a link to the page, so we can take a look. Please also test on different browsers.

Hope this helps!

Dara | Corvid Team