simple_youtube_player 0.1.1 copy "simple_youtube_player: ^0.1.1" to clipboard
simple_youtube_player: ^0.1.1 copied to clipboard

A simple and easy-to-use YouTube video player widget for Flutter. Just provide a URL and size, and you're ready to go! Supports all YouTube URL formats with auto-play, mute, loop, and control options.

Changelog #

All notable changes to Simple YouTube Player will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


0.1.1 - 2025-12-06 #

๐ŸŽ‰ Initial Release #

The first public release of Simple YouTube Player! A lightweight, easy-to-use YouTube video player widget for Flutter.

โœจ Added #

Core Features

  • ๐ŸŽฅ SimpleYoutubePlayer Widget: Main widget for embedding YouTube videos
  • ๐Ÿ”— Smart URL Parser: Automatically detects and handles multiple YouTube URL formats
    • Standard format: youtube.com/watch?v=VIDEO_ID
    • Short format: youtu.be/VIDEO_ID
    • Embed format: youtube.com/embed/VIDEO_ID
    • Mobile format: m.youtube.com/watch?v=VIDEO_ID
    • Direct video ID support

Customization Options

  • ๐Ÿ“ Size Control: Configurable width and height
  • โ–ถ๏ธ Auto-play: Option to start video automatically
  • ๐Ÿ”‡ Mute Control: Start videos with or without sound
  • ๐Ÿ” Loop Mode: Infinite video looping
  • ๐ŸŽฎ Controls Toggle: Show or hide YouTube player controls

Advanced Features

  • ๐ŸŽฎ Player Controller: SimpleYoutubePlayerController for advanced control
    • State monitoring (isPlaying, isLoading)
    • Error tracking and handling
    • Listener support for state changes

UI/UX

  • ๐ŸŽจ Loading Indicators: Beautiful loading state with progress indicator
  • ๐Ÿ›ก๏ธ Error Handling: User-friendly error messages with icons
  • โœจ Rounded Corners: Aesthetic 8px border radius
  • ๐Ÿ“ฑ Responsive Design: Works perfectly on all screen sizes

Platform Support

  • โœ… Android - Full support
  • โœ… iOS - Full support
  • โœ… Web - Full support
  • โœ… macOS - Full support
  • โœ… Windows - Full support
  • โœ… Linux - Full support

๐Ÿ“š Documentation #

  • ๐Ÿ“– Comprehensive README: Complete usage guide with 8+ code examples
  • ๐Ÿ’ก Multiple Examples:
    • Basic usage
    • Advanced controller usage
    • Responsive layouts
    • Video lists
    • Styled players
    • Background videos
  • ๐ŸŽฏ Best Practices: DO's and DON'Ts guide
  • ๐Ÿ› Troubleshooting: Common issues and solutions
  • ๐Ÿ“‹ Parameter Reference: Complete API documentation

๐Ÿ”ง Technical #

  • Dependencies:

    • webview_flutter: ^4.4.2 - For video rendering
    • Flutter SDK: >=3.0.0
    • Dart SDK: >=3.0.0 <4.0.0
  • Architecture:

    • Clean separation of concerns
    • Modular code structure
    • Well-documented codebase
    • Null-safe implementation

๐Ÿ“ฆ Example App #

  • ๐ŸŽฌ Complete Demo Application: Showcases all features
  • ๐ŸŽจ Multiple Screens: Different use cases demonstrated
  • ๐Ÿ“ฑ Production-Ready: Can be used as reference implementation

๐Ÿ“„ License #

  • MIT License - Free for personal and commercial use

[Unreleased] #

๐Ÿš€ Planned Features for Future Releases #

v0.2.0

  • โšก Playback Speed: Control video playback speed
  • ๐ŸŽฅ Quality Selection: Choose video quality (360p, 720p, 1080p, etc.)
  • ๐Ÿ“บ Picture-in-Picture: Floating video window support
  • ๐Ÿ–ฅ๏ธ Fullscreen Mode: Native fullscreen support

v0.3.0

  • ๐Ÿ“ Subtitle Support: Enable/disable captions
  • ๐Ÿ“Š Progress Tracking: Track video watch progress
  • ๐ŸŽš๏ธ Volume Control: Programmatic volume adjustment
  • โธ๏ธ Player Events: onPlay, onPause, onEnded callbacks

v1.0.0 (Stable Release)

  • ๐ŸŽฏ Performance Optimizations: Faster loading and better memory management
  • ๐Ÿ” Private Video Support: Handle authentication for private videos
  • ๐ŸŒ Localization: Multi-language error messages
  • ๐Ÿ“ฑ Offline Caching: Cache videos for offline viewing

๐Ÿ’ก Feature Requests #

Have an idea? Open an issue with the label enhancement!


Version Naming Convention #

This project follows Semantic Versioning:

  • MAJOR version (1.0.0): Incompatible API changes
  • MINOR version (0.1.0): New features, backwards compatible
  • PATCH version (0.0.1): Bug fixes, backwards compatible

Examples: #

  • 0.0.1 โ†’ 0.0.2: Bug fix
  • 0.0.1 โ†’ 0.1.0: New feature added
  • 0.9.0 โ†’ 1.0.0: First stable release or breaking changes

How to Report Issues #

Found a bug? Please help us improve!

  1. ๐Ÿ” Search existing issues to avoid duplicates
  2. ๐Ÿ“ Create new issue with:
    • Clear title
    • Step-by-step reproduction
    • Expected vs actual behavior
    • Flutter/Dart version
    • Platform (iOS/Android/Web/etc.)
    • Screenshots if applicable

Report Issue โ†’


Contributing #

Want to contribute? Check out:


Special Thanks #

Thanks to everyone who contributed to this release:

  • ๐ŸŽจ Designers who inspired the simple API
  • ๐Ÿงช Beta testers who found early bugs
  • ๐Ÿ’ฌ Community members who provided feedback
  • โญ Everyone who starred the repository!

Note: This is an initial release. Expect rapid improvements and feature additions based on community feedback. Please report any issues you encounter!



Made with for the Flutter community

โญ Star | ๐Ÿ“ฆ Install | ๐Ÿ› Report

4
likes
120
points
22
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A simple and easy-to-use YouTube video player widget for Flutter. Just provide a URL and size, and you're ready to go! Supports all YouTube URL formats with auto-play, mute, loop, and control options.

Repository (GitHub)
View/report issues

Topics

#youtube #video #player #widget #embed

License

unknown (license)

Dependencies

flutter, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on simple_youtube_player