tss_video_glimpse 0.1.6
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
showPreviewOnlymode 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 inTssVideoGlimpseControllerto 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
YoutubePlayerControlleron Web. - Fixed race condition in controller initialization.
- Improved widget update logic for dynamic property changes.
- Fixed memory leak in
0.1.5 Web Support Improvements #
✨ New Features #
- Added
youtube_player_iframefor native YouTube playback on Web - Improved video controls for YouTube on Web
- Fixed
WebViewPlatformerror on Web by addingwebview_flutter_web
0.1.4 Added Video Controls #
✨ New Features #
- Added
showControlsparameter toTssVideoGlimpse(default:true) - Enabled video player controls (play/pause, seek, volume, fullscreen) via
OmniVideoPlayerconfiguration
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_playerv3.4.4- Updated to use
OmniPlaybackControllerinstead of deprecatedOmniPlayerController - Updated to use
OmniVideoPlayerwidget with proper configuration - Fixed video playback methods (play, pause, seekTo)
- Updated to use
- Updated
firebase_storagedependency 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 playerfirebase_storage: ^12.3.4- Firebase integrationflutter_cache_manager: ^3.4.1- Smart cachingpath_provider: ^2.1.5- Path managementhttp: ^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