[MGNLSTK-674] Flash Paragraph - Flash disappears on IE7 by clicking a Link inside the flash Created: 11/Aug/10  Updated: 23/Sep/10  Resolved: 23/Sep/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Johannes Waibel Assignee: Ondrej Chytil
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Flash-Paragraph-IE7.png     PNG File Screen shot 2010-08-26 at 13.15.32.png     PNG File flash-Demo-Project.png     PNG File supportdetails.com.png     File ui.a11y.ext.js     File ui.cOverlay.js    
Issue Links:
relation
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

We still have an open Issue on the MCS-live Site:
When somebody is browsing the Site (http://www.catering-services-migros.ch/mcs/national/de) using IE7 and is klicking on the SwissMap (Flash Paragraph), the Flash disapears for some seconds until it redirects to the linked Page. On other browser, the Flash does not disapear until it redirects to the next page.
The Issue appears only on IE7. All other Browser (FF, IE8) looks fine. Is there an existing Issue on this in your JIRA? You can help us on this Issue?

Exactly the SAME behaviour can be found on your demo Project: --> http://demopublic.magnolia-cms.com/ (see Screenshot)

Best regards,

Johannes Waibel



 Comments   
Comment by Johannes Waibel [ 11/Aug/10 ]

See also Here:
http://jira.magnolia-cms.com/browse/SUPPORT-685

Comment by Johannes Waibel [ 17/Aug/10 ]

Hi Magnolia; Is any one taking care of this! Thanks for your reply (Migros is waiting for this fix).

Best regards

Johannes Waibel

Comment by Philipp Bärfuss [ 20/Aug/10 ]

Please verify that this is not a generic IE7 issue first.

Comment by Ondrej Chytil [ 23/Aug/10 ]

This issue is probably caused by Internet Explorer 7 itself since it didnt appear on other browsers or different IE versions. There are many issues reported about wrong behaviour of flash plugin in IE 7.
For example:

Comment by Johannes Waibel [ 23/Aug/10 ]

Browsing other sites with IE7, the Flash Integration ist much more fluid!

Comment by Ondrej Chytil [ 23/Aug/10 ]

Can you please provide us exact version of Internet Explorer and flash plugin you are using?

Comment by Johannes Waibel [ 23/Aug/10 ]

Hi, Is used http://www.supportdetails.com/ to get all the Informations for you.

See Attached Screenshot!

Best regards,

Joe

Comment by Ondrej Chytil [ 24/Aug/10 ]

Problem is related to dynamic flash object adding via swfobject library. You can create custom flash paragraph and add flash element directly using <embed/> tag until we can resolve the issue with swfobject library properly. Example from our test instance:

<object width="550" height="400">
<param name="test" value="flash.swf">
<embed src="/demo-project/dms/demo-project/flash/flash.swf" width="550" height="400">
</embed>
</object>
Comment by Johannes Waibel [ 24/Aug/10 ]

Yes that might be an option!
But for now, we don't have ressources, Budget and Time to work on this temporarily "workaround". How long will it take until you resolve the issue with swfobject properly?
Best regards Joe

Comment by Ondrej Chytil [ 24/Aug/10 ]

We are working on the issue, but at this moment have no detailed insight on how long it will take to solve since the issue is caused by use of an external library.

Comment by Johannes Waibel [ 26/Aug/10 ]

HI Ondrej!
By using your recomendation (se above), we get a new Issue on IE7 (Security Message in Combination with flash)! It has also other disadavantages like (no Fallback-Message for Missing Flash Player).
Therefore the embeding should definitely done with swf object! When will Magnolia work further on this Issue, other Customer is waiting for this fix.

Thank you and best regards,
Joe

Comment by Ondrej Chytil [ 27/Aug/10 ]

We are actively working on this issue and will update when we have a solution done.

Comment by Philipp Bärfuss [ 02/Sep/10 ]

A short update on the behalf. We extracted minimal test cases to test the three loading possibilities:
1) static embed
2) use swfobject.embedSWF()
3) use jquery and swfobject.addDomLoadEvent() the same way as STK does.

Surprisingly this test cases don't show the described behavior on IE7.

We have also create a static version of the demo page, which is still showing the issue.

The test cases are temporary available at http://dev.magnolia-cms.com/~pbaerfuss/flashtest/

Comment by Ondrej Chytil [ 03/Sep/10 ]

Issue is caused by two javascript files (ui.a11y.ext.js and ui.cOverlay.js).
You can use modified version of those files which will be attached to the issue and should solve bad flash behaviour.
We are still working on that one so please don't take this as final solution but only as temporary workaround.

Comment by Johannes Waibel [ 06/Sep/10 ]

Hi Ondrej! Thank you for the update! We'll wait fot the final solution (the customer is in track that you are working on this).

Can you give us a rough Timeline for the fix?

Best regards

Johannes

Comment by Philipp Bärfuss [ 08/Sep/10 ]

OK the problem is caused by:

ui.a11y.ext.js

359	                $(document).bind('scroll', stopScroll);

ui.cOverlay.js:

253	        $(document).bind('focusin', function(e){
254	                if(e.target.nodeType == 1){
255	                        currentFocus = e.target;
256	                }
257	        });

The flash initialisation is done in init-behaviour.js:

18	                //wait for the swfobject DOM-Ready, so we can return a proper reference to flash object
19	                swfobject.addDomLoadEvent(function(){
20	                        $('div.flash').embedSWF();
21	                });

Binding this events seams to cause the problem. The question is how to solve it?

  • does the order of the execution play a role?
  • browser switch?
  • newer jquery version
Comment by Philipp Bärfuss [ 23/Sep/10 ]

OK, the front-end team analyzed the problem and it seams as we can only make the issue disappear by risking memory leaks. This is definitely not an option. Especially not as this is only seen on IE7. Beside that visual effect the pages work perfectly.

Following the original answer:

SWFObject entfernt zu verschiedenen Anläßen die swf-Einbindung, um Memory-Leaks zu vermeiden. Grundsätzlich ist das eine gute Sache, problematisch ist nur, dass zwischen dem unload Event (Start des Entfernens) und dem Laden der neuen Seite soviel Zeit vergeht.

Die Codestelle, welche dazu führt, ist der Aufruf removeSWF(objIdArr[j]); in der cleanup-Funktion.

Das Problem liegt also bei SWFObject. Angesichts der Hintergründe des Issues, der Tatsache, dass es nur bei unload und langsamem Laden wirklich auffällt etc., würde ich das aber als eher trivialen Bug ansehen.

Generated at Mon Feb 12 07:29:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.