A lightweight Flutter/Dart package designed to extract YouTube video IDs from various URL formats. It supports standard YouTube links, shortened URLs, embedded links, and query parameters, making it ideal for applications needing reliable ID extraction without additional dependencies. The library is minimal, fast, and works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Perfect for integrating YouTube functionality into apps with minimal overhead.
Use cases
- Extracting video IDs from user-input URLs
- Parsing YouTube links in chat or comment sections
- Integrating YouTube content into media players
- Building social media apps with YouTube embeds
- Automating YouTube link processing
Key features
- Supports all YouTube URL variations
- Minimal and lightweight
- Cross-platform compatibility
- No external dependencies
- Fast and reliable parsing
Suitable for
- Simple YouTube URL processing
- Apps requiring video ID extraction
- Lightweight parsing needs
- Developers avoiding heavy libraries
- Multi-platform Flutter projects
Considerations
- Does not validate if the video exists
- Only extracts IDs, not metadata
- No support for playlist or channel URLs
- Limited to basic URL parsing
- Not suitable for complex YouTube API interactions