Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Flash stops rendering if parent iframe is resized

more options

Located a problem were I'm having Flash rendered inside a iframe (created with a asynchron method) works well. I don't have control over the content loaded into the iframes - and these needs to be resized to fit its content. I've written a script that does just that. However, every time I try to change the height of that iframe its flash-content stops rendering (doesn't seem to matter if it's the .height or .styles.height-attribute).

This doesn't happen on one computer with Windows 7 - Firefox 19 and the latest flash - but I can reproduce the issue over and over on another computer running Firefox 17 using not the latest but a pretty new version of flash. And I've had reports on this also happening on Firefox 19 although I haven't been able to reproduce it on that.

I do not have access to that computer right now, but if you need the proper information I'll be able to supply them tomorrow.

Any thoughts on this? Or am I screwed if the only solution is "update your browser, Flash and/or real player"?

Cheers!

Located a problem were I'm having Flash rendered inside a iframe (created with a asynchron method) works well. I don't have control over the content loaded into the iframes - and these needs to be resized to fit its content. I've written a script that does just that. However, every time I try to change the height of that iframe its flash-content stops rendering (doesn't seem to matter if it's the .height or .styles.height-attribute). This doesn't happen on one computer with Windows 7 - Firefox 19 and the latest flash - but I can reproduce the issue over and over on another computer running Firefox 17 using not the latest but a pretty new version of flash. And I've had reports on this also happening on Firefox 19 although I haven't been able to reproduce it on that. I do not have access to that computer right now, but if you need the proper information I'll be able to supply them tomorrow. Any thoughts on this? Or am I screwed if the only solution is "update your browser, Flash and/or real player"? Cheers!

Valgt løsning

OK, I believe I've figured it out. As you can see in the attached image above there is obviously space allocated by flash but flash does not render. I tried to hide its (the iframe) parent (display: none) and then display it again... and BOOOM flash is rendering.

Don't really get why but as far as a workaround this will work for me. If you have other suggestions or maybe an explanation to why this takes place to begin with I'd like to know why that is.

Cheers!

Læs dette svar i sammenhæng 👍 0

Alle svar (4)

more options

Hmm, I may know someone who can help you. His name is Cor-el and he's handy with web design. I'll see if I can contact him about your issue.

Do you have a working example of the code on your website you can link us to?

more options

I'm not that knowledgeable in this area, but if it only happens on one computer then hardware acceleration in Firefox or the Flash player may be related to this issue.

Try to disable hardware acceleration in Firefox.

Try to "disable the hardware acceleration" in the Flash Player.

See also:

Flash "Display settings" window:

more options

Hmm, I've been spending parts of the day creating a generic example of this to replicate the result without use of any specific ad-service (in our case Google DFP). The problem is that this one seems to work. I'll hook you up with an URL for testing (both with DFP and without) once I've made an generic example when the fault is present.

However the issue is still there, I invested in an browserstack.com-account so I can reproduce it whenever I want (Windows 7 + FF17). Thanks for hanging in there. Here is a screen shot of how it looks though (the flash-ad allocates whitespace but does not render):

more options

Valgt løsning

OK, I believe I've figured it out. As you can see in the attached image above there is obviously space allocated by flash but flash does not render. I tried to hide its (the iframe) parent (display: none) and then display it again... and BOOOM flash is rendering.

Don't really get why but as far as a workaround this will work for me. If you have other suggestions or maybe an explanation to why this takes place to begin with I'd like to know why that is.

Cheers!