Support » Alpha/Beta/RC » Add wmode transparent to flash videos

  • Hi all!

    WP 2.9 oEmbed feature should add these parameters

    <param name="wmode" value="transparent">



    in the embed tag to avoid that the video appears above other elements, such as menus.

    These parameters are already present in the press-this.php file, but not if I paste a flash video url (like youtube) in my text area in the writing panel.

    Please, fix this. 🙂
    Thank you.


Viewing 6 replies - 1 through 6 (of 6 total)
  • +1… Please fix this.

    Third that, is there a way to specify it in a embed shortcode tag?

    [embed wmode="transparent"]YOUTUBE_URL[/embed] doesn’t work

    I prepared a post, specific for WordPress and YouTube: it’s in Italian, but at this link you can read it in English via the automated translation by Google.

    Remember that the code in the page automatically translated has some errors after being processed by Google: get the code from the Italian original page.

    Using the code explained in that post you’ll obtain, in addition, a page valid for W3C.

    um…fourth this…
    If it’s already in Press This, it seems a bit ridiculous that it’s not in the normal oEmbed…

    edit: actually, nevermind. just looked at Trac and this was taken off the roadmap:

    However, there’s a solution here:

    You can replace “transparent” in that code with “opaque” which is presumably better and less resource-intensive.

    I’ve created a short 7-lines filter doing just that (shorter and easier to understand imho):

    Adding wmode transparent to WordPress 3 media embeds

    +1 for this issue while it’s still current in WP3.0.1 🙁

    I suppose WP leaves it up to Youtube and the like to return embed code with wmode without considering the consequences for some if they don’t?

    @crantea, you ROCK ! Thanks for sharing that work-around…

    One suggestion: would it not be better to use wmode “opaque” instead of “transparent” ? It’s less memory intensive and none of these video websites produce movies that use/need transparency anyway 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add wmode transparent to flash videos’ is closed to new replies.