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)
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/
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
Sure, no problem. Loading is still set to lazy. Are you outputting that value via the Text widget?
https://imgur.com/a/nDSR8gF
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)
Hi Guenter
Thanks for the detailed update, I’m really glad to hear you’ve made progress.
All the best with your website.