cross_platform_video_thumbnails 0.0.1
cross_platform_video_thumbnails: ^0.0.1 copied to clipboard
A cross-platform Flutter package for generating video thumbnails that supports Android, iOS, Web, Windows, macOS, and Linux with WASM compatibility.
Changelog #
All notable changes to the cross_platform_video_thumbnails package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
Added #
- Initial package structure and implementation
- Cross-platform support for Android, iOS, Web, Windows, macOS, and Linux
- WASM compatibility with no dart:io imports in main interface
- Platform-specific implementations using conditional imports
- Support for JPEG, PNG, and WebP output formats
- Customizable thumbnail dimensions and quality
- Batch thumbnail generation
- Comprehensive error handling with ThumbnailException
- Platform detection and availability checking
- Example Flutter application
- Comprehensive test suite
Platform Implementations #
- Web: HTML5 video element + canvas API for WASM compatibility
- Mobile: Platform channels for native Android/iOS implementation
- Desktop: FFmpeg bindings and native video processing libraries
Technical Features #
- Conditional imports for platform-specific code
- Universal I/O operations using universal_io package
- Platform interface abstraction for consistent API
- Stub implementations for unsupported platforms
- Comprehensive model classes with copyWith support
- Type-safe enums for format selection