- (New Feature) Pinch in/out on the player to fit video.
- (Improvements) Video plays in high definition, if supported.
- Moved
videoId,title,authoranddurationto separate YoutubeMetaData class. - (Fixed) Issue with invalid video id being shown while switching to fullscreen. Issue #118
- Added
onEndedcallback forYoutubePlayerwidget. (Fixes #108) - Removed
isEvaluationReady&isLoadedflags as it had no use anyway. - Added
controlsVisibleAtStartflag. (Fixes #113)
- (New Feature) Added
titleandauthorproperty toYoutubePlayerController. - Removed DataConnectionChecker dependency.
- Removed
startandendfrom 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.endedbeing call multiple times. Issue #108 - (Improvement) Exposed
controllerparameter to all widgets. Issue #109. This comes handy when the widgets are to used outside the context ofYoutubePlayerwidget. - (Improvement) UI and performance optimizations.
BREAKING CHANGES
- From now on,
YoutubePlayerControlleris to be passed to the player explicitly. (See the updated readme) - Removed
contextandvideoIdproperties fromYoutubePlayer. flagsproperty is moved toYoutubePlayerControllerfromYoutubePlayer. Since flags were only needed for the first time when player initializes.showVideoProgressIndicatorproperty moved toYoutubePlayer.
5.2.0+1
- (Fixed) aspect ratio in fullscreen mode.
- (Fixed) sometimes showing up buffering indicator instead of error.
BREAKING CHANGES
- Renamed
videoIdproperty 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
actionsPaddingproperty.
- Renamed
TotalDurationwidget toRemainingDuration. - Renamed
PlayButtonwidget 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_flutteris swapped withytview. If you've been usingWebViewwidget, 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
setPlaybackRatemethod toYoutubePlayerController. Issue #48 - (Improvement) Playback behaviour synced with
AppLifeCycleIssue #41
- Fix error reports in LiveUI. PR#44
- Added
startAtproperty.
BREAKING CHANGES
YoutubePLayerScaffoldhas been removed.- Improved Orientations
- Uses
webview_flutterinstead 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
hideThumbnailanddisableDragSeekflags. #27, #29. - (Fixed) Fullscreen toggle in iOS.
- Minor UI improvements here and there.
- (Fixed) iOS playback is fully functional. Issue #2
- Added
forceHideAnnotationproperty which hides the default YouTube annotation. Read Issue #17 for detail - Added option to
muteplayer.
- Added
actionsproperty, 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.