Hacker GitHub

← All repos

paulirish/lite-youtube-embed

View on GitHub ↗ ★ 6,353 HTML

A faster youtube embed.

11 mentions on Hacker News by 10 people: 2 stories, 9 comments · first 2019-11-27 · latest 2026-06-14

Mentions per year 11 mentions · busiest year 2024 (5)
20082026
  1. There are lightweight YouTube embeds like https://github.com/paulirish/lite-youtube-embed . It’s lauded for faster page loads, but it likely has good privacy implications too since it basically just loads a thumbnail unless you click on it.
    comment by MarioMan · 2026-06-14 · in GameBoy Workboy
  2. …about this! Nice post, Shane. Thanks for calling out my research on this. Really glad you found it. https://github.com/paulirish/lite-youtube-embed/pull/167 has my solution. Basically we only attempt the hqdefault.jpg and the…
  3. …a 224x performance increase over YouTube’s stock embed (and shame on YouTube for not improving it): https://github.com/paulirish/lite-youtube-embed In the past, I have written electron applications (I had tried Qt first, but had trouble…
  4. One neat fix for that is to use https://github.com/paulirish/lite-youtube-embed
    comment by simonw · 2024-09-08 · in Graphics Tricks from Boomers
  5. lol, yes. good eye. ;) https://github.com/paulirish/lite-youtube-embed/issues/65
    comment by paulirish · 2024-07-07 · in YouTube embeds are heavy and it’s fixable
  6. …thumbnail? Edit: I guess yes, the unminified JS file here is 10KB and much of it is code comments https://github.com/paulirish/lite-youtube-embed/blob/master/...
  7. …performance. This custom element renders just like the real thing but approximately 224× faster." https://github.com/paulirish/lite-youtube-embed
    comment by gryzzly · 2024-02-28 · in YouTube video embedding harm reduction
  8. …[2] Over at webdev: https://web.dev/articles/iframe-lazy-loading pointing to https://github.com/paulirish/lite-youtube-embed BTW. web.dev is created by web devs at Google. Promoting web development best practices. It takes it ~3 second
    comment by troupo · 2024-02-23 · in JavaScript Bloat in 2024
  9. …experience. For Youtube embeds, I prefer Lite Youtube Embed[1] by the magnificent Paul Irish. [1] https://github.com/paulirish/lite-youtube-embed
    comment by SquareWheel · 2021-12-24 · in The Google home page is 500K