Flutter plugin for playing or streaming YouTube videos inline using the official iFrame Player API. Supports both Android and iOS platforms.
onInit
& onFullscreenChange
callbacks to YoutubePlayerController.Swipe up/down to enter/exit fullscreen mode
as a feature in the docs.autoPlay
param in YoutubePlayerParams, as it's no longer used.hasPlayed
, position
& buffered
from YoutubePlayerValue, as these values can be accessed through YoutubePlayerController.foreceHD
param, in favor of desktopMode
. The desktopMode
also supports changing quality in fullscreen mode.hideTopMenu()
and hidePauseOverlay()
. Visit ReadMe for more detail.Initial release of youtube_player_iframe
onEnterFullScreen
& onExitFullScreen
callback to YoutubePlayerBuilder
.thumbnail
parameter to YoutubePlayer
, removed thumbnailUrl
. Now any widget can be used as thumbnail.BREAKING CHANGE
--ios-language swift
, Xcode version >= 11
minSdkVersion 17
WebView
widgetforceHideAnnotation
flag