OK, we added an explicit playback to the audio track and set it to play and now it works. But with only one audio track and the audio set to auto play and loop (top left control area) that seems like it should not be necessary. And that does not explain why it worked fine on Firefox and on firefox in devices.
Not sure what may be going on without seeing your site or the Animate composition, but I can tell you that autoplay does work in all HTML 5 desktop browsers. You shouldn't need to add any extra code to make that happen. Maybe you can share a link to the site, or your project files?
The link is in the first post although we have fixed the problem by adding the extra settings. We expected to only to have to turn on autoplay as in this screen shot.
And that works for all versions of Firefox (desktop, tablet, phone most current). But not in Chrome or Safari. Didn't test in IE as we don't have the most current IE here. But to make it work in the others we had to add playback as in this screen shot. That makes no sense to me. There is only the single audio and it starts at point 0 and loops. I would expect autoplay to just run it in all browsers that accept autoplay.
1 person found this helpful
Actually, there is a way you could see this behavior: if you're publishing to web with "Publish content as static HTML" checked, autoplay for audio elements doesn't work. That's a bug.
To get around it, you could:
- Add a play action, as you have found
- Hand-edit the published HTML file, and delete audio element div that was written out because of the above setting (this won't affect audio playback in any way, except autoplay will now work)
- Uncheck "Publish content as static HTML" if you don't actually need it