Block activation unless cookie is set?

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 😉

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer