Site logo

Archived topic

Problem with Siteorigin Videos. Potential Javascript Conflict?

3 replies · Started by Anthony on October 14, 2021

Viewing posts 1–4 of 4

After doing plugin and theme conflict tests I've boiled it down to GeneratePress.

My Siteorigin Page Builder videos are displaying kinda tall and stretched.

Not sure what's going on?

Hi there,

i can't see what the Theme would be doing to affect your video sizes.
Those are being displayed in an iframe which has a fixed width: 1250px and height: 703px.

The only thing the Theme adds that affects an iframe is this CSS:

embed, iframe, object {
    max-width: 100%;
}

And that is there to stop an iframe from being larger then its container.

What makes you think its the theme - When the content has been added by the page builder and it would be its responsibility to make sure the iframe is responsive?

Not sure honestly, when I disabled GP and use the WP 2021 theme the problem stops.

I will continue to tinker. I also could just use the Youtube embed iFrame separately which works.

But, I really like the Siteorigin FitVids feature which makes the Youtube videos automatically take the width of their container while maintaining the video aspect.

Best,

If you want to switch to 2021 temporarily i can take a look at whats different ?

This archived topic is closed to new replies.