PackageTrack
Sign in Get early access

youtube_player_flutter

Flutter plugin for playing or streaming inline YouTube videos using the official iFrame player API. Powered by youtube_player_iframe.

10.0.1 187K downloads/mo #878 most downloaded on pub.dev sarbagyastha/youtube_player_flutter

What this package is like to depend on

Last release 2 months ago

30 May 2026

Ships fairly regularly

a new release about every 4 months

Most releases are documented

notes for 49 of 57 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

62 releases · first in 2019

3 releases in the last 12 months

see the full history below

Release timeline

62 releases · Apr 2019 to May 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 62
  1. 10.0.1 30 May 2026
    Release notes

    May 31, 2026

    • Patch release to trigger pub.dev documentation refresh.
    • Bumps youtube_player_iframe dependency to ^6.0.2.
    Open source →
  2. 10.0.0 30 May 2026
    Release notes

    May 30, 2026

    Breaking Changes

    • Complete rewrite powered by youtube_player_iframe. The underlying engine has switched from flutter_inappwebview to the official YouTube IFrame API via webview_flutter. Most APIs have changed — see the README for the new API.
    • YoutubePlayerBuilder has been removed. Fullscreen is now handled internally by the player.
    • YoutubePlayerController is now re-exported from youtube_player_iframe. Refer to its changelog for the full API surface.
    • Bumps minimum Flutter version to >=3.38.0 / Dart SDK ^3.10.0.

    New Features

    • Adds macOS and Web support.
    • Adds built-in Material-style controls overlay with progress bar, playback speed picker, title bar, and fullscreen button.
    • Adds YoutubePlayerTheme for customizing the default controls (colors, text styles).
    • Adds YoutubePlayerThumbnail widget — shows a thumbnail and only initializes the WebView on tap, ideal for lists.
    Open source →
  3. 9.1.3 06 Oct 2025
    Release notes
    • Bumps dependencies to latest version.
    Open source →
  4. 9.1.2 07 Aug 2025
    Release notes
    • Fixes type error when handling YouTube error codes (error where int was expected as String).
    • Improves error handling for YouTube error codes 150 and 152.
    Open source →
  5. 9.1.1 28 Sep 2024
    Release notes
    • Bumps flutter_inappwebview to latest version.
    Open source →
  6. 9.1.0 24 Sep 2024
    Release notes
    • Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
    • Updates dependencies.
    Open source →
  7. 9.0.4 20 Sep 2024
    Release notes
    • Fixes related to fullscreen toggle.
    Open source →
  8. 9.0.3 13 Aug 2024
    Release notes
    • Fixes issue where loading indicator would always show.
    • Updates the default color of the progress indicator to be primary container color.
    Open source →
  9. 9.0.2 07 Aug 2024
    Release notes
    • Fixes issue with getting error logs even after disposing player.
    Open source →
  10. 9.0.1 12 Apr 2024
    Release notes
    • Fixes issue with fullscreen pop.
    Open source →
  11. 9.0.0 21 Feb 2024
    Release notes
    • Bumps flutter_inappwebview to latest version.
    Open source →
  12. 9.0.0-beta.0 07 Aug 2023 pre-release

    Nothing published for this version

  13. 8.1.2 26 Dec 2022
    Release notes
    • Bumps flutter_inappwebview to latest version.
    • Adds support for extracting video id from YouTube Shorts & Music URL.
    Open source →
  14. 8.1.1 11 Oct 2022
    Release notes
    • Bumps flutter_inappwebview to latest version.
    • Fixed cast error in YouTube error.
    Open source →
  15. 8.1.0 16 May 2022
    Release notes
    • Upgraded minimum flutter version to 3.0.0
    • Upgraded example app
    Open source →
  16. 8.0.0 27 Mar 2021
    Release notes
    • Null Safety Release
    • Added useHybridComposition flag
    Open source →
  17. 7.0.0 31 May 2020
    Release notes
    • (Fixed) random crashes
    • (Fixed) issues with orientation
    • (Improvements) Added automatic fullscreen toggle wrt to orientation change

    BREAKING CHANGE

    • Requires iOS: --ios-language swift, Xcode version >= 11
    • Requires Android: minSdkVersion 17
    • Removed exported WebView widget
    Open source →
  18. 7.0.0+1 31 May 2020
    Release notes
    • (Fixed) random crashes
    • (Fixed) issues with orientation
    • (Improvements) Added automatic fullscreen toggle wrt to orientation change
    • Added YoutubePlayerBuilder
    • (Fixed) progress color being ignored #221

    BREAKING CHANGE

    • Requires iOS: --ios-language swift, Xcode version >= 11
    • Requires Android: minSdkVersion 17
    • Removed exported WebView widget
    Open source →
  19. 7.0.0+2 01 Jun 2020
    Release notes
    • Added onEnterFullScreen & onExitFullScreen callback to YoutubePlayerBuilder.
    • Player switches back to normal mode on system back, if on fullscreen.
    • Added thumbnail parameter to YoutubePlayer, removed thumbnailUrl. Now any widget can be used as thumbnail.
    • Fixed issues with progress colors.
    Open source →
    Release notes
    • Added onEnterFullScreen & onExitFullScreen callback to YoutubePlayerBuilder.
    • Player switches back to normal mode on system back, if on fullscreen.
    • Added thumbnail parameter to YoutubePlayer, removed thumbnailUrl. Now any widget can be used as thumbnail.
    • Fixed issues with progress colors.
    Open source →
  20. 7.0.0+3 02 Jun 2020
    Release notes
    • Fixed onExitFullScreen callback.
    Open source →
  21. 7.0.0+4 22 Jun 2020
    Release notes
    • Updated dependencies. Fixes #262
    • Added clear error description for 101, 105 and 150 error codes.
    Open source →
  22. 7.0.0+5 22 Jun 2020
    Release notes
    • Revert padding on fullscreen.
    Open source →
  23. 7.0.0+6 24 Jun 2020
    Release notes
    • (Improvements) Added support for endAt in load and cue methods as well as startAt and endAt in video initialization.
    • (Fixed) Sticky video watermarks in iOS. Fixes#208
    • (Fixed) Timing and Sizing Issue #249
    Open source →
  24. 7.0.0+7 12 Jul 2020
    Release notes
    • Updated dependencies
    Open source →
  25. 6.1.1 04 May 2020
    Release notes
    • Removed forceHideAnnotation flag
    Open source →
    Release notes
    • Removed forceHideAnnotation.
    Open source →
  26. 6.1.0 21 Feb 2020

    Nothing published for this version

  27. 6.1.0+1 21 Feb 2020

    Nothing published for this version

  28. 6.1.0+2 21 Feb 2020
    Release notes
    • (Fixed) Some videos not playing Issue #119
    • (Improvements) Faster initial video loading time
    • Added forceHD flag
    • Shows buffer indicator until video is playable

    BREAKING CHANGE If you're using webview_flutter alongside, then remove it from dependencies. The package exports webview on its own.

    Open source →
  29. 6.1.0+4 23 Feb 2020

    Nothing published for this version

  30. 6.1.0+6 17 Apr 2020
    Release notes
    • Exports Webview
    Open source →
  31. 6.1.0+7 17 Apr 2020
    Release notes
    • Updated webview_media constraint to >=0.1.2<1.0.0
    Open source →
  32. 6.0.3 16 Nov 2019

    Nothing published for this version

  33. 6.0.3+1 16 Nov 2019
    Release notes
    • Moved videoId, title, author and duration to separate YoutubeMetaData class.
    • (Fixed) Issue with invalid video id being shown while switching to fullscreen. Issue #118
    Open source →
  34. 6.0.3+2 17 Nov 2019
    Release notes
    • (New Feature) Pinch in/out on the player to fit video.
    • (Improvements) Video plays in high definition, if supported.
    Open source →
  35. 6.0.2 15 Nov 2019
    Release notes
    • Added onEnded callback for YoutubePlayer widget. (Fixes #108)
    • Removed isEvaluationReady & isLoaded flags as it had no use anyway.
    • Added controlsVisibleAtStart flag. (Fixes #113)
    Open source →
  36. 6.0.1 11 Nov 2019
    Release notes
    • (New Feature) Added title and author property to YoutubePlayerController.
    • Removed DataConnectionChecker dependency.
    • Removed start and end from flags as it wasn't functioning anyway.
    • (Improvement) Implemented effective dart lints.
    • (Improvement) Changed thumbnails to fetch webp format.
    • (Fixed) Issue with Live UI Issue #115.
    Open source →
  37. 6.0.0 02 Nov 2019
    Release notes
    • (Improvement) Smooth fullscreen toggle and crash fix. Issue #46 & Issue #105
    • (Fixed) Issue #93.
    • (Fixed) PlayerState.ended being call multiple times. Issue #108
    • (Improvement) Exposed controller parameter to all widgets. Issue #109. This comes handy when the widgets are to used outside the context of YoutubePlayer widget.
    • (Improvement) UI and performance optimizations.

    BREAKING CHANGES

    • From now on, YoutubePlayerController is to be passed to the player explicitly. (See the updated readme)
    • Removed context and videoId properties from YoutubePlayer.
    • flags property is moved to YoutubePlayerController from YoutubePlayer. Since flags were only needed for the first time when player initializes.
    • showVideoProgressIndicator property moved to YoutubePlayer.

    5.2.0+1

    • (Fixed) aspect ratio in fullscreen mode.
    • (Fixed) sometimes showing up buffering indicator instead of error.
    Open source →
  38. 5.2.0 24 Oct 2019
    Release notes

    BREAKING CHANGES

    • Renamed videoId property in YoutubePlayer to initialVideoId.
    • From now on changing video id must be done using either load() or cue().
    • (Fixed) Video playing sound only, on videoId change. Issue #99
    • (Improvement) Minor optimizations.
    • Example updated with video list.
    • Added PlayerState.stopped.
    • Added actionsPadding property.
    Open source →
  39. 5.2.0+1 25 Oct 2019

    Nothing published for this version

  40. 5.1.0 23 Oct 2019
    Release notes
    • Renamed TotalDuration widget to RemainingDuration.
    • Renamed PlayButton widget to PlayPauseButton.
    • (Improvement) Better handling of invalid video id.
    • (Improvement) Better video orientation handling.
    • (Improvement) Better play/pause handling w/r/t app lifecycle.
    • (Fixed) Video pausing after jumping to certain position using progress bar.
    • BREAKING Switched back to webview_flutter.
    • Updated dart docs.
    Open source →
  41. 5.0.0 13 Oct 2019

    Nothing published for this version

  42. 5.0.0+1 13 Oct 2019
    Release notes

    BREAKING CHANGES

    • Everything is modular now. See the docs for details.
    • Automatically switches to landscape on fullscreen mode.
    • Added proper display of errors and detects internet connection status.
    • Workarounds for iOS.
    • webview_flutter is swapped with ytview. If you've been using WebView widget, then consider changing import paths to ytview instead.
    • Added flags to enable/disable caption and looping.
    • Added flags to change caption language, start and end time of video.
    Open source →
  43. 4.1.0 13 Aug 2019
    Release notes
    • Feature Added Button to change playback rate in player.
    • Added setPlaybackRate method to YoutubePlayerController. Issue #48
    • (Improvement) Playback behaviour synced with AppLifeCycle Issue #41
    Open source →
  44. 4.0.0 11 Aug 2019

    Nothing published for this version

  45. 4.0.0+1 11 Aug 2019
    Release notes

    BREAKING CHANGES

    • YoutubePLayerScaffold has been removed.
    • Improved Orientations
    • Uses webview_flutter instead of ytview
    Open source →
  46. 4.0.0+2 12 Aug 2019
    Release notes
    • Fix error reports in LiveUI. PR#44
    • Added startAt property.
    Open source →
  47. 3.0.0 23 Jun 2019
    Release notes
    • BREAKING CHANGES See Migrating to 3.x.x for detail.
    • Faster fullscreen toggling.
    • Toggles fullscreen on orientation change. Issue #3.
    • Option to add own custom thumbnail.
    • (Fixed) Video stuck at unknown state Issue #24.
    • Added hideThumbnail and disableDragSeek flags. #27, #29.
    • (Fixed) Fullscreen toggle in iOS.
    • Minor UI improvements here and there.
    Open source →
  48. 3.0.0+1 23 Jun 2019

    Nothing published for this version

  49. 3.0.0-beta.4 09 Jun 2019 pre-release

    Nothing published for this version

  50. 3.0.0-beta.3 09 Jun 2019 pre-release

    Nothing published for this version

  51. 3.0.0-beta.2 09 Jun 2019 pre-release

    Nothing published for this version

  52. 3.0.0-beta.1 08 Jun 2019 pre-release

    Nothing published for this version

  53. 2.0.0 05 Jun 2019
    Release notes
    • (Fixed) iOS playback is fully functional. Issue #2
    • Added forceHideAnnotation property which hides the default YouTube annotation. Read Issue #17 for detail
    • Added option to mute player.
    Open source →
  54. 1.2.0 03 Jun 2019
    Release notes
    • Added actions property, which can be used to add menus in top bar of video. See example for details.
    • Added option to hide fullscreen button.
    • (Fixed) Current position always showing 00:00 Issue #17
    Open source →
  55. 1.1.1 15 May 2019
    Release notes
    • Fix for issue #12.
    • WebView is now exported alongside YoutubePlayer.
    Open source →
  56. 1.1.1+1 15 May 2019
    Release notes
    • Updated dart constraint to >=2.2.0 <3.0.0*.
    • (Fixed) Parsing Exceptions.
    Open source →
  57. 1.1.0 21 Apr 2019
    Release notes
    • Minor Improvements.
    • Built and tested on iOS device.
    • Migrated to AndroidX.
    • Removed warnings on iOS builds.
    Open source →
  58. 1.0.1 12 Apr 2019
    Release notes
    • Fixed Disabled navigation inside the player. This solves the issue where tapping on actions would navigate to different web pages.
    • Removed foreceHD param, in favor of desktopMode. The desktopMode also supports changing quality in fullscreen mode.
    • Added two new methods, hideTopMenu() and hidePauseOverlay(). Visit ReadMe for more detail.
    Open source →
    Release notes
    • (Fixed) Error while building for iOS.
    Open source →
  59. 1.0.1+1 12 Apr 2019
    Release notes
    • Added Travis CI.
    Open source →
  60. 1.0.0 12 Apr 2019
    Release notes
    • Initial Release.
    • Includes Dart Documentation.
    • Includes support for Live Videos.
    • Includes fast forward and rewind feature.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive