パッケージ、リポジトリ、アプリカテゴリを検索

youtube_player_iframe のカバー
パッケージ詳細v6.0.2

youtube_player_iframe

公式YouTube iFrameプレーヤーAPIのFlutter版。Android、iOS、macOS、Webをサポートしています。

AndroidiOSWebmacOS
30日間ダウンロード
26.1万
いいね数
668
Pub ポイント
160

パッケージをインストール

flutter pub add youtube_player_iframe

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

公式YouTube iFrame Player APIのFlutter実装を提供するFlutterパッケージで、Android、iOS、Web、macOSプラットフォーム間でYouTube動画をスムーズに統合できます。再生、一時停止、シーク、音量調整など、動画再生を完全に制御でき、YouTubeの最新機能およびレスポンシブデザインとの互換性も維持しています。このパッケージは軽量であり、最小限のセットアップで信頼性の高いクロスプラットフォームYouTube動画埋め込みを求める開発者向けに設計されています。

用途

  • モバイルおよびウェブアプリにYouTube動画を埋め込む
  • ビデオチュートリアルやコンテンツプレイヤーの作成
  • メディア豊富な教育アプリケーションの構築
  • YouTubeコンテンツをストリーミングプラットフォームに統合する
  • レスポンシブな動画ギャラリーの開発

主な機能

  • Android、iOS、Web、macOS をサポートしています
  • API を通じた動画再生の完全な制御
  • すべての画面サイズに対応するレスポンシブデザイン
  • リアルタイムイベント処理(再生、一時停止、終了)
  • 軽量で統合が簡単

適している対象

  • クロスプラットフォーム動画アプリを開発する開発者
  • 教育アプリの作成者
  • YouTube動画を使用するコンテンツプラットフォーム
  • 埋め込み動画再生を必要とするアプリ
  • 1つのコードベースで複数のプラットフォームをターゲットにするチーム

注意事項

  • 動画の読み込みにはインターネット接続が必要です
  • 標準のYouTubeプレーヤーUIを超えるカスタマイズは限られている
  • ブランド固有のテーマ用に追加のスタイリングが必要になる場合があります
  • YouTubeのiFrame APIの安定性に依存しています
  • オフライン動画再生には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Youtube Player iFrame Youtube Player Flutter

Youtube Player for Flutter

A Flutter monorepo for seamless YouTube video playback, powered by the official iFrame Player API.

Stars Issues BSD-3 License


Packages

Package Version Demo Description Platforms
youtube_player_flutter pub demo Batteries-included YouTube player with built-in controls, gestures, and live stream UI Android, iOS, macOS, Web
youtube_player_iframe pub demo Full-control Flutter port of the YouTube iFrame API. Build your own UI. Android, iOS, macOS, Web
youtube_player_iframe_web pub 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.


License

BSD-3-Clause. See LICENSE for details.

This project uses the YouTube IFrame Player API. By using these packages, you agree to the YouTube API Services Terms of Service.

API method documentation is adapted from the YouTube IFrame Player API Reference, © Google LLC, licensed under CC BY 4.0. See NOTICE for details.

カテゴリー

依存関係

依存関係一覧 6 件

ソースリポジトリ

このパッケージを使用しているプロジェクト