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
20082026
-
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 -
…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…
comment by paulirish · 2025-08-14 · in Fighting with YouTube to show a preview image -
…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…
comment by ryao · 2025-05-14 · in The world could run on older hardware if software optimization was a priority -
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 -
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 -
…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/...
comment by cuu508 · 2024-07-07 · in YouTube embeds are heavy and it’s fixable -
…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 -
…[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 -
…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 -
▲ 2
Lite-YouTube Embedstory by ekianjo · 2021-03-28 · 0 comments
-
▲ 1
A Faster YouTube Embedstory by hising · 2019-11-27 · 0 comments