Hi @snippet24,
Thanks for your message.
The forum is about plugin support, not PageSpeed Insight issues. See the plugin FAQ for details on how a plugin works.
But the thumbnail image is stored locally on the theme…
@snippet24 If you want help, ask how I can understand it.
Okey I explain, the plugin called “WP Youtube Lyte” has an option to store the images of each embed youtube video locally on the theme.
https://drive.google.com/file/d/1H0NurZIM-D5da2MD4UTVOK3RDAnwdzyZ/view?usp=sharing
And these images don’t have their webp versions
https://drive.google.com/file/d/1ilAUNpox-lI6HQ5R7RRqxW8QRZGrFeEu/view?usp=sharing
-
This reply was modified 2 months, 2 weeks ago by
snippet24.
@snippet24 Have you read how the plugin works? Converts images that are in the directories /uploads
, /themes
, and /plugins
.
Are the images generated by this plugin in any of these directories? No, because they are dynamically generated by the plugin.
@snippet24 .php
file is loaded that dynamically generates the image and returns it as a response. The image file is not physically located on your server, but on YouTube servers.
@snippet24 In the HTML you load the .php file, not the image file, and that matters most. It will not work.
@snippet24 That plugin is not compatible with WebP Converter for Media. Returns images as their original formats.
Ohh and is there something I could ask to that plugin developer so that it becomes compatible?
@snippet24 I do not know. I created a plugin for converting images to WebP, which works as described in the plugin FAQ.
I cannot support all other plugins like this one for YouTube.
But can you tell me at least why is not working with “WP Youtube Lyte” so that “WP Youtube Lyte” developer can make it compatible? perhaps is a matter of changing/removing the “.php” part?
-
This reply was modified 2 months, 1 week ago by
snippet24.
@snippet24 You can find all information about the plugin’s operation in its description and in the FAQ.