Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: set wmode=”transparent” for oembed plugin

If you are wanting to ensure that the flash object actually sits as part of the page you will want wmode=”opaque” rather than ‘transparent’.

Adding this attribute is not that straightforward, Rays plugin uses the WP oembed class and a quick glance at that doesn’t reveal a simple approach to adding this attribute and I’m finding the markup construction rather fractured to follow however there appears to be filters that could be used.

I think a shoutout to @r-a-y might be in order as he will probably know how to feed a new attribute to the object tag – if it proves not feasible the only solution I could think of would be to inject the attribute using jQuery but it wouldn’t be the best approach.

Skip to toolbar