// the find
sarbagyastha/youtube_player_flutter
A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.
A Flutter monorepo wrapping the YouTube iFrame API into two packages: a batteries-included player with built-in controls, and a lower-level package for custom UI. Targets Flutter developers on Android, iOS, macOS, and web who need YouTube playback without rolling their own WebView integration.
The two-package split is the right call — most projects want the opinionated player, a few want the raw API surface, and the monorepo keeps them in sync without forcing one size on everyone. The lazy-loading thumbnail widget for video lists is a practical inclusion that most similar libraries skip. It's actively maintained (pushed May 2026) and the web platform implementation is handled transparently as a transitive dep, which is the correct pattern. The iFrame API approach avoids App Store policy headaches that native YouTube SDK usage can trigger.
Stars-to-forks ratio (802:1002) is inverted, which typically means a lot of people forked to work around problems rather than contribute back — probably WebView quirks that needed per-project patches. The iFrame approach means you're hostage to YouTube's iframe API availability and behavior changes; any policy shift on their end breaks your app with no fallback. No Linux or Windows desktop support listed, which is a gap if you're targeting Flutter desktop. Zero test coverage visible in the tree for the actual packages — the RunnerTests files in the examples are placeholder stubs.