Sounds don't work in Opera


Sounds are not played in Opera.
It is also not possible to get the length of sound in Opera.
buffer.src is undefined.

Everything works correctly in other browsers

Are sound files mp3?

Are you listening for Event.COMPLETE on the Sound object? It might be undefined before the event is dispatched, but maybe not after.

Yes. If I use ogg sounds don’t play in Safari. Is there a format that is supported by all browsers?

One of the latest releases of Opera has a problem with mp3 sounds.

Thanks for the info! I think openfl should handle this case correctly without causing games to crash.