youtube_player_iframe 5.2.2
youtube_player_iframe: ^5.2.2 copied to clipboard
Flutter port of the official YouTube iFrame player API. Supports web & mobile platforms.
Changelog #
5.2.2 #
Aug 7, 2025
- Bumps dependency to latest version.
5.2.1 #
Nov 16, 2024
- Bumps dependency to latest version.
5.2.0 #
Sep 23, 2024
- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
- Bumps dependency to latest version.
5.1.5 #
Aug 13, 2024
- Updates readme
- Improves pub score
5.1.4 #
Aug 3, 2024
- Bumps dependency to latest version.
- Fixes issue where only one of player would initialize at a time in web.
5.1.3 #
Jul 1, 2024
- Bumps dependency to latest version.
5.1.2 #
Apr 12, 2024
- Bumps dependency to latest version.
- Updates minimum supported SDK version to Flutter 3.19.0/Dart 3.3.0.
5.1.1 #
Feb 21, 2024
- Improves pub score.
5.1.0 #
Feb 21, 2024
- Bumps dependency to latest version.
5.0.0 #
Dec 20, 2023
- Bumps dependency to latest version.
- Adds support for wasm.
- Bumps flutter version to
>=3.18.0-0. - Fixes issue using
WebViewWidgetfromwebview_flutterpackage, together with the package.
4.0.4 #
Jan 29, 2023
- Fixed platform listing in pub.flutter-io.cn
4.0.3 #
Jan 29, 2023
- Endorse
youtube_player_iframe_webas default web implementation package.
4.0.2 #
Jan 27, 2023
- Upgraded dependencies.
- Fixed issue with
YoutubePlayerController.close. - Exposed
YoutubePlayerValue.
4.0.1 #
Dec 26, 2022
- Fixed video playback issue in web release.
4.0.0 #
Dec 25, 2022
Breaking Change
- Fixed video playback issues in web for some videos.
- Deprecated params in v3 has been removed.
- Deprecated
YoutubePlayerIFramehas been removed. YoutubePlayer.controlleris now required.YoutubePlayerController.onInithas been removed. As unlike before, the controller is available as soon as it's created.YoutubePlayerController.getCurrentPositionStreamhas been deprecated in favor ofYoutubePlayerController.videoStateStream.YoutubePlayerController.onFullscreenChangehas been deprecated in favor ofYoutubePlayerController.setFullScreenListener.- Added support for specifying
YoutubePlayerParams.pointerEvents. Thanks to @keithcwk. - Added [FullscreenYoutubePlayer].
- Upgraded dependencies.
3.1.0 #
Sep 15, 2022
- Fixed issues with example app
- Fixed
strictRelatedVideosflag working incorrectly. Thanks to @ChisatoMatsuzaki. - Deprecated
startAt&endAtfrom YoutubePlayerParams. - Removed
volumefrom YoutubePlayerValue as it's no longer used.
3.0.4 #
Aug 21, 2022
- Fixed video not loading on non-web platform when controls were disabled
- Added
YoutubePlayerController.fromVideoId. - Added
enableFullScreenOnVerticalDragproperty to YoutubePlayer. - Fixed issue with
videoUrlgetter. - Added video list and manual fullscreen examples.
- Added
getCurrentPositionStreamto YoutubePlayerController. - Deprecated
YoutubePlayerIFramein favor ofYoutubePlayer. - Deprecated
autoPlayparam in YoutubePlayerParams, as it's no longer used.
3.0.3 #
Aug 14, 2022
- Fixed issues related to Fullscreen.
- Added
onInit&onFullscreenChangecallbacks to YoutubePlayerController. - Added Migrating to v3 section in the docs.
- Listed
Swipe up/down to enter/exit fullscreen modeas a feature in the docs. - Deprecated
autoPlayparam in YoutubePlayerParams, as it's no longer used. - Removed
hasPlayed,position&bufferedfrom YoutubePlayerValue, as these values can be accessed through YoutubePlayerController.
3.0.2 #
Aug 12, 2022
- Improved pub score.
3.0.1 #
Aug 12, 2022
- Fixed the supported platform in pub.flutter-io.cn
3.0.0 #
Aug 12, 2022
Breaking Change
- Switched to
webview_flutter. - Better web support.
- APIs are now identical to that of Youtube Player Iframe API.
- Exposed all the supported iFrame APIs.
- Fixed issue with videos not playing on Android.
- Added support for FullScreen gestures like on Youtube Mobile App.
- Added support for YouTube Shorts URL.
- Added
YoutubePlayerScaffoldto better handle the fullscreen mode.
2.3.0 #
May 16, 2022
- Upgraded minimum flutter version to
3.0.0 - Upgraded example app
2.2.1 #
- Removed
YoutubePlayerController.setWebDebuggingInAndroid
2.2.0 #
Contains Breaking Changes
- Fixed issue iOS redirection issue
YoutubePlayerControlleris no more Stream.- Added
YoutubePlayerController.setWebDebuggingInAndroid - Added
buildWhento YoutubeValueBuilder - Fixed issue where metadata weren't updated correctly
- Fixed
desktopModeflag.
2.1.0 #
- Updated dependencies to latest version.
2.0.0 #
- Migrated to null safety
- Added
useHybridCompositionparam. - Updated dependencies to latest version.
1.2.0+2 #
- Added
YoutubePlayerParams.privacyEnhancedflag. - Exposed
gestureRecognizersthroughYoutubePlayerIFramewidget. - Handled internal links correctly. Tapping on video suggestion will now play it and all the buttons are enabled.
- Flutter
>=1.22.0 <2.0.0is required.
1.1.0 #
1.0.1 #
- Fixed Disabled navigation inside the player. This solves the issue where tapping on actions would navigate to different web pages.
- Removed
foreceHDparam, in favor ofdesktopMode. ThedesktopModealso supports changing quality in fullscreen mode. - Added two new methods,
hideTopMenu()andhidePauseOverlay(). Visit ReadMe for more detail.
1.0.0+4 #
- Minor improvements
1.0.0+3 #
- Minor Fixes
1.0.0 #
- Initial Release
