Ogg Music didn't work

Bugs will be moved here once resolved.

Post » Sun May 05, 2013 3:54 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/35814399/Bug_demo.capx

Steps to reproduce:
1. Expot project to web (I use Ucoz.com file maneger)
2. Run project
3.

Observed result:
There no music in the game

Expected result:
There should be some music .ogg format

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack: win7 Last version

Construct 2 version: 126 steam version
    
B
6
S
1
Posts: 14
Reputation: 464

Post » Sun May 05, 2013 4:02 pm

To eliminate the possibility that it is your server not supporting all relevant MIME types, you should probably post the exported link also.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,840
Reputation: 48,281

Post » Sun May 05, 2013 4:11 pm

http://dragonslayers.3dn.ru/Bug/index.html project link.
http://dragonslayers.3dn.ru/Bug/media/draggs_connor-waltz_on_the_rust.ogg media link
Drop box didnt work at all... i don't know other servers that i can use
B
6
S
1
Posts: 14
Reputation: 464

Post » Sun May 05, 2013 5:30 pm

You've list all browsers as failing, but not all browsers can play ogg. You also need an m4a file. This is explained in the manual.

Also, HTML doesn't like spaces. Get rid of the spaces in the filename. Your link says: draggs_connor-waltz_on_the_rust.ogg, but the error in the console is draggs%20connor%20-%20waltz%20on%20the%20rust.ogg (which is using spaces.).
ImageImageImage
B
66
S
19
G
121
Posts: 3,195
Reputation: 72,852

Post » Tue May 07, 2013 3:08 pm

Closing as not a bug, you're missing the .m4a version of the file so IE and Safari definitely won't work, and either you didn't upload the file correctly or the server MIME types are misconfigured. Viewing your example in Chrome, it logs to the error console: Application Cache Error event: Resource fetch failed (404) http://dragonslayers.3dn.ru/Bug/media/draggs%20connor%20-%20waltz%20on%20the%20rust.ogg
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest