The 1pixelout flash player fails to display a transparent background when used in Safari-based browsers, resulting in a white background behind the entire player, even when the player is closed. This appears to be a consequence of different browsers favouring different embedding tags when faced with both

and - those that favour the method implement wmode=transparent, while those that favour fail to do so, as the attribute is missing from the tag. The problem can be fixed by adding the wmode="transparent" attribute to the embed tag in /modules/audio/players/1pixelout.inc. This ensures that browsers using the embed tag correctly display the flash player in transparent mode. All the other attributes are correctly replicated from the object tag. In an ideal world the embed tag would be removed altogether, as it has long been superseded by the object tag, but it's still common to retain it to ensure correct behaviour in IE6, which produces unfavourable results with object tags.

Comments

HorsePunchKid’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

The "button" player needs this, too.

reckleyjd’s picture

Thanks so much for this.

Karlheinz’s picture

Has this made it into DEV or one of the unstable versions?