aliplayer_widget 7.0.0
aliplayer_widget: ^7.0.0 copied to clipboard
A powerful and flexible vod component for Flutter applications. It integrates with flutter_aliplayer to provide high-quality video playback, seamless streaming, and a rich set of features for both liv [...]
AliPlayerWidget Changelog #
1.0.0 Initial Release #
Features #
-
Core Player Functionality
- Implemented basic video playback capabilities including play, pause, stop and seek operations.
- Added support for multiple playback rates with
setRate()method. - Integrated brightness and volume control with delta adjustments.
-
Controller Architecture
- Developed
AliPlayerWidgetControlleras the main interface for player interactions.CHANGELOG.md - Implemented various notifiers including:
mirrorModeNotifierisMuteNotifierscaleModeNotifierisLoopNotifierspeedNotifiertrackInfoListNotifierthumbnailNotifier
- Developed
-
Event Handling System
- Established comprehensive callback mechanisms for player events:
- Video size change detection
- Loading status notifications (begin, progress, end)
- Seek completion events
- Playback position tracking
- Established comprehensive callback mechanisms for player events:
UI Components #
-
Setting Menu Panel
- Created customizable settings menu with visibility control.
- Implemented setting items builder for dynamic configuration options.
-
Overlay System
- Introduced flexible overlay system allowing custom widgets to be positioned over the player.
- Supports multiple overlay elements with absolute positioning.
Technical Implementation #
-
Platform Integration
- Implemented platform brightness detection for automatic theme mode adjustment.
- Developed robust initialization and destruction processes for player instances.
-
Data Management
- Created
AliPlayerWidgetDataclass for managing video source information. - Supports various media sources including VOD and live streams.
- Created
Documentation #
- Provided complete README documentation including:
- Quick start guide
- Core component descriptions
- Customization instructions
- Code examples for common use cases