Fluid Video Embeds
breaks other iframes (3 posts)

  1. xananax
    Posted 2 years ago #

    Installing this plugin created an error on my facebook like button.

    I was getting the following error instead of a button:
    "skin must be one of the following values: light, dark"

    My code was:
    <iframe scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:71px; height:20px;" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&layout=button_count&show_faces=true&width=80&action=like&colorscheme=light"></iframe>

    It took me a long while to understand that fluid video embeds was adding a "?wmode=transparent" at the end of my href.

    I hackfixed it by adding a "&" at the end of my iframe href (so it ends with "colorscheme=light&") which allowed me to get my like button back, but I thought you should know.

    Why not do a regex on the iframe and not act on it if it does not contain youtube|vimeo?


  2. xananax
    Posted 2 years ago #

    or check if there is already a query string, and if there is, add a "&wmode=transparent" instead of a "?"...It would be already better (although arguably even harder to debug if it leads to undesired effects)

  3. jamie3d
    Plugin Author

    Posted 2 years ago #

    Thanks for the bug report. I'm not sure how my plugin could be adding this. The only reference to wmode in the entire plugin is here: http://d.pr/i/O8QU+ and it's being added to a specific string that I control.

    Are you able to reliably reproduce this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fluid Video Embeds
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic