Skip to main content
Participating Frequently
November 13, 2016
Answered

Why won't my MP3s play online when they work in CC 2016 Animate's Control Test?

  • November 13, 2016
  • 2 replies
  • 1520 views

I made a series of animations which work fine on various browsers. Now I'm trying to add music. I added a layer and imported an MP3 to the first frame of one of the animations. It plays perfectly on the timeline and with control > test. But when I publish it and use Dreamweaver to post it, there's no sound at all on either Firefox or Safari. What am I missing? Help would be much appreciated.

This topic has been closed for replies.
Correct answer Colin Holgate

I'm sorry I'm being so frustrating: I just simply don't know what you mean by a "sounds folder," or how to find it.

Do you mean I should add the MP3 to the .html or .js? Without any code around it?

I'm using Dreamweaver because that's the app I normally work with. I tried uploading with Fetch but that's just the same thing as far as I can tell.


When you publish from Animate you usually get an HTML file, a JS file, a folder of images, and a folder of sounds. If all of your animation is vector art you won't have got an images folder, but you should have a sounds folder, sat next to where the HTML and JS files are located.

2 replies

Colin Holgate
Inspiring
November 13, 2016

Some browsers, especially on mobile, require a user action before they allow sound to be played. Try putting in a Start button before you allow the animation to play.

Participating Frequently
November 13, 2016

Do you mean users would have to push a start button to begin the animation? I can't have it begin automatically? And this isn't just a question of some mobile browsers... Firefox and Safari don't play the sound on my desktop computer... but I'll try it.

Participating Frequently
November 13, 2016

again, you need to upload your sounds folder.

what's the link to your url that displays the problem?


day2 arrrgh whenever I copy the link it changes it to this one part. I am in way over my head and am about to run screaming into the street.

OK: it works if I leave off http: hannahjennings.com/adventcalendar16/day2.html

I have 25 different little animations with music to send to friends, family, and clients as an advent calendar. I've worked on this intermittently for months and really need to resolve it.

How do I upload my sounds folder? Why isn't it just going up with the images?

I very much appreciate your help and that of Colin.

kglad
Community Expert
Community Expert
November 13, 2016

what if you upload your animate published html and swf?  does the sound play?

Participating Frequently
November 13, 2016

How would I upload swf? Is there something I should do in Publish Settings? Or is there a way to isolate the swf? Or is that something I add on the .html or .js page in Dreamweaver?

kglad
Community Expert
Community Expert
November 13, 2016

are you creating an actionscript or canvas project?