adaptive_video_player 1.2.3 copy "adaptive_video_player: ^1.2.3" to clipboard
adaptive_video_player: ^1.2.3 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.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_win for normal video playback (compatible with flutter_inappwebview).
    • Linux: Uses video_player_media_kit (media_kit backend) for normal video playback.
  • New API: Added AdaptiveVideoPlayerPlatform.ensureInitialized() — a single-line setup to enable desktop video playback in your main().
  • 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 chewie dependency out completely and engineered a fully integrated and adaptive built-in custom video playback control logic.
  • Refactoring: Replaced dart:html with package:web completely, 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 NormalVideoPlayer playback 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
16
likes
150
points
169
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter video player for YouTube and direct video URLs with adaptive controls. Supports Android, iOS, Windows, macOS, Linux, and Web.

Repository (GitHub)
View/report issues

Topics

#video-player #youtube #streaming #hls #cross-platform

License

MIT (license)

Dependencies

flutter, flutter_bloc, flutter_inappwebview, media_kit_libs_linux, media_kit_libs_windows_video, url_launcher, video_player, video_player_media_kit, video_player_win, web, youtube_player_flutter

More

Packages that depend on adaptive_video_player