youtube_player_darwin
The iOS and macOS implementation of youtube_player. It hosts the YouTube IFrame Player API in a minimal WKWebView, driven through Pigeon Native Interop (FFI, no platform channels), and uses WebKit's element fullscreen.
Requires Swift Package Manager; CocoaPods is not supported.
On macOS, Flutter plugins get no detach callback, so in apps that create and destroy several engines, players of a destroyed engine are only released on the next hot restart or app exit.
Usage
This package is endorsed: depend on youtube_player and this implementation is included automatically.
Libraries
- youtube_player_darwin
- The iOS and macOS implementation of
youtube_player.