• I’m using the “YouTube Lyte” plugin, but PageSpeed Insights, under Reduce the impact of third-party code, lists YouTube Video with 976 KiB Transfer Size and 4,419 ms Main-Thread Blocking Time.

    I thought only an image should load unless a user clicks on the image. Is the plugin not working?

    Note: I’ve added the videos to pages like https://rusticwatersrealty.com/wi/waupaca-county/waupaca/chain-of-lakes/ using a shortcode with the following PHP:

    echo lyte_preparse('https://www.youtube.com/watch?v=ifEGX_UaKoI?start=0&showinfo=0');

    Here are my settings with my API removed for security after testing it:

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    that’s likely due to LYTE on mobile loading the YT video even before being clicked on (to avoid 2 clicks being needed to start playing). you can change that behavior by enabling the “cache thumbnails locally” option, can you give that a try?

    Thread Starter dmitriamartin

    (@dmitriamartin)

    Thank you. That worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Still have Main-Thread Blocking Time with plugin’ is closed to new replies.