Topic: Overlaying Flash content without wmode or access to the source (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=30929" title="Pages that link to Topic: Overlaying Flash content without wmode or access to the source (Page 1 of 1)" rel="nofollow" >Topic: Overlaying Flash content without wmode or access to the source <span class="small">(Page 1 of 1)</span>\

 
BillyRayPreachersSon
Bipolar (III) Inmate

From: London
Insane since: Jul 2004

posted posted 03-24-2009 15:12

I have 2 iframes, let's call them 'iframeText' and 'iframeFlash'. I require iframeText to always be on top of iframeFlash - regardless of the content inside iframeFlash.

Right now, if the content inside iframeFlash has a video playing (e.g. YouTube), the video content will show through into iframeText - even if it has a solid background colour and a higher zIndex.

IE 6, 7, and 8 all play ball, blocking out the Flash video content, but I cannot seem to get any other browser to do the same - Opera, Safari, Chrome, etc.

I have full control over iframeText, and full control over the styling for 'iframeFlash' (e.g. zIndex, bg colour, etc). The only thing I cannot do is modify the contents of 'iframeFlash'. This means I have no access to set the 'wmode' parameter of the Flash object.

Does anyone know of a way to get an iframe to sit on top of Flash content in another without having access to the 'wmode' parameter?

I've tried using a canvas element inside iframeText (set to the full w&h, again with a bg colour), but the Flash shows thgouh this as well

Thanks!

Dan

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 03-25-2009 00:16

Link?

BillyRayPreachersSon
Bipolar (III) Inmate

From: London
Insane since: Jul 2004

posted posted 03-25-2009 01:47

Here you go:

http://www.soterm.com/dan/FlashZIndexTest.html

The iframe with the red Flash file should be in front, while the green should be behind. In IE (6,7,8) it's always fine, in Fx 3 it's always bad, and in Chrome, Opera, Safari it seems to be long patches of one interspersed with the other.

Note: in the example linked to above, the problem can be fixed in some browsers by switching the source order of the iframes, but it doesn't seem to be perfect.

Thanks,
Dan

(Edited by BillyRayPreachersSon on 03-25-2009 01:48)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 03-26-2009 02:58

...and you have to absolutely position them both?

BillyRayPreachersSon
Bipolar (III) Inmate

From: London
Insane since: Jul 2004

posted posted 03-26-2009 09:24

Yes. There can be any number of iframes from 1-n, and they can all overlap some, all, or none of the others with any arbitrary z-index.

Basically, it's a windowing system where the windows are iframe elements.

But having a windowing system where the lower windows bleed through the upper windows is not what I'd call a successful one



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu