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

youtube_player_flutter のカバー
パッケージ詳細v10.0.1

youtube_player_flutter

公式 iFrame プレイヤー API を使用して、インラインで YouTube 動画を再生またはストリーミングするための Flutter プラグイン。このプラグインは Android および iOS をサポートしています。

AndroidiOSWebmacOSWindows
30日間ダウンロード
21.6万
いいね数
1710
Pub ポイント
160

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

flutter pub add youtube_player_flutter

パッケージ概要

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

公式のiFrame Player APIを使用してYouTube動画のインライン再生を可能にするFlutterプラグインです。Android、iOS、Web、macOS、Windowsなど複数のプラットフォームをサポートしており、FlutterアプリケーションにYouTubeコンテンツをスムーズに統合する方法を提供します。カスタマイズ可能なビデオプレーヤーを提供し、さまざまな再生コントロール、イベント、画質設定に対応しています。開発者は、外部プレーヤーや複雑な回避策に頼ることなく、アプリ内にYouTube動画を簡単に埋め込み、管理できます。

用途

  • モバイルアプリにYouTube動画を埋め込む
  • Webアプリケーション内での動画ストリーミング
  • 動画チュートリアルやコンテンツハブの作成
  • 教育用アプリケーションに動画再生を統合する
  • メディア豊富なFlutter体験の構築

主な機能

  • iFrame プレーヤー API をサポートしています
  • クロスプラットフォーム互換性
  • カスタマイズ可能なプレイヤーUI
  • 再生状態のイベント処理
  • デバイス間での応答性デザイン
  • 動画品質の選択

適している対象

  • メディア重視のアプリを開発する開発者
  • 教育またはチュートリアルプラットフォーム
  • コンテンツ配信アプリケーション
  • 埋め込み動画ストリーミングを必要とするアプリ
  • 複数のプラットフォームをターゲットにするFlutterチーム

注意事項

  • 動画の読み込みにはインターネット接続が必要です
  • ネイティブプレイヤーと比較してカスタマイズの選択肢が限られている
  • YouTubeの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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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