Link to home
Start Free TrialLog in
Avatar of karlomedallo23
karlomedallo23Flag for Australia

asked on

Problem with swf loaded using swfobject in safari

please check http://cms.onlineoasis.com.au/

the "Play" in elearning section is working on most modern browser except safari. I dont understand why...
ASKER CERTIFIED SOLUTION
Avatar of mcnute
mcnute
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
these are your stacktrace exceptions:

(anonyme Funktion)()
 at jquery-1.6.4.min.js:3(anonyme Funktion)()
 at jquery-1.6.4.min.js:3(anonyme Funktion)()
 at jquery-1.6.4.min.js:3(anonyme Funktion)()
 at jquery-1.6.4.min.js:4(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:4(anonyme Funktion)()
 at jquery.theatre-1.0.js:341(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery.theatre-1.0.js:333(anonyme Funktion)()
 at jquery.theatre-1.0.js:320(anonyme Funktion)()
 at jquery.theatre-1.0.js:106(anonyme Funktion)()
 at jquery.theatre-1.0.js:37(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery-1.6.4.min.js:2(anonyme Funktion)()
 at jquery.theatre-1.0.js:36(anonyme Funktion)()
 at jquery.theatre-1.0.js:271

So these functions throw an exception and cause the flash to break.
Avatar of karlomedallo23

ASKER

I'll try to disable the theatre js and see if that is the root cause. I don't think that it's the jquery library causing it.

I'll get back to this question as soon as I did it.
I've had the chance to play around with it but I think you're right at the first time saying that the dragging function causes the problem. Would you know a solution for making the dragging work when it contains a flash object in safari?
I would check the theater.js in the order the lines cause an exception. So first look into line 36 then 37 further 106 and so on. Maybe this makes it clear what happens. Check this in a firebug also, if there it throws the same exceptions and if it tells you a little more about the problems.

I'm no crack at JavaScript debugging and I have no clue what your problem might be. I can check a little more deeper, and tell you later on.
This is a Screenshot out of Firebug. User generated image
In the Screenshot it seems that your using old code syntax:

It says:

Use getAttributeNS() instead of getAttributeNodeNS()
Use name instead of nodeName and
use value instead of nodeValue

Maybe this helps to improve your theatre js.
Well I've tried to disable theatre.js and still it did not work. i've read somewhere that I should disabled jquery sortable on the object tag but I think it's not working for my case
I've noticed that the behavior for the flash content is different from the rest of the elements on the page when it comes to drag and drop/sortalbe features. Sometimes it stucks and the flash content just sticks to the mouse without sorting itself. This was on Firefox 6 mac. So there are some problems with the sortable feature above the safari behavior.