Sound doesn't play in browser

Get help using Construct 2

Post » Tue Nov 20, 2012 5:21 pm

Hi all!

Here's my issue. Sound doesn't play when I publish to Internet.

All sound plays normally in browser when I "Run Layout" locally from C2.

All sound files(.ogg & .m4a) are exported to media directory during export(for HTML) process( except .wav files ).

When published, everything works and plays normally except sound. All sound files are published successfully i media directory. Tried on 2 computers, 1 on XP with Chrome and Opera. Tried Windows 7 with all browsers. Both have quicktime installed and flash upto date.

Any ideas ?

http://www.neoprofessor.com/3013/

to see it action...

Image
B
71
S
22
G
2
Posts: 671
Reputation: 8,522

Post » Tue Nov 20, 2012 7:52 pm

Check the browser error console, all your sounds come up as 404 not found. It's probably because your server has the wrong MIME types set, make sure it has audio/mp4 for .m4a and audio/ogg for .ogg.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Wed Nov 21, 2012 5:43 am

Thanks!!! That was It!!!
Image
B
71
S
22
G
2
Posts: 671
Reputation: 8,522

Post » Thu Apr 25, 2013 9:44 pm

I think I have the exact same issue, how would I change the MIME types?
Edit: nevermind I found it under the advanced options in my ACP.Salvation2013-04-25 21:52:41
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests