Skip to main content
Known Participant
June 12, 2022
Question

HTML5 canvas audio is not heard in the browser

  • June 12, 2022
  • 1 reply
  • 230 views

Hello,
with Adobe Animate in HTML5 canvas I put an audio in a frame it can be heard in play on the stage but it is not heard when I try with the browser. I tried with mp3 and wav but no browser plays it, what can be the problem?

Thank you.

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    June 12, 2022

    you must have user interaction (eg, a mouse click), before your browser will (thankfully) allow sounds to play.

    Known Participant
    June 12, 2022

    Does this mean that with canvas you can't have background audio? 😞

    kglad
    Community Expert
    Community Expert
    June 13, 2022

    no, it doesn't mean that.