• Hi,

    Please help. We used to embed
    <iframe src="https://www.vimeo.com/embed/483566364" width="100%" height="auto" frameborder="0" allowfullscreen="allowfullscreen"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">?</span></iframe>
    but it shows an error “vimeo.com refused to connect.”

    Flywheel support suggested https://embedresponsively.com/
    which produces this code
    <style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://player.vimeo.com/video/483566364' frameborder='0' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>

    This adds a great deal of padding. When I reduced the padding to 5% it shrank the size of the video on the page, but didn’t effect the padding. When I increased the size of the padding the video got bigger, but there is still too much padding.

    When I tried the WP Bakery Video Player, I have the same problem with too much padding. I had Flywheel roll back to version 5.4.4, last Friday but we are still having the same problem.
    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just rolled out a new WordPress sandbox site — no plugin, default theme — and tested the EmbedResponsively.com code. As you can see from the screenshot below, there’s no “great deal of padding” at all.

    Here’s a live link to the test page (this will be active for just 24 hours, that’s why I grabbed the screenshot): https://s-qtbht6nhfghcl.eu1.wpsandbox.org/hello-world-2/

    So it’s definitely something on your site, most likely your theme or page builder, that is causing this “great deal of padding.”

    Thread Starter Elyssa

    (@elyssa444)

    Ok, I’ll check with theme support. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t embed Vimeo in iframes anymore’ is closed to new replies.