• Hello, I have a problem with loading the page where are videos from youtube. It’s about the aspect ratio. when the page loads, all videos are first displayed in a different resolution before loading in the correct format. I’ve also tried it on my other Sydney themed sites. Why does he do this?

    Try to load the page with videos, or refresh it and scroll down, when page loading. They are first loaded in a different resolution and then adjusted to the correct 16:9. Thanks for help. Alternatively, if you don’t notice it, I’ll send a video screen.

    Ivan

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Are you lazy loading the videos?

    Thread Starter ivanjacek

    (@ivanjacek)

    I think, no

    Thread Starter ivanjacek

    (@ivanjacek)

    I havent got any plugin with lazy loading

    Hi @ivanjacek,

    You may try adding this CSS solution to your site.

    .wpb_wrapper iframe[src*="youtube.com"] {
        max-height: 270px !important;
    }

    You may need to adjust the maximum width value differently in particular device screen with media query.

    It might not be a permanent solution, but let me know whether it works for you or not.

    Thread Starter ivanjacek

    (@ivanjacek)

    Hi, thank you. but it still loads twice anyway. now it loads the correct size for the first time, but then it loads again anyway. 2 times loading. I don’t understand it.

    Christina Hills

    (@christinahills)

    I was also having some problems embedding a YouTube video on a Sydney free theme site. It was leaving a big white space

    however, I found a really easy solution in that I’m using this plugin https://www.ads-software.com/plugins/youtube-embed-plus/ and it now works great!

    @ivanjacek go ahead and try that and see if it works. I always have facade mode turned on for the settings for the YouTube plugin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with loading page with video (wrong resize)’ is closed to new replies.