y_player 2.0.0 copy "y_player: ^2.0.0" to clipboard
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 use YPlayerController

1.1.0 #

  • Introduced new controller-based functionality for improved state management
  • Enhanced handling of app lifecycle changes and fullscreen mode
  • Added onControllerReady callback to YPlayer widget
  • Improved error handling and recovery
  • Deprecated getController() method in favor of onControllerReady callback
  • Added isInitialized property to YPlayerController
  • Improved documentation and usage examples

[Earlier versions...]

12
likes
150
pub points
80%
popularity

Publisher

verified publishervexellab.com

YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, media_kit, media_kit_libs_video, media_kit_video, youtube_explode_dart

More

Packages that depend on y_player