Skip to content
프로젝트

sarbagyastha/youtube_player_flutter

GitHub에서 보기

소개

공식 iFrame Player API를 사용해 YouTube 동영상을 인라인 재생하거나 스트리밍할 수 있는 Flutter 플러그인입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

youtube_player

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 pub demo New plain IFrame player on native WebViews (Pigeon Native Interop, no webview_flutter). Custom UI via controlsBuilder. Android, iOS, macOS, Web
youtube_player_platform_interface pub Platform interface for youtube_player (added automatically) All
youtube_player_android pub Android implementation for youtube_player (added automatically) Android
youtube_player_darwin pub iOS and macOS implementation for youtube_player (added automatically) iOS, macOS
youtube_player_html pub Web implementation for youtube_player (added automatically) Web
youtube_player_flutter pub demo Batteries-included YouTube player with built-in controls, gestures, and live stream UI Android, iOS, macOS, Web

Which package should I use?

youtube_player: the new federated player

A from-scratch IFrame player built on a minimal native WebView per platform, driven through Pigeon Native Interop (JNI on Android, FFI on iOS/macOS) with no platform channels and no webview_flutter. It draws no Flutter UI of its own; add custom controls through YoutubePlayer.controlsBuilder.

flutter pub add youtube_player

Best for: new projects that want a lean, modern player. Requires Dart 3.14+ and Flutter 3.50+.


youtube_player_flutter: just want a player that works

The quickest path to YouTube playback in your app, built on top of youtube_player. 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.


Platform packages: you probably don't need to add these

youtube_player_platform_interface, youtube_player_android, youtube_player_darwin and youtube_player_html are consumed automatically by youtube_player. You only need to add them 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.

관련 프로젝트 살펴보기

불러오는 중…