Support » Plugin: WP YouTube Lyte » Thumbnails and optimisation

  • Resolved HillofBeans


    Hi Frank and team!

    I was using this a while back but stopped because it didn’t pick up the raw YT url WordPress embed (didn’t fancy going back on 300 posts!), but I’m glad to see it works out of the box now.

    One question about the thumbnails. I’ve taken quite some pains to optimize all my images recently, I’m using Optimus which is an awesome solution.

    However, I don’t think it allows me to specify a directory (only wp-uploads)

    Hence, my post images are all now super-optimised (WebP), but the plugin’s video thumbnails are unoptimised jpgs.

    This means that on some posts, the page file sizes are actually bigger when your plugin is installed (but the page still loads quicker… ha ha) – because of the thumbnails.

    Is there anything I can do about this?

    Does choosing a smaller video embed resolution use a smaller thumbnail size for instance?

    Thanks 🙂

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


    Is there anything I can do about this?

    for starters make sure the “high quality video” option is not ticked as that forces the thumbnail to be in higher quality as well ..

    and if you’re not afraid to code you could use the lyte_match_thumburl-filter to str_replace hqdefault.jpg with mqdefault.jpg ? 🙂

    Great thanks 🙂

    Switching off HQ video brought some of the thumbnails from 100kb to 18kb – big difference!

    Not a coder, but happy to change some values if you can point me to where I should change this setting.


    Plugin Author Optimizing Matters


    It’s not a matter of changing values really, but of creating a (small) piece of code that hooks into LYTE to change the thumbnails to an even lower resolution. Not the most difficult of tasks for a developer, so would not be expensive to get someone to write that for you 🙂


    Ok, thanks Frank.

    The HD video trick worked well, but I’ll keep the filter trick in mind as well and put it on the never ending list of modifications for my developer to get round to!

    Thanks again 🙂

    Plugin Author Optimizing Matters


    you’re welcome @hillofbeans, feel free to leave a review of the plugin and support here! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnails and optimisation’ is closed to new replies.