widget/player/youtube_player_widget library
Classes
- YoutubePlayerConfig
- Configuration for YoutubePlayerWidget — a YouTube URL plus an optional placeholder image shown before playback starts.
- YoutubePlayerWidget
-
Embeds a YouTube video using
youtube_player_iframewith a thumbnail placeholder + tap-to-play behaviour.