Live data from Hacker News

Show HN: A drop-in, open-source replacement for YouTube embed iframes

embedlite.com

1–3 of 3 posts

Re: Show HN: A drop-in, open-source replacement for YouTube embed iframes

#3

the iframe bloat problem is real. been using lite-youtube-embed for similar reasons. curious how yours compares - do you render the thumbnail server-side or client-side, and how do you handle the cookie consent modal that youtube forces now

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:

  -- 
  ++ 

Nothing else needed.