youtube_player_flutter

A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.

BSD-3-CLAUSE License

Stars
699
Committers
37

Bot releases are hidden (Show)

youtube_player_flutter - youtube_player_iframe v3.0.3 Latest Release

Published by sarbagyastha about 2 years ago

  • Fixed issues related to Fullscreen.
  • Added onInit & onFullscreenChange callbacks to YoutubePlayerController.
  • Added Migrating to v3 section in the docs.
  • Listed Swipe up/down to enter/exit fullscreen mode as a feature in the docs.
  • Deprecated autoPlay param in YoutubePlayerParams, as it's no longer used.
  • Removed hasPlayed, position & buffered from YoutubePlayerValue, as these values can be accessed through YoutubePlayerController.
youtube_player_flutter - youtube_player_iframe v1.0.1

Published by sarbagyastha over 4 years ago

  • 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.
youtube_player_flutter - youtube_player_iframe v1.0.0+4

Published by sarbagyastha over 4 years ago

Initial release of youtube_player_iframe

youtube_player_flutter - Version 7.0.0

Published by sarbagyastha over 4 years ago

youtube_player_flutter - Version 6.1.1

Published by sarbagyastha over 4 years ago

  • Removed forceHideAnnotation flag
youtube_player_flutter - Version 6.1.0

Published by sarbagyastha over 4 years ago

  • (Fixed) Some videos not playing Issue #119
  • (Improvements) Faster initial video loading time
  • Added forceHD flag
  • Shows buffer indicator until video is playable
youtube_player_flutter - Version 6.0.3+2

Published by sarbagyastha almost 5 years ago

  • (New Feature) Pinch in/out on the player to fit video.
  • (Improvements) Video plays in high definition, if supported.
youtube_player_flutter - Version 6.0.3+1

Published by sarbagyastha almost 5 years ago

  • Moved videoId, title, author and duration to separate YoutubeMetaData class.
  • (Fixed) Issue with invalid video id being shown while switching to fullscreen. Issue #118
youtube_player_flutter - Version 6.0.2

Published by sarbagyastha almost 5 years ago

  • Added onEnded callback for YoutubePlayer widget. (Fixes #108)
  • Removed isEvaluationReady & isLoaded flags as it had no use anyway.
  • Added controlsVisibleAtStart flag. (Fixes #113)
youtube_player_flutter - Version 6.0.1

Published by sarbagyastha almost 5 years ago

  • (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.
youtube_player_flutter - Version 6.0.0

Published by sarbagyastha almost 5 years ago

  • (Improvement) Smooth fullscreen toggle and crash fix. #46 & #105
  • (Fixed) #93 .
  • (Fixed) PlayerState.ended being call multiple times. #108
  • (Improvement) Exposed controller parameter to all widgets. This comes handy when the widgets are to used outside the context of YoutubePlayer widget. #109
  • (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.
youtube_player_flutter - Version 5.2.0+1

Published by sarbagyastha almost 5 years ago

5.2.0+1

  • FIXED aspect ratio in full screen mode.
  • FIXED sometimes showing up buffering indicator instead of error.
youtube_player_flutter - Version 5.2.0

Published by sarbagyastha almost 5 years ago

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.
  • PlayerState.ended now calls only once. Added PlayerState.stopped.
  • Added actionsPadding property.
youtube_player_flutter - Version 5.1.0

Published by sarbagyastha almost 5 years ago

  • Renamed TotalDuration widget to RemainingDuration.
  • Renamed PlayButton widget to PlayPauseButton.
  • Improvment Better handling of invalid video id.
  • Improvment Better video orientation handling.
  • Improvment 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.
youtube_player_flutter - Version 3.0-beta.4

Published by sarbagyastha almost 5 years ago

  • Fixed APK link in readme badges.
youtube_player_flutter - Version 3.0-beta.3

Published by sarbagyastha almost 5 years ago

  • APK Updated
youtube_player_flutter - Version 3.0-beta.2

Published by sarbagyastha almost 5 years ago

  • Better full screen orientation change logic.
youtube_player_flutter - Version 3.0-beta.1

Published by sarbagyastha almost 5 years ago

  • Faster fullscreen toggling.
  • Toggles fullscreen on orientation change.
  • Option to add own custom thumbnail.
youtube_player_flutter - Version 5.0.0+1

Published by sarbagyastha almost 5 years ago

  • Minor changes
youtube_player_flutter - Version 5.0.0

Published by sarbagyastha almost 5 years ago

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.
Package Rankings
Top 1.4% on Pub.dev
Related Projects