y_player 2.0.0 y_player: ^2.0.0 copied to clipboard
YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget
Changelog #
2.0.0 #
- Major refactoring to address YouTube's deprecation of muxed streams
- Implemented separate handling of video and audio streams for better quality options
- Introduced
YPlayerInitializer
for proper initialization of dependencies - Changed default controls to
MaterialVideoControls
- Added
color
property for customizing control colors - Improved performance and stability
- Enhanced error handling and logging
- Updated documentation and migration guide
- Breaking Changes:
- Initialization process now requires calling
YPlayerInitializer.ensureInitialized()
- Some properties in
YPlayer
constructor have changed or been removed ChewieController
is no longer used; all controls now useYPlayerController
- Initialization process now requires calling
1.1.0 #
- Introduced new controller-based functionality for improved state management
- Enhanced handling of app lifecycle changes and fullscreen mode
- Added
onControllerReady
callback toYPlayer
widget - Improved error handling and recovery
- Deprecated
getController()
method in favor ofonControllerReady
callback - Added
isInitialized
property toYPlayerController
- Improved documentation and usage examples
[Earlier versions...]