paulirish/lite-youtube-embed

A faster youtube embed.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 40 minutes ago
Added to GitGenius on September 10th, 2026
Created on November 3rd, 2019
Open Issues & Pull Requests: 27 (+0)
GitHub issues: Enabled
Number of forks: 296
Total Stargazers: 6,349 (+0)
Total Subscribers: 57 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 31.3 days
Mean response time: 96.0 days
90th percentile: 342.2 days
Tracked items: 27

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 942 days
Stale 30+ days: 12
Stale 90+ days: 12

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Lite YouTube Embed is a custom HTML element that provides a faster alternative to standard YouTube iframe embeds.

The tool solves the performance problem of embedding YouTube videos, which normally loads substantial resources even before a user interacts with the embed. Lite YouTube Embed renders a lightweight placeholder using the video's thumbnail image, loading the full YouTube iframe only when the user clicks to play. This approach reduces initial page load impact significantly while maintaining the appearance and functionality of a standard embed.

Projects with performance-sensitive requirements should consider this tool, particularly sites serving many videos or targeting users on slower connections. The embed works as a drop-in replacement for standard YouTube iframes and supports progressive enhancement by deferring script loading. The tool offers several configuration options including custom poster images, video titles, access to the YouTube IFrame Player API through a js-api parameter, and support for YouTube's player parameters. It uses youtube-nocookie.com instead of youtube.com to provide better privacy for end users.

The project maintains a stable, focused codebase with minimal scope creep. Development activity shows consistent attention to user-reported issues and feature requests without introducing unnecessary complexity. The tool remains actively maintained with responsive engagement on pull requests and issues, indicating reliable stewardship for projects depending on it.