Home>Support>Problems with Iframe embedded Video

Problems with Iframe embedded Video

Hello,
I have a display problem with an embedded video. I am using the following code:

Under the video, depending on the width of the cell in the row, a wider and wider border appears.
Even if I put several videos in one cell.

Here you can see what i mean: https://www.lueckenpresse.info/darstellungsprobleme/

Can you provide me with a solution for this?
Greetings
Günter Schüller

Translated with www.DeepL.com/Translator (free version)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Günter

    Thanks for reaching out.

    The issue might be that the iframe height is being incorrectly calculated due to lazy loading. I’m not certain though. You can perhaps try adding loading="eager" to the iframe tag and see if that helps.

    https://web.dev/browser-level-image-lazy-loading/

  2. 3 years, 5 months ago Guenter Schueller

    Hi Andrew,
    unfortunately it does not help. I will contact the provider, maybe they have a bug in the code.
    Thx for the Link. I will study the site
    Greetings from Germany

  3. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Sure, no problem. Loading is still set to lazy. Are you outputting that value via the Text widget?

    https://imgur.com/a/nDSR8gF

  4. 3 years, 5 months ago Guenter Schueller

    Hi Andrew,
    I can’t reproduce the error now, because I had integrated the link only on a test page.
    I think I used a text widget and an html widget.
    But I have solved the problem. In the code is the command
    (frameBorder=”0″)
    which the widget can’t seem to interpret.
    If I work instead with
    (style=”border:1px solid black;”)
    the code works perfectly.
    Also box-shadow and spacing as I want it.
    Thanks for the help
    Greating from
    Germany

    Translated with http://www.DeepL.com/Translator (free version)

  5. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Guenter

    Thanks for the detailed update, I’m really glad to hear you’ve made progress.

    All the best with your website.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More