Bug 282100 - [testcase] Unhiding iframe with flash content does not reload and display flash content
Summary: [testcase] Unhiding iframe with flash content does not reload and display fla...
Status: RESOLVED UPSTREAM
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.7.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2011-09-15 20:02 UTC by Gérard Talbot (no longer involved)
Modified: 2021-04-20 13:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2011-09-15 20:02:24 UTC
Version:           4.7.0 (using KDE 4.7.0) 
OS:                Linux

Setting 'display: inline-block' (or to 'display: block') to an iframe initially set to 'display: none' does not load and display its flash content.

Original webpage where such behavior was noticed:
http://www.kross.cl/kross.html

Origin of relevant javascript code involved:
IFrame SSI script II
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

Reproducible: Always

Steps to Reproduce:
Load this reduced self-explanatory testcase:

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/unhiding-iframe-with-flash.html

Actual Results:  
No animated flash content appears or is displayed

Expected Results:  
Animated flash content should appear and is displayed

The iframed webpage uses
<object data="[path/filename].swf" width="..." height="..." type="application/x-shockwave-flash"></object>

I would get the same (actual) results if I had tried
<embed src="[path/filename].swf" width="..." height="..." type="application/x-shockwave-flash"></embed>

Firefox 6.0.2, Opera 11.51, Chrome 13.0.782.220 will show and display animated flash content. I will try Internet Explorer 8 later.

I am using
KDE Platform Version: 4.7.0
Konqueror version: 4.7.0 (KHTML rendering engine)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686 (32bits)
Distribution: Kubuntu 11.04
here.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2011-09-15 20:18:50 UTC
The most logical (default) CSS display value for an iframe is 'inline-block'. Even though the dynamic drive code and the kross webpage dynamically set the iframe display value to 'block', Konqueror 4.7.0 still does not achieve expected results anyway, nonetheless. I can easily replace (at line 29) 'inline-block' for 'block' in the code but Konqueror will not do anything different with regards to the animated flash content.

Gérard
Comment 2 Gérard Talbot (no longer involved) 2011-09-16 06:16:35 UTC
I have created a quick SWF application to replace the animated flash content from the kross site. 2 reasons for this: 1) I avoid possible ad blocking interference and 2) all the files, data, source code is on my site and available.

---------------

New Actual Results:  
No text appears. 

New Expected Results:  
A big green "Test PASSED" text should appear.

---------------

I can upload the actionscript file (non-compiled source code of embedded flash content) here if required.

I will upload a version with 
<object id="idIframe" data="webpage-with-flash.html" type="text/html"></object>
for HTML 4.01 strict

and make adjustment for IE8 which requires a wrapper like:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="..." height="...">
        <param name="movie" value="[path/filename.swf]">

Gérard
Comment 3 Gérard Talbot (no longer involved) 2011-12-03 19:07:28 UTC
> I will upload a version with 
> <object id="idIframe" data="webpage-with-flash.html" type="text/html"></object>
> for HTML 4.01 strict

Additional testcase with <object> and for/with HTML 4.01 strict DTD:

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/unhiding-iframe-with-flash-with-object.html

Actual Results:  
No text appears. 
 
Expected Results:  
A big green "Test PASSED" text should appear.

Firefox 8.0, Opera 11.52 and Chrome 15.0.874.121 get expected results.

Konqueror 4.7.3 get actual results and not expected results.

I am using
KDE Platform Version: 4.7.3
Konqueror version: 4.7.3 (with KHTML rendering engine)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686 (32bits)
Distribution: Kubuntu 11.10
Adobe Flash player plugin version: 11.1.102.55
here.

regards, Gérard
Comment 4 Gérard Talbot (no longer involved) 2012-01-03 04:50:48 UTC
> and make adjustment for IE8 which requires a wrapper like:
> 
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> width="..." height="...">
>         <param name="movie" value="[path/filename.swf]">


Done. 

Now, IE8+, Firefox 8+, Opera 11.x, Chrome 15+, Safari 5.x all pass 

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/unhiding-iframe-with-flash.html

and also pass

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/unhiding-iframe-with-flash-with-object.html

regards, Gérard
Comment 5 Jonathan Marten 2021-04-20 13:25:37 UTC
Flash and Netscape plugins are no longer supported.