youtube_player_android

youtube_player_android

The Android implementation of youtube_player. It hosts the YouTube IFrame Player API in a minimal android.webkit.WebView driven through Pigeon Native Interop (JNI, no platform channels), and uses the WebView's custom-view fullscreen.

The view uses Hybrid Composition++ when the app opts in (io.flutter.embedding.android.EnableHcpp in AndroidManifest.xml) and the device supports it (API 34+, Vulkan), and Texture Layer Hybrid Composition otherwise.

Usage

This package is endorsed: depend on youtube_player and this implementation is included automatically.

Libraries

youtube_player_android
The Android implementation of youtube_player.