afraid that currently indeed is not possible hmijail; lyte.min.js is responsible for both the loading of the thumbnail and the activation of the video.
hope this clarifies,
frank
Aha, thank you for confirming.
OK, so in case you feel like implementing a new feature ;), it’d be great to ignore clicks if a cookie isn’t present with a configurable name and contents. (e.g., CookieYes sets a cookie with the permissions granted by the user; so Lyte could check that the cookie exists and contains a substring).
Even better if, while the cookie is missing, a configurable text was overlayed; the text could change on an event triggered by the cookie banner acceptance.
Or maybe if the cookie is missing the click could just open the youtube video in either the current tab or a new one…
In any case, thank you for your work! Mozilla donor here 😉