nageeb2016 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Blocked flash object briefly appears on pageload #561

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Include swfobject in a page
2. Load the page in Chrome with 'click to play' enabled (must be turned on in 
about:flags first)

A grey 'click to play' <object> element appears momentarily on page load, which 
appears to be an artefact of flash detection.

This can be worked around with the CSS style object { position: absolute; left: 
-9999px; top: -9999px; }. If the <object> element had a 'style' attribute with 
these contents set before it was added, the bug would be fixed :)

Original issue reported on code.google.com by norna...@gmail.com on 22 May 2011 at 7:25

GoogleCodeExporter commented 9 years ago
What you're seeing is a byproduct of enabling a Chrome feature. It is not a 
SWFObject bug, and should be taken up with the Chrome team. 

Original comment by platelu...@gmail.com on 22 May 2011 at 5:29