Hi,

For some reason I can't explain, firefox (last version 3.6) don't print the rel="" value, and for this reason I can't play with the player... when I click - tryin to launch the music - download starts...

Strange fact is on Chrome or IE (7), the player running well. And I use this module on another drupal install and firefox sometimes get a chance, sometimes not. Really can't understand why.

Any idea ? Any reason of problem with FF and not with others ?

I've tried the last recommended version and the dev one.

Thanks by advance,

Comments

YAFA’s picture

I can confirm that.

I installed SM2-Module 6.x-2.5 together with audio-module. Soundmanager-Release is 2.95b. In Safari both players work well, in FF 3.6.3 the player doesn't appear and the download begins on clicking the link.

On the SoundManager Website the demos work well in FF.

Edit:

Erm, shame on me. Simple cache issue. Closed page, cleared browsercache, reloaded page, works fine 8o)

iNade’s picture

Erm, shame on me. Simple cache issue. Closed page, cleared browsercache, reloaded page, works fine 8o)

I've done exactly the same thing (many times), and there's no effect at all.

Would you please be more specific ?

YAFA’s picture

Priority: Minor » Normal

OK, it wasn't that simple anyway...

On my PC, my office-PC and my Mac it works perfectly in Firefox 3.6.3.

On others' PCs it doesn't. The debug-mode prints the following messages:

soundManager.init(): Already called?
-- soundManager.init() --
soundManager._externalInterfaceOK() (~3 ms)
soundManager: Firing 1 onready() item
-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Shutting down
soundManager: Failed to initialise.
soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash (SWF loaded)...
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got EMBED element (created via JS)
soundManager._createMovie(): Trying to load /sites/all/libraries/soundmanager2/swf/soundmanager2_flash9.swf
-- SoundManager 2 V2.95b.20100323 (AS3/Flash 9), MovieStar mode, high performance mode, fast polling, wmode: transparent, flashBlock mode --

I could reproduce a strange behaviour using the ui360-player:
- Enable Debugmode
- Change the value for "soundManager.flashLoadTimeout" in soundmanager2/players/ui360.js from 1000 to 0
- load the page with the player
- scroll down to the bottom (where the debug-messages are, may depend on theme)
- scroll back up and: tadaaa, the playbutton is there, the player works

Looks to me, like an engine-problem of the browser, that needs to be worked around in the code of the module/player, since the player works fine in IE7/8 and Safari 4. But why does it work on my own Firefox-Installations? I couldn't find any special settings. All of my three machines are Core2Duos running 64bit-OS. The others are an Atom (Netbook) and an old Athlon Mobile Notebook with 32-bit OSs running.

I raise the priority to "normal", even if I think it's critical, since Firefox is widely spread and many people, I asked to test it, had these problems.

rootical’s picture

You have just needed to clear all caches of a site. It fixed the problem for me.
-- sorry i haven`t noticed that you have already done it

hermes_costell’s picture

The fix I found is to change one line in soundmanager2_config.js
from
soundManager.useHighPerformance = true;
to
soundManager.useHighPerformance = false;

It immediately worked for me after doing the above. I found reference to this trick from various posts on the schillmania forums.

As a suggestion - perhaps this value could be toggled via the admin?

Also fwiw I found that it was not only not working in Firefox but also not working in Chrome.

rootical’s picture

Priority: Normal » Major

All of a sudden i`ve also got the almost the same problem:
soundmanger doesn`t work in FF neither any other browser.. Please somebody help me..
the live example: http://baracbeat.reggae.by/

The dubugging text is as follows:

soundManager: Waiting indefinitely for Flash (will recover if unblocked)...
soundManager::flashBlockHandler(): No flash response, applying .swf_timedout CSS..
soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error.
soundManager: Getting impatient, still waiting for Flash...
soundManager::initMovie(): Waiting for ExternalInterface call from Flash..
soundManager::initMovie(): Got EMBED element (created via JS)
soundManager::createMovie(): Trying to load /sites/all/libraries/soundmanager2/swf/soundmanager2_flash9_debug.swf
-- SoundManager 2 V2.97a.20110101 (AS3/Flash 9), MovieStar mode, high performance mode, fast polling, wmode: transparent, flashBlock mode --

Debug block for SoundManager2

I have tried to change soundManager.useHighPerformance from true to false.. Tried to completely reinstall the plugin. Of course i have cleaned the cash a lot. Nothing can help..
The player worked for a day then stopped.. But it is so beautiful and exciting i do want to use it!

Thanks in advance!

rootical’s picture

I have spent dosens of hours to figure it out just to know that it was my damn self built theme causing the problem (( The exact problem is a mystery BUT it was in 1 !!!!css file!!!! when i disable it or simply re,ove its content the player starts working!
Swithing a theme or disabling that file solved the problem for me.

griz’s picture

To get back to the subject... I have the same problem - neither the ID nor the class attributes are printed in firefox. It works fine in chrome. Oddly, it works in firefox with debug mode on.

I bet its something to do with the order in which scripts are triggered. I'm going to do some experimenting.

griz’s picture

It also works with Site configuration -> Performance -> 'Optimize JavaScript files' enabled and debug mode disabled.

kristofferwiklund’s picture

I had this problem also.

The strange thing is that it worked yesterday but today it doesn't work in Chrome or Firefox. It is working in IE9, Windows Phone 7 and Android. After doing the fix in #5, http://drupal.org/node/775968#comment-3997786 it worked.

--edit--
I am running Drupal 7.12 with Soundmanager2 7.x-2.x-dev .