no, not really … is this for a video or a playlist? do you have the API key set and is it working?
The API key is set and working.
I also just noticed that the video background is only showing when I am logged in. If I log out, there’s a black screen…
Thanks,
Dirk
can you share a URL so I can have a look at the HTML source Dirk?
Hey Dirk;
You have Sucuri blocking access to the locally cached thumbnails, check the Sucuri config if you have add an exception for wp-youtube-lyte?

groeten uit Lokeren!
frank
Hey Frank
I whitelisted the WP Lyte path, but the images are still not showing up (unless I am logged in).
Weird, because when I put that image url in my browser, the image loads fine (the xxxx in the url is my editing).
This is an example from the firewall:
24/Jun/2021:02:23:38 NOT BLOCKED GET 404 /blog/mr-pc/url(https:/www.xxxx.be/blog/wp-content/plugins/wp-youtube-lyte/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHRZeVvz6HrE%2Fmaxresdefault.jpg) CACHES:MISS/WHITELISTED https://www.xxxx.be/blog/mr-pc/
Mozilla/5.0 (Linux; Android 10; SM-A605F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
Groeten uit Antwerpen en bedankt voor de geweldige plugins!
Dirk
Perfmatters lazy-load seems to be interfering, can you disable that?
Weird, I just turned off lazy loading in Perfmatters, even disabled the plugin (and Autoptimize and Rapidload), cleared all caches, but I can’t get rid of this class:
class=”pL perfmatters-lazy error”
I also had this in functions.php, but removed that for now:
// Lazy Load Youtube Lyte Images
add_filter('lyte_match_postparse_template','lyte_bgimg');
function lyte_bgimg($in) {
return preg_replace('/(<div id="lyte_[^"]*"\s)data-src="([^"]*)"/', '\1 style="background-image:url(\'\2\')" ', $in);
}
Maybe clear your page cache(s) (wp rocket)? 🙂
Hi Frank, sorry for the late reply!
It was indeed something cache-related, although I cleared all caches.
The matter resolved itself after a couple of hours.
Cheers,
Dirk
ah, caching, the curse and blessing of the web … 😉