Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML5 canvas audio is not heard in the browser

New Here ,
Jun 12, 2022 Jun 12, 2022

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.

184
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 12, 2022 Jun 12, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2022 Jun 12, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 12, 2022 Jun 12, 2022
LATEST

no, it doesn't mean that. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines