Responsive Video Embeds
[resolved] Plugin affects google ads and other sidebar elements using iframes (4 posts)

  1. Chris Baldelomar
    Posted 2 years ago #

    My google ads or another iframe that is not a video has the height change once your javascript executes. You can see an example here on my demo blog page.


    It seems like the plugin assumes any iframe is a video. Is there a better solution?

    Thanks for your great work!


  2. theschnuffel
    Posted 2 years ago #

    I have the same problem.
    Here is my fix: http://wordpress.org/support/topic/0px-height-since-update-to-121

    In responsive-video-embeds/js/rve.min.js it says selector:e("object, embed, iframe") in line 3.
    Change that to selector:"object, embed, iframe" and you'll be fine

  3. Chris Baldelomar
    Posted 2 years ago #

    Thanks for the hack! If this is a good solution, I'm hoping the plugin author will update it soon. I recommend this plugin to users of my themes and I want them to have a good experience with it.

  4. Kevin Leary
    Plugin Author

    Posted 2 years ago #

    A fix for this issue specifically has just been rolled out as version 1.2.3. The plugin now properly specifies only object, embed, and iframe tags inside of a <div class="rve"> container be resized.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic