Im testing to play a simple sound by click my mouse on canvas html5 using module pattern and the self executable functions. it works without the self executable function, but no within. Sorry I have no idea about to upload the simple sound file here. My console saids
"Uncaught (in promise) DOMException: The element has no supported sources.
mouseDown @ audioFuncionProtegida.js:82"
so Im afraid Im missing something to call the sound file
all the code at https://jsfiddle.net/xy2cs03p/7/
Aucun commentaire:
Enregistrer un commentaire