Sound effects don't play in HTML 5 version

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ZeBirosca
:warning: Old Version Published before Godot 3 was released.

I have a SamplePlayer2D that play sound effects in my game:

extends SamplePlayer2D

func _ready():
	pass

func PlaySound(name, voice):
	if !is_voice_active(voice):
		play(name)

It’s pretty simple and works fine both on editor and windows version.

But on web version I get these bunch of errors:
http://i.imgur.com/uHYmsfN.png
and the sound don’t play.

any help?

EDIT: I’m also using .wav files.

Looks like a bug, you can report it here Issues · godotengine/godot · GitHub

Zylann | 2017-08-29 13:01