adaptive_video_player 1.3.1
adaptive_video_player: ^1.3.1 copied to clipboard
A Flutter video player for YouTube and direct video URLs with adaptive controls. Supports Android, iOS, Windows, macOS, Linux, and Web.
1.3.1 #
- Maintenance: Achieved full WebAssembly (WASM) compatibility on Flutter Web.
- Refactored
video_playerimports to conditionally route to a native re-export or a custom web-safe controller/widget implementation. - Bypassed the transitive
dart:ioimport in the officialvideo_playerpackage for web builds. - Declared
video_player_platform_interfaceexplicitly in the dependencies list.
- Refactored
1.3.0 #
- Maintenance: Upgraded
youtube_player_flutterto version10.0.1.- Migrated controller APIs to use parameters and async duration streams.
- Rewrote the position display, remaining display, and progress bar to use
StreamBuilderand listen tocontroller.videoStateStreamasynchronously.
- Maintenance: Explicitly declared support for all six platforms (
android,ios,linux,macos,web,windows) inpubspec.yamlto ensure correct scoring on pub.dev. - Tests: Created a fake WebView platform interface implementation to resolve WebView platform assertions in test environments, and upgraded all tests to pass.
1.2.3 #
- Major Feature: Added full Windows and Linux platform support — package now supports all 6 platforms (20/20 on pub.dev).
- Windows: Uses
video_player_winfor normal video playback (compatible withflutter_inappwebview). - Linux: Uses
video_player_media_kit(media_kitbackend) for normal video playback.
- Windows: Uses
- New API: Added
AdaptiveVideoPlayerPlatform.ensureInitialized()— a single-line setup to enable desktop video playback in yourmain(). - Fix: Moved YouTube player fullscreen button to appear after the YouTube logo in the bottom bar and increased icon size for better visibility.
- Documentation: Updated README with new platform support table, combined Windows & Linux setup guide, and updated FAQ.
1.1.1 #
- Documentation: Complete README overhaul with comprehensive usage examples, full configuration reference tables, platform permissions & setup guide, FAQ section, architecture overview, and contributing guidelines.
- Documentation: Added platform demo GIFs (Android, iOS, Windows, macOS, Web) to the README.
- Documentation: Added feature comparison table and platform-specific YouTube behavior details.
1.1.0 #
- Major Feature: Added Live Stream support with a dynamic "LIVE" indicator and adjustable Viewer Count (
isLive,viewerCount). - Major Feature: Added Quality Selection (Resolution/source picker) for dynamic MP4/HLS stream switching.
- Major Feature: Added Subtitle/CC Support parsing (SRT/VTT formats).
- Major Feature: Externalizing Custom UI Builders (
controlsBuilder,subtitleBuilder) for complete custom overlay creation. - Enhancement: Implemented Safe External Link Handling (Now opens YouTube external URLs like logos in the system browser securely rather than breaking the player).
- Refactoring: Removed the heavy
chewiedependency out completely and engineered a fully integrated and adaptive built-in custom video playback control logic. - Refactoring: Replaced
dart:htmlwithpackage:webcompletely, making the package 100% WASM ready for advanced Web platform outputs. - Documentation: Added a comprehensive Flutter example application demonstrating MP4 and YouTube video playback, and updated README instructions for Android.
- Documentation: Fixed README.md formatting and pubspec.yaml topic limits to achieve maximum 160 points on pub.dev.
1.0.4 #
- Fix
NormalVideoPlayerplayback on Web not rendering (removed dart:io dependency internally)
1.0.3 #
- Make web platform fully WASM-compatible by replacing dart:html with package:web
1.0.2 #
- Fix web platform compatibility issue from underlying dart:io import
1.0.1 #
- Enhanced platform architecture, fixed displays, and updated utilities and test dependencies
1.0.0 #
- Initial release
- Adaptive video player with automatic YouTube/direct video detection
- YouTube player with native controls on mobile (Android/iOS)
- YouTube player with InAppWebView + localhost server on Windows Desktop (fixes Error 153)
- YouTube player with HTML iframe on Web
- Normal video player powered by Chewie (MP4, MOV, AVI, MKV, WebM, etc.)
- Support for network URLs, local files, and in-memory video bytes
- Customizable player styling, text labels, and control visibility
- BLoC/Cubit state management
- Fullscreen mode with state preservation
- Settings panel (auto-play, loop, force HD, captions, mute)
- Seek forward/backward controls on mobile
- Cross-platform support: Android, iOS, Windows, Web