公式のiFrame Player APIを使用してYouTube動画のインライン再生を可能にするFlutterプラグインです。Android、iOS、Web、macOS、Windowsなど複数のプラットフォームをサポートしており、FlutterアプリケーションにYouTubeコンテンツをスムーズに統合する方法を提供します。カスタマイズ可能なビデオプレーヤーを提供し、さまざまな再生コントロール、イベント、画質設定に対応しています。開発者は、外部プレーヤーや複雑な回避策に頼ることなく、アプリ内にYouTube動画を簡単に埋め込み、管理できます。
Web platform implementation for youtube_player_iframe (added automatically)
Web
Which package should I use?
youtube_player_flutter: just want a player that works
The quickest path to YouTube playback in your app. It ships with ready-made controls, a progress bar, drag-to-seek, pinch-to-fullscreen, and a live stream UI, all out of the box. Drop it in, point it at a video ID, and you're done.
flutter pub add youtube_player_flutter
Best for: apps that want a polished, functional player with minimal setup.
youtube_player_iframe: want full control over the player
A lower-level package that gives you the complete YouTube iFrame API. You own the UI; the package handles playback state, playlists, metadata, fullscreen transitions, thumbnails, and more. Includes a lazy-loading thumbnail widget perfect for video lists.
flutter pub add youtube_player_iframe
Best for: apps with a custom player design, complex playback logic, or playlist management needs.
youtube_player_iframe_web: you probably don't need to add this
This is the web platform implementation consumed automatically by youtube_player_iframe. You only need to add it directly if you're building a platform plugin or working inside this monorepo.