Skip to main content
namim92164905
Participant
December 14, 2020
해결됨

Another Sound Question - MP3 file will not play upon test in Animate or publish to Safari

  • December 14, 2020
  • 1 답변
  • 8388 조회

Dear Adobe Support Community, sorry to trouble you, hope all are doing well during this strange time with the pandemic.  

 

A long time user of Flash from long ago.  Most likely making a mess of it with the newer Animate offering with Canvas HTML5.  Able to present moving loaded content without sound uploaded to a server for a browser for awhile now.  Able to insert mp3 formate files in Animate just fine and export video files.  But having a real problem with testing the sound file for Canvas or having the mp3 load properly upon publishing to web server.  Using Safari browser.  Have read every posting the past couple of days, trying all the different helpful tips on the sound subject, but I am missing the obvious.  Seem to be stuck.  Made certain to use 44.1 kHz, 16 bit sound file.  It doesn't play the sound in a test either while running Animate before publishing, but if I open the test HTML page individually on my computer without Animate open, it will work.  Would greatly appreciate some advice for a clear novice.  

 

Here are two test animations with Canvas HTML5.  

One has just the file loaded:

Milton Test without Audio Control  

When I check the page source after publishing it will tell state for the sound file: "An Error Occured Trying To Load The Resource"

 

The other included a test with a simple Audio Control:

Milton PL Test with Audio Control:  

Sometimes, occasionally, when I play the sound with the audio control, it will trigger the original Canvas HTML file to play the sound file correctly.  As if the Safari browser needs a jump.  

 

Hope you don't mind helping another - thank you in advance if you have the time.  

이 주제는 답변이 닫혔습니다.
최고의 답변: Inclusive Web Access

When I discovered that Chrome won't allow auto play I switched to audio activation with a button. The attached graphic shows the "Narration" button that activates our sound file/mp3 (Canvas).

 

Looks like you figured it out in your post above however. Just imparting another experience from another long time Flash proponent. I really miss 99 levels and streaming audio vs event audio the most.

1 답변

namim92164905
namim92164905작성자
Participant
December 14, 2020

Perhaps the obvious is that every Canvas HTML5 product will need an interal play button for sound?  So used to the event run in the older Flash, to auto play the sound file.  Perhaps someone could share the proper way to auto run an internal sound file if possible without the play button when publishing?  Is it a simple actionscript version in Canvas HTML5?  

Legend
December 14, 2020

If it was possible to work around the browser requirement for user interaction before playing sound, they wouldn't have implemented that requirement in the first place.

namim92164905
namim92164905작성자
Participant
December 14, 2020

I see - thank you for the very kind and thorough explanation.

 

Wishing you and yours the very best at this time.