'there was a problem loading sound. Are your plugins disabled?'

ساخت وبلاگ
https://github.com/scottlininger/zelda30tribute

Hi guys, here is a link to the source code: https://github.com/scottlininger/zelda30tribute ; I'm having soundmanager2 startup failures when I open the index.html in my firefox browser; 'There was a problem loading sound. Are your plugins disabled?' pops up on the games startup after the game loads into the title screen, than all sound becomes disabled, I was wondering if you could take a look at the code please. I've never debugged JavaScript before ; I tried contacting the author of the code too, but idk if he will respond so I am hoping you guys can help debug the sound issue so people can play Zelda 30 year Tribute, thanks!

I feel like something is wrong in the soundmanager2.js or the soundmanager2_settings.js

I've been getting startup failures on the sound plugins. Which are activating this code on the startup:

// Optional: ontimeout() callback for handling start-up failure

soundManager.ontimeout(function(){
alert('There was a problem loading sound. Are your plugins disabled?');
init();

within the soundmanager2_settings.js ; I am not sure what is causing the sound failures when I run it in Firefox I can play the game, although the startup sound failure prevents the mp3's from being played, I tried rewriting the url in:

soundManager.url = 'swf/'; // directory where SM2 .SWFs live

to

soundManager.url = 'C:Users****Desktopzelda30tribute-masterzelda30tribute-masterwwwswf'; // directory where SM2 .SWFs live

but I still get the same problem, ima try finding help on one of the JavaScript forums as well. I hope this message gets to you and you can help fix it, in the meantime I tried playing the game on Chrome, but it gets stuck at 99%-100% ; ima try Opera now lol
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 169 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05