tss_video_glimpse 0.1.6 copy "tss_video_glimpse: ^0.1.6" to clipboard
tss_video_glimpse: ^0.1.6 copied to clipboard

Cross-platform Flutter package for video previews from network, assets, and Firebase Storage with smart caching.

0.1.6 Robustness and Interaction Improvements #

✨ New Features & Improvements #

  • Enhanced Network Preview: Fixed issue where network videos wouldn't show a preview frame in showPreviewOnly mode by forcing a frame render.
  • Platform-Specific Interactions:
    • Web/Desktop: Controls appear on hover.
    • Mobile: Controls toggle on tap (native behavior).
  • Improved Error Handling:
    • Added specific error messages.
    • Added a Retry button to the error widget.
    • Implemented retry() method in TssVideoGlimpseController to fully reset and reload state.
  • Expanded YouTube Support:
    • Added support for YouTube Shorts URLs.
    • Added support for YouTube Live URLs.
    • Added support for Mobile YouTube URLs (m.youtube.com).
  • Bug Fixes:
    • Fixed memory leak in YoutubePlayerController on Web.
    • Fixed race condition in controller initialization.
    • Improved widget update logic for dynamic property changes.

0.1.5 Web Support Improvements #

✨ New Features #

  • Added youtube_player_iframe for native YouTube playback on Web
  • Improved video controls for YouTube on Web
  • Fixed WebViewPlatform error on Web by adding webview_flutter_web

0.1.4 Added Video Controls #

✨ New Features #

  • Added showControls parameter to TssVideoGlimpse (default: true)
  • Enabled video player controls (play/pause, seek, volume, fullscreen) via OmniVideoPlayer configuration

0.1.3 YouTube Support and Improvements #

🧹 Maintenance #

  • Fixed static analysis issues
  • Improved code quality and formatting
  • Verified compatibility with latest Flutter SDK

0.1.1 Bug Fixes and Improvements #

🐛 Bug Fixes #

  • Fixed compatibility with omni_video_player v3.4.4
    • Updated to use OmniPlaybackController instead of deprecated OmniPlayerController
    • Updated to use OmniVideoPlayer widget with proper configuration
    • Fixed video playback methods (play, pause, seekTo)
  • Updated firebase_storage dependency to support both v12 and v13
  • Improved package description for better discoverability

0.1.0 Initial Release #

🎉 Features #

  • Multi-Source Support

    • Network URLs (HTTP/HTTPS) with automatic caching
    • Local asset paths for bundled videos
    • Firebase Storage paths with direct integration
    • YouTube video support with automatic thumbnail generation
  • Cross-Platform Excellence

    • ✅ Android (API 21+)
    • ✅ iOS (iOS 12+)
    • ✅ Web (All modern browsers)
    • ✅ Linux
    • ✅ macOS
    • ✅ Windows
  • Smart Performance

    • Intelligent caching system for network videos
    • Memory-efficient loading
    • Configurable cache duration (default: 7 days)
    • Three quality levels: Low, Medium, High
  • Beautiful UI

    • Customizable placeholder widgets
    • Custom error handling widgets
    • Gradient-based default placeholders
    • Rounded corners support
    • Multiple BoxFit options
  • Developer-Friendly

    • Simple, intuitive API
    • Comprehensive documentation
    • Detailed usage examples
    • Type-safe enums
    • Error callbacks for graceful handling
  • Advanced Control

    • TssVideoGlimpseController for granular control
    • Playback control (play, pause, seek)
    • State management support
    • Proper disposal handling

📦 Dependencies #

  • omni_video_player: ^0.1.3 - Powerful video player
  • firebase_storage: ^12.3.4 - Firebase integration
  • flutter_cache_manager: ^3.4.1 - Smart caching
  • path_provider: ^2.1.5 - Path management
  • http: ^1.2.2 - Network requests

📚 Documentation #

  • Comprehensive README with 15+ usage examples
  • Detailed API documentation
  • Platform-specific setup guides
  • Best practices and troubleshooting
  • Complete example app with 5 demo pages

🎯 Quality #

  • 160/160 pub.dev score target
  • Zero lint warnings
  • Follows all Flutter best practices
  • Production-ready code
  • Extensive error handling
2
likes
160
points
398
downloads

Publisher

verified publishertechsukras.com

Weekly Downloads

Cross-platform Flutter package for video previews from network, assets, and Firebase Storage with smart caching.

Repository

Topics

#video #preview #thumbnail #firebase #media

Documentation

API reference

License

MIT (license)

Dependencies

firebase_storage, flutter, flutter_cache_manager, http, omni_video_player, path_provider, webview_flutter_web, youtube_explode_dart, youtube_player_iframe

More

Packages that depend on tss_video_glimpse