Hacker News new | ask | show | jobs
by corentin88 59 days ago
It's a static site that renders the youtube thumbnail + a red play button. When you click on it, it loads the youtube iframe. So it's basically deferring the cookie consent and all.

We implemented it as a drop-in replacement:

  -- <iframe src="https://www.youtube.com/embed/aqz-KE-bpKQ">
  ++ <iframe src="https://www.embedlite.com/embed/aqz-KE-bpKQ">

Nothing else needed.