- (New Feature) Pinch in/out on the player to fit video.
- (Improvements) Video plays in high definition, if supported.
- Moved
videoId
,title
,author
andduration
to separate YoutubeMetaData class. - (Fixed) Issue with invalid video id being shown while switching to fullscreen. Issue #118
- Added
onEnded
callback forYoutubePlayer
widget. (Fixes #108) - Removed
isEvaluationReady
&isLoaded
flags as it had no use anyway. - Added
controlsVisibleAtStart
flag. (Fixes #113)
- (New Feature) Added
title
andauthor
property toYoutubePlayerController
. - Removed DataConnectionChecker dependency.
- Removed
start
andend
from flags as it wasn't functioning anyway. - (Improvement) Implemented effective dart lints.
- (Improvement) Changed thumbnails to fetch webp format.
- (Fixed) Issue with Live UI Issue #115.
- (Improvement) Smooth fullscreen toggle and crash fix. Issue #46 & Issue #105
- (Fixed) Issue #93.
- (Fixed)
PlayerState.ended
being call multiple times. Issue #108 - (Improvement) Exposed
controller
parameter to all widgets. Issue #109. This comes handy when the widgets are to used outside the context ofYoutubePlayer
widget. - (Improvement) UI and performance optimizations.
BREAKING CHANGES
- From now on,
YoutubePlayerController
is to be passed to the player explicitly. (See the updated readme) - Removed
context
andvideoId
properties fromYoutubePlayer
. flags
property is moved toYoutubePlayerController
fromYoutubePlayer
. Since flags were only needed for the first time when player initializes.showVideoProgressIndicator
property moved toYoutubePlayer
.
5.2.0+1
- (Fixed) aspect ratio in fullscreen mode.
- (Fixed) sometimes showing up buffering indicator instead of error.
BREAKING CHANGES
- Renamed
videoId
property in YoutubePlayer toinitialVideoId
. - From now on changing video id must be done using either load() or cue().
- (Fixed) Video playing sound only, on videoId change. Issue #99
- (Improvement) Minor optimizations.
- Example updated with video list.
- Added
PlayerState.stopped
. - Added
actionsPadding
property.
- Renamed
TotalDuration
widget toRemainingDuration
. - Renamed
PlayButton
widget toPlayPauseButton
. - (Improvement) Better handling of invalid video id.
- (Improvement) Better video orientation handling.
- (Improvement) Better play/pause handling w/r/t app lifecycle.
- (Fixed) Video pausing after jumping to certain position using progress bar.
- BREAKING Switched back to
webview_flutter
. - Updated dart docs.
BREAKING CHANGES
- Everything is modular now. See the docs for details.
- Automatically switches to landscape on fullscreen mode.
- Added proper display of errors and detects internet connection status.
- Workarounds for iOS.
webview_flutter
is swapped withytview
. If you've been usingWebView
widget, then consider changing import paths to ytview instead.- Added flags to enable/disable caption and looping.
- Added flags to change caption language, start and end time of video.
- Feature Added Button to change playback rate in player.
- Added
setPlaybackRate
method toYoutubePlayerController
. Issue #48 - (Improvement) Playback behaviour synced with
AppLifeCycle
Issue #41
- Fix error reports in LiveUI. PR#44
- Added
startAt
property.
BREAKING CHANGES
YoutubePLayerScaffold
has been removed.- Improved Orientations
- Uses
webview_flutter
instead ofytview
- BREAKING CHANGES See Migrating to 3.x.x for detail.
- Faster fullscreen toggling.
- Toggles fullscreen on orientation change. Issue #3.
- Option to add own custom thumbnail.
- (Fixed) Video stuck at unknown state Issue #24.
- Added
hideThumbnail
anddisableDragSeek
flags. #27, #29. - (Fixed) Fullscreen toggle in iOS.
- Minor UI improvements here and there.
- (Fixed) iOS playback is fully functional. Issue #2
- Added
forceHideAnnotation
property which hides the default YouTube annotation. Read Issue #17 for detail - Added option to
mute
player.
- Added
actions
property, which can be used to add menus in top bar of video. See example for details. - Added option to hide fullscreen button.
- (Fixed) Current position always showing 00:00 Issue #17
- Updated dart constraint to
>=2.2.0 <3.0.0
*. - (Fixed) Parsing Exceptions.
- Fix for issue #12.
- WebView is now exported alongside YoutubePlayer.
- Minor Improvements.
- Built and tested on iOS device.
- Migrated to AndroidX.
- Removed warnings on iOS builds.
- Added Travis CI.
- (Fixed) Error while building for iOS.
- (Fixed) Video pausing on tapped, when controls were hidden.
- Added Download APK badge.
- Initial Release.
- Includes Dart Documentation.
- Includes support for Live Videos.
- Includes fast forward and rewind feature.