Skip to content

aliplayer_widget-v7.18.0

Latest

Choose a tag to compare

@Aqi-yu Aqi-yu released this 22 Sep 10:00
· 1 commit to master since this release

[7.18.0] - AI Education Scenario Solution & VID All-in-One Playback

New Features

  • VID All-in-One Playback: Leveraging the synergy between AliPlayerWidget and Alibaba Cloud VOD, the business side only needs to pass in the video VID to automatically obtain playback resources and associated media information such as video title, cover image, and thumbnail, reducing playback URL retrieval, media information passing, and client-side parameter configuration to simplify playback integration
  • Video Chapter Segmentation: Intelligently splits long videos into multiple chapter segments based on content structure, helping users quickly locate key content through progress bar markers and chapter panel
  • AI Education Scenario:
    • Added an AI education video solution for online education, knowledge courses, and other scenarios, providing smart chapters, content summaries, knowledge points, and image-text analysis capabilities to help users quickly locate key content and improve video learning and content understanding efficiency
    • Added aiVod scene type, supporting chapter segmentation, chapter navigation, and chapter information display during Seek on top of standard VOD playback capabilities
  • Playback Control Extensions: Added pauseOnBackground for background pause/resume, playbackSpeeds for custom speed list, and autoHideControlsDuration for control bar auto-hide duration configuration

Improvements

  • Download Management: Extracted download logic from Controller into an independent DownloadManager, enhanced error code classification and subscription lifecycle management
  • Settings Panel: Migrated to registry-driven architecture, supporting per-item visibility resolution
  • Slot System: Migrated Builder to factory pattern, cached sort results to avoid repeated computation on every build
  • Data Security: Introduced PrivacyUtil to sanitize credential fields in VidSts / VidAuth / Url video sources
  • Type Safety: Tightened videoSource to non-nullable final, changed isSubtitleVisibleNotifier to non-nullable bool type, removed unreachable null branches
  • Module Reorganization: Reorganized data and download modules into subdirectory structure, unified barrel file exports
  • Kernel SDK upgraded to v7.18.0

Bug Fixes

  • Fixed ContextProvider of portrait instance being incorrectly cleared on fullscreen exit, causing screenshot/Toast failures
  • Fixed inverted allowedScreenSleep semantics — true should allow sleep, not keep screen awake
  • Fixed resource accumulation leak from StreamController not being closed on download completion/destroy
  • Fixed duplicate Seek caused by progress bar onTapDown conflicting with drag gesture
  • Fixed SafeNotifier remaining writable after dispose and destroy sequence race condition
  • Fixed Navigator.pop() crash on root route with no route to pop

Breaking Changes

  • Removed deprecated BuildContext parameter from Controller constructor, now automatically injected by AliPlayerWidgetState
  • Removed SlotWidgetBuilderWithController type, unified to SlotWidgetBuilder

Documentation