Sound Manager Doesn't Load Right, But Troubleshoot Tool Runs Fine.
I'm trying to run Sound Manager but it keeps failing to load with this message:
But when I run the troubleshoot tool Sound Manager runs fine with this output.
Any idea what the problem is?
And btw, I'm trying to do this on a xampp webserver running off of my own PC. Also, I tried doing this on localhost and my no-ip IP address, with the same results.
soundManager.initComplete(): calling soundManager.onerror()
-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: No Flash response within reasonable time after document load. Possible causes: Loading soundmanager2.swf failed, Flash version under 8, no support, flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash.. ;)
soundManager.beginDelayedInit()
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got EMBED element (created via JS)
soundManager._createMovie(): Trying to load /swf/soundmanager2.swf
-- SoundManager 2 V2.95a.20090717 (AS2/Flash 8), normal polling mode --
But when I run the troubleshoot tool Sound Manager runs fine with this output.
SMSound._onload(): "sm2TestSound" loaded.
soundManager.onload() complete
soundManager.initComplete(): calling soundManager.onload()
soundManager.load(): http://schillmania.com/projects/sound...
SMSound.play(): Attempting to load "sm2TestSound"
SMSound() merged options: { id: sm2TestSound, url: http://schillmania.com/projects/sound..., autoLoad: false, stream: true, autoPlay: false, onbeforefinishtime: 5000, onjustbeforefinishtime: 200, multiShot: true, multiShotEvents: false, pan: 0, volume: 100 }
soundManager.createSound(): sm2TestSound (http://schillmania.com/projects/sound...)
-- SoundManager 2 loaded (OK) --
(Flash): Enabling polling
Flash security sandbox type: remote
(Flash): _externalInterfaceTest(): JS to/from Flash OK
Attempting to call Flash from JS..
-- soundManager.init() --
soundManager._externalInterfaceOK()
(Flash): Flash to JS OK
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got EMBED element (created via JS)
soundManager._createMovie(): Trying to load ../swf/soundmanager2.swf
-- SoundManager 2 V2.95a.20090717 (AS2/Flash 8), normal polling mode --
soundManager.domContentLoaded()
Any idea what the problem is?
And btw, I'm trying to do this on a xampp webserver running off of my own PC. Also, I tried doing this on localhost and my no-ip IP address, with the same results.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
The best solution from the company
-
Ah, good to know you sorted it. The troubleshooting tool should always work on my site, unless there is an issue with your browser (or missing flash, or a flash blocker etc.) - when testing offline or in other environments, it is typically a missing or bad SWF URL, or flash security causing the problem if running offline, over file:// for example.
When setting soundManager.url, I recommend using an absolute path eg. '/path/to/swfs/' - when SM2 starts, it appends the correct SWF file at the end depending on which version of flash/features it's using (8 or 9.)
This is convenient in that you can set this once and load it from any path on your site, and you don't have to worry about relative directory paths etc.
The company says
this solves the problem
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Sorry, it was just me. I needed to remove the slash before "swf/" in my code.
I’m excited!
1 person says
this solves the problem
-
Inappropriate?Ah, good to know you sorted it. The troubleshooting tool should always work on my site, unless there is an issue with your browser (or missing flash, or a flash blocker etc.) - when testing offline or in other environments, it is typically a missing or bad SWF URL, or flash security causing the problem if running offline, over file:// for example.
When setting soundManager.url, I recommend using an absolute path eg. '/path/to/swfs/' - when SM2 starts, it appends the correct SWF file at the end depending on which version of flash/features it's using (8 or 9.)
This is convenient in that you can set this once and load it from any path on your site, and you don't have to worry about relative directory paths etc.
The company says
this solves the problem
-
Inappropriate?I have this problem as well. I've tried relative and absolute paths to the swf directory.
I've tried all of the following and cannot figure this out.
soundManager.url = 'http://phthalo.com/swf/';
soundManager.url = '/swf/';
soundManager.url = 'swf/';
Help!!
I’m frustrated, sad
-
This is my url: http://phthalo.com/test.html
This is the link to the troubleshoot working perfectly: http://phthalo.com/troubleshoot/ -
Inappropriate?Smashley: It looks like you may be missing the .js file for the player bit, eg. page-player.js, and I think the #control-template DIV markup is slightly incorrect. Close, but not quite there yet. ;)
Take a look at the basic demo for the page player, and make sure you include the right .js - view source, and you'll see how the script is included as well as the hidden HTML template you need to include on your page.
-
Inappropriate?I have the same problem. It seems that .swf file could not be loaded.
I'm sure the soundManager.url is correct,
Could it because that the Adobe Flash Player version? right now Adobe website provides version 10, instead of 9.
I’m anxious
-
Inappropriate?SM2 only requires flash 8, or flash 9, depending on which version you tell it to use. If you have flash 10 installed, it's backwards-compatible with SM2 and will work fine.
If your URL is OK, you will probably need to change a security setting if your page is being loaded from disk - eg. file:// or c:\ or whatever. If this is the case, this discussion will be helpful!
http://getsatisfaction.com/schillmani...
If your code is running in a page served over HTTP, security should not be an issue (unless cross-domain) and you should double-check the SWF URL.
Debug output will be handy if you can copy/paste it here, as well as a demo URL if applicable.
-
Inappropriate?thanks, Scott.
The problem was solved. I put below code in the <head> section, and call the "navSound" from one external javascript, and it worked.
-------------------------------------------------------------------------
</head>
--------------------------------------------------------------------------
but if the code was in home.js, it won't work, that's why I asked for your help.
there must be mistakes in home.js.
I’m happy
Loading Profile...



EMPLOYEE