Reply To: Issues playing audio files – project works in Firefox but not Chrome

PennController for IBEX Forums Bug Report Issues playing audio files – project works in Firefox but not Chrome Reply To: Issues playing audio files – project works in Firefox but not Chrome

#8173
Jeremy
Keymaster

Huh, you’re right, I get the same issue on Chrome too. I don’t know why the change did the trick for the first demo link…

In any case, the first diagnostic stands: the problem essentially arises when you have two Audio elements that play the same file. You can easily work around that by replacing all the occurrences of newAudio("audio_2", row.Audio_2)) with (row.Audio_2==row.Audio_1?getAudio("audio_1"):newAudio("audio_2", row.Audio_2)) in your code

Also, I don’t get the “async” error in Chrome: what version of the browser are you using?

Jeremy