Audio won't repeat on Android

Hi,

We've come across an issue recently where trying to trigger an audio file more than once will cause Android devices to be stuck in an endless loading loop. Since discovering the cause of the issue we've been designing around it, but I was wondering if there were any other solutions to this problem? The only way we can currently have sounds repeating in our courses without Storyline freezing on Android is to:

a) Import a fresh copy of the sound file every time the sound needs to be played (this means that the sound can only be played a finite number of times though - not suitable for button sounds, etc.)

b) Force users to exit and re-enter the slide again (for some reason Android devices will play the sound file again as long as we exit then re-enter the slide - unfortunately this doesn't work for slide layers even if they're set to initial state)

This wouldn't be as big of an issue if the sound simply didn't load, but the fact that it freezes the whole course on Android devices means that we have to bend over backwards not to apply sounds to buttons, repeated triggers, etc. in case it might cause users to get stuck.

Has anyone encountered this before or have any possible solutions?

(Using SL2)

7 Replies
Ben McKenna

Hi Leslie,

I've attached a .story file and embedded a video of the issue below. I tested and had this issue appear in Chrome for Android on both SCORM cloud and our LMS.

Might be a bit confusing to see what's going on in the video (Sorry! I'm not great at demonstrating these things lol). Basically what I was showing was:

1. Pressing button to play sound (works!)

2. Navigating away from slide, back to slide, then pressing button again (works!)

3. Pressing button to play sound again after the sound has already been played (doesn't work, and causes Storyline to get stuck on the loading circle!)

I recorded the video on my Agora 4G Pro, Android version 5.1, Chrome 62.0.3202.84 - but we've had this issue across all the Android devices we've tested on. I read that Android has a built in security feature to prevent audio being played without user input, and thought that could be causing interference with Storyline - just a theory though!

Hope you can help :)

UPDATE: Further testing shows that audio files will can be called again through triggers as long as the audio file doesn't finish playing. Doesn't really help my situation, but more info will probably help people find the cause of the problem.

I also found out I could put audio files within object states. The audio files won't play again on Android if they finish playing, but they don't seem to freeze the course at least.

Ben McKenna

Hey Leslie, thanks for the assistance! Looks like the problem is solved when we try your test link.

I assume you're using 360 to export? Was there a solution we could apply to our SL2 courses to get the audio to work properly? Our team doesn't have the opportunity to upgrade to 360 just yet.