• Resolved Kip Kniskern

    (@kip-kniskern)


    We have a widget on our home page using the [arve} shortcode –
    [arve url=”https://www.youtube.com/playlist?list=PLX6ChvO4t9b5Fq8qwQpKQgCTIrgduCx6M” /]
    Recently, I believe after the 9.3.0 update, the YouTube video begins in full size mode for a moment before it’s resized to fit the widget. This did not happen before this latest update, and while the embed does finally resolve to the correct size, it’s an annoying glitch on our home page.
    Can this be fixed?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nico

    (@nico23)

    Why do people not stop using these forums? Are you purposefully ignoring the sticky posts or are you just not reading?

    What is happening on your site is the styles do not get applied until JavaScript is loaded and your site is slow.

    The video initially gets displayed with the width you set as maximum. It 900px for your page because you did not set it and your theme does not have a value for it. You can just set that, but the issue goes deeper.

    ARVE’s styles require the id="html" on the <html> attribute and if it fails to add this with PHP it later adds it with JavaScript. And because your site rendering is extremely slow it’s very noticeable. Some serious slowdowns there.

    It seems your theme lacks the language_attributes() function on the html.

    
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    

    If your theme had it, this would not be happening. I think its required for a proper theme to have it.

    I can mitigate this, but it won’t be ideal.

    Plugin Author Nico

    (@nico23)

    I actually have a pretty good solution for this in the latest version now. Still a language_attributes(); ?> would have the styles applied instantly.

    Thread Starter Kip Kniskern

    (@kip-kniskern)

    Thanks,
    As a user with multiple plugins, having support all in one place is a benefit. I understand there may be benefits to you to host your own support, I missed the notice and will respect that in the future.
    We are in the process of migrating to a new, modern theme, and hopefully we’ll be solving multiple issues. For now I’ll add the language attributes. I appreciate the support.

    kip

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Resizing issue after most recent update’ is closed to new replies.