Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem with swf loaded using swfobject in safari

Posted on 2011-10-23
10
Medium Priority
?
342 Views
Last Modified: 2012-05-12
please check http://cms.onlineoasis.com.au/

the "Play" in elearning section is working on most modern browser except safari. I dont understand why...
0
Comment
Question by:karlomedallo23
  • 6
  • 3
9 Comments
 
LVL 11

Accepted Solution

by:
mcnute earned 2000 total points
ID: 37016424
you have an ecception which cause the interaction with flash to crash. The developer tools in safari showed me this.

I turned debuggin on and activated the button to stop whenever an ecception is thrown. The dragging feature of your site was disabled and then the flash content would work fine. It has something to do with your dragging functions i suppose.

Digging further into this and posting anything i find soon.
0
 
LVL 11

Expert Comment

by:mcnute
ID: 37016752
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.
0
 
LVL 2

Author Comment

by:karlomedallo23
ID: 37017425
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 2

Author Comment

by:karlomedallo23
ID: 37022564
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?
0
 
LVL 11

Expert Comment

by:mcnute
ID: 37023158
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.
0
 
LVL 11

Expert Comment

by:mcnute
ID: 37023649
This is a Screenshot out of Firebug. firebug console warnings. AttributeNodeNS depricated: use AttributeNS instead
0
 
LVL 11

Expert Comment

by:mcnute
ID: 37023682
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.
0
 
LVL 2

Author Comment

by:karlomedallo23
ID: 37029000
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
0
 
LVL 11

Expert Comment

by:mcnute
ID: 37029768
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question