chewie 1.15.0 copy "chewie: ^1.15.0" to clipboard
chewie: ^1.15.0 copied to clipboard

A video player for Flutter with Cupertino and Material play controls

1.15.0 #

  • 🌐 #946: Web: enter the browser's native (OS-level) fullscreen via the Fullscreen API instead of only expanding the Flutter view inside the browser window. Pressing Escape to leave browser fullscreen also exits Chewie's fullscreen. Controlled by the new ChewieController.useNativeFullScreenOnWeb flag (defaults to true; no effect on non-web platforms). Thanks Ortes.
  • 🖱️ #950: Show click cursor on hover over Material controls and progress bar. Thanks Ortes.
  • 💬 #958: Render inline markup in subtitle cue text. Thanks Ortes.
  • ⬆️ #960: Flutter 3.44 upgrade and CI improvements. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Flutter and Dart versions 3.41.0 and 3.11 or higher respectively.

1.14.1 #

  • 🛠️ #945: Flutter 3.38 downgrade. Thanks diegotori.
  • Library now supports Flutter and Dart versions 3.38.0 and 3.10 or higher respectively, restoring previous compatibility.

1.14.0 #

  • 🛠️ #944: Flutter 3.41 Upgrade. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Flutter version 3.41.0 or higher due to wakelock_plus's upgrade to version 1.6.0, which now requires this minimum Flutter version.

1.13.1 #

  • 🛠️ #940: fix: add mounted check in _startHideTimer to prevent setState after dispose. Thanks Cleparr.

1.13.0 #

  • 🛠️ #927: Fix(web): Keep playback when entering/exiting fullscreen on web. Thanks victorspringer.
  • BREAKING CHANGE: Library now requires at least Flutter version 3.32.0 or higher.

1.12.1 #

  • 🛠️ #920: Fix zoomAndPan not having an effect. Thanks abalmagd.

1.12.0 #

  • 🛠️ #923: Flutter 3.29 minimum version. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Flutter version 3.29.0 or higher.

1.11.3 #

  • 🛠️ #917: Resolve issue where 'subtitleOn' doesn't enable subtitles by default on iOS. Thanks alideep5.

1.11.2 #

  • 🛠️ #912: Add workaround for invalid buffering info on android. Thanks timoxd7.

1.11.1 #

  • ⬆️ #875: Add background tap to pause video feature. Thanks Ortes.
  • 🛠️ #896: Fixed allowMute being ignored on Desktop. Thanks mpoimer.
  • 🛠️ #910: Fix example on web. Thanks Ortes.

1.11.0 #

  • ⬆️ #900: Flutter 3.29 upgrade. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Flutter version 3.27.0, for real this time.

1.10.0 #

  • 🛠️ #871: Fixed pop the wrong page when changing the speed. Thanks akmalova.
  • BREAKING CHANGES:
    • OptionItem.onTap now takes in a BuildContext.
    • OptionItem's properties are now marked as final. Use copyWith to mutate its properties into a new instance.

1.9.2 #

  • Fixed broken Table of Contents links in README.md, take two.

1.9.1+1 #

  • Fixed broken Table of Contents links in README.md.

1.9.1 #

  • #872: feat: Add showSubtitles flag to control subtitles (#648). Thanks floodoo.
  • #890: Fix issue 888. Thanks diegotori.
  • IMPORTANT: Relaxed the minimum supported Flutter version to 3.24. From now on, this library will make a best effort to support the latest N-1 Flutter version at the minimum.

1.9.0 #

  • BREAKING CHANGE: Library now requires at least Flutter version 3.27.0.

1.8.7 #

  • ⬆️ #876: Add keyboard controls seek forward and backward and fullscreen escape on desktop. Thanks Ortes.

1.8.6 #

  • ⬆️ #874: Add devtools_options.yaml configuration files. Thanks MoRmdn.

1.8.5 #

  • ⬆️ #703: Adding Seek buttons for Android. Thanks GyanendroKh.
  • Upgraded wakelock_plus to version 1.2.8, which uses web version 1.0.0. Thanks diegotori.

1.8.4 #

1.8.3 #

  • 🛠️ #828: Fix the logic of the Center Play Button icon selection. Thanks EmreDET.

1.8.2 #

1.8.1 #

  • ⬆️ #825: Upgraded wakelock_plus to version 1.2.2. Thanks diegotori.

1.8.0 #

  • 🛠️ #814: Refactor VideoPlayerController initialization to adhere to video_player ^2.8.2 guidelines. Thanks ishworpanta10.
  • 🛠️ #815: Fix the Safe area conflict for material controls in Android. Thanks MadGeorge.
  • 🛠️ #821: Upgrade chewie's dependency package. Thanks ycv005.
  • 🛠️ #824: Flutter 3.19 enforcement. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Flutter and Dart versions 3.19.0 and 3.3 respectively.

1.7.5 #

  • 🛠️ #810: Fixed : Web full screen issue (#790 #688). Thanks ToddZeil.
  • 🛠️ #802: Update chewie_player.dart. Thanks B0yma.

1.7.4 #

  • 🛠️ #774: Fixed : Playback speed reset on forwarding video. Thanks Kronos-2701.

1.7.3 #

  • 🛠️ #777: fix display size while Chewie wrapped by some rotate widget. Thanks bailyzheng.

1.7.2 #

1.7.1 #

1.7.0 #

  • 🛠️ #754: Upgraded wakelock_plus to version 1.1.0. Thanks diegotori.
  • BREAKING CHANGE: Library now requires at least Dart and Flutter versions 2.18 and 3.3.0 respectively.

1.6.0+1 #

  • Added Flutter Community Banner to README.md. Thanks diegotori.

1.6.0 #

  • #747: Migrated from wakelock to wakelock_plus. Thanks diegotori.
  • Also upgrades video_player from 2.4.7 to 2.7.0.
  • IMPORTANT: Library now requires Flutter, version 2.11.0 or higher.

1.5.0 #

  • 🛠️ #712: Progress Bars can now be disabled by setting ChewieController.draggableProgressBar to false. Thanks shiyiya.
  • ⬆️ Increased Dart SDK constraint to cover Dart 3.0.0 and higher.

1.4.1 #

1.4.0 #

  • 🛠️ #701: Added Dart Analysis fixes due to Flutter 3.7. Thanks diegotori.

1.3.6 #

  • 🛠️ #681: Flutter 3.3 lint fixes. Thanks diegotori.

  • ⬆️ #676: Allow Chewie controls to be positioned to allow for a larger safe area. Thanks jweidner-mbible.

1.3.5 #

  • ⬆️ #669: Fix for CenterPlayButton UI bug when using Material 3. Thanks luis901101.
  • ⬆️ #658: Add transformationController to Interactive Viewer. Thanks Geevies.
  • ⬆️ update video_player to 2.4.7
  • ⬆️ update wakelock to 0.6.2
  • 🛠️ Fixed new linting issues
  • 💡 Library is now using flutter_lints for all of its linting needs.

1.3.4 #

  • ⬆️ #646: Fix to videos recorded with an orientation of 180° ( landscapeRight) being reversed on Android. Thanks williamviktorsson.
  • ⬆️ #623: [Android] Add a delay before displaying progress indicator. Thanks henri2h.

1.3.3 #

  • ⬆️ #634: chore: Move very_good_analysis to dev_dependencies. Thanks JCQuintas.

1.3.2 #

  • ⬆️ #626: Added customizable timer to hide controls. Thanks BuginRug.

1.3.1 #

  • ⬆️ #617: Allow video zooming with InteractiveViewer widget. Thanks jmsanc.

1.3.0 #

  • ⬆️ #598: Update wakelock to ^0.6.1+1. Thanks fehernyul.

  • ⬆️ #599: Uniform controls. Thanks BuginRug.

    Slight Breaking Change. Instead of:

    typedef ChewieRoutePageBuilder = Widget Function(
    	  BuildContext context,
    	  Animation<double> animation,
        Animation<double> secondaryAnimation,
        _ChewieControllerProvider controllerProvider,
    );
    

    It is now:

    typedef ChewieRoutePageBuilder = Widget Function(
    	  BuildContext context,
    	  Animation<double> animation,
        Animation<double> secondaryAnimation,
        ChewieControllerProvider controllerProvider,
    );
    

    TL;DR: We had to make _ChewieControllerProvider public.

  • 🛠️ Fixed lint and formatting problems

  • Under New Management under the auspices of Flutter Community, and new maintainers diegotori and maherjaafar.

1.2.3 #

  • ⬆️ Update 'provider' to 6.0.1
  • ⬆️ Update 'video_player' to 2.2.7
  • ⬆️ Update 'wakelock' to 0.5.6
  • ⬆️ Update 'lint' to 1.7.2
  • ⬆️ Update roadmap
  • 🛠️ Fix lint problems
  • 💡 Add very_good_analysis package
  • 💡 Add analysis_options.yaml for example app

1.2.2 #

  • 🛠️ Fix Incorrect use of ParentDataWidget.

1.2.1 #

  • 💡 add showOptions flag to show/hide the options-menu
  • ⬆️ update video_player to 2.1.5
  • 🛠️ fix MaterialUI duration text (RichText)

1.2.0 #

  • 🖥 Desktop-UI: Added AdaptiveControls where MaterialDesktopControls is now the default for Desktop-Platforms (start ChewieDemo for a preview)
  • Redesign MaterialControls (inspired by Youtube Mobile and Desktop)
  • Fix squeeze of CenterPlayButton
  • Add: optionsTranslation, additionalOptions and optionsBuilder to create and design your Video-Options like Playback speed, subtitles and other options you want to add (use here: additionalOptions!). Use optionsTranslation to provide your localized strings!

See Options to customize your Chewie options

1.1.0 #

  • Add subtitle functionality
    • Thanks to kirill09: #188 with which we've improved and optimized subtitles

See readme on how to create subtitles and provide your own subtitleBuilder: Subtitles

1.0.0 #

  • Migrate to Null Safety
    • Thanks to miDeb: #406

0.12.1+1 #

  • Lint: Format to line length 80 for pub score

0.12.2 #

0.12.1 #

  • Fix: Duration called on null for cupertino controls
  • Bump required Flutter version 1.20 -> 1.22
  • Export controls in chewie.dart.
  • Add lint linter
  • Add CI to analyze and check format

0.12.0 #

  • Add replay feature
  • Add Animated Play/Pause Button

0.11.0 #

  • Add playback speed controls:
  • Correct dependencies:

0.10.4 #

  • Update Android example to latest support
  • Update Dart SDK
  • Update Flutter SDK
  • Update wakelock dependency

0.10.3+1 #

  • Format using dartfmt -w . for pub.dev

0.10.3 #

  • Bugfix: only setState if widget is mounted (cupertino + material)

0.10.2 #

  • Replace open_iconic_flutter with cupertino_icons to resolve Apple App-Store rejection (ITMS-90853)

0.10.1 #

  • Update video_player dependecy (stable release)

0.10.0 #

  • Fix portrait mode
  • Add auto-detect orientation based on video aspect-ratio
  • Add optional parameters for onEnterFullScreen
  • Support iOS 14 with SafeArea in FullScreen

0.9.10 #

  • Remove isInitialRoute from full screen page route

0.9.9 #

  • Changed wakelock plugin from flutter_screen to wakelock due to lack of maintenance of flutter_screen.

0.9.8+1 #

  • Require latest flutter stable version

0.9.8 #

  • Hero Widget is no longer used (thanks @localpcguy)
  • Tap to hide controls (thanks @bostrot)
  • Replay on play when video is finished (thanks @VictorUvarov)

0.9.7 #

  • Errors are properly handled. You can provide the Widget to display when an error occurs by providing an errorBuilder function to the ChewieController constructor.
  • Add ability to override the fullscreen page builder. Allows folks to customize that functionality!

0.9.6 #

  • Update to work with video_player: ">=0.7.0 <0.11.0"

0.9.5 #

  • Cosmetic change -> remove unfinished fit property which slipped into the last release

0.9.4 #

  • Add overlay option to place a widget between the video and the controls
  • Update to work with video_player: ">=0.7.0 <0.10.0"

0.9.3 #

  • Absorb pointer when controls are hidden

0.9.2 #

  • Add options to define system overlays after exiting full screen
  • Add option to hide mute button

0.9.1 #

  • Add option to hide full screen button

0.9.0 #

  • Breaking changes: Add a ChewieController to make customizations and control from outside of the player easier. Refer to the README for details on how to upgrade from previous versions.

0.8.0 #

  • Update to work with video_player: ">=0.7.0 <0.8.0 - Thanks @Sub6Resources
  • Preserves AspectRatio on FullScreen - Thanks @patrickb
  • Ability to start video in FullScreen - Thanks @miguelpruivo

0.7.0 #

  • Requires Dart 2
  • Updated dependencies that were not Dart 2 compatible

0.6.1 #

  • Fix time formatting
  • Fix skipping
  • Remove listener when disposed
  • Start video at certain position

0.6.0 #

  • Update to work with video_player: ">=0.6.0 <0.7.0

0.5.1 #

  • Update README to fix installation instructions

0.5.0 #

  • Update to work with video_player: ">=0.5.0 <0.6.0

0.3.0 #

  • Update to work with video_player: ">=0.2.0 <0.3.0
  • Add showControls option. You can use this to show / hide the controls
  • Move from VideoProgressColors to ChewieProgressColors for customization of the Chewie progress controls
  • Remove progressColors in favor of platform-specific customizations: cupertinoProgressColors and materialProgressColors to control
  • Add analysis options

0.2.0 #

  • Take a controller instead of a String uri. Allows for better control of playback outside the player if need be.

0.1.1 #

  • Fix images in docs for pub

0.1.0 #

Initial version of Chewie, the video player with a heart of gold.

  • Hand a VideoPlayerController to Chewie, and let it do the rest.
  • Includes Material Player Controls
  • Includes Cupertino Player Controls
  • Spike version: Focus on good looking UI. Internal code is sloppy, needs a refactor and tests
2.35k
likes
150
points
752k
downloads

Documentation

API reference

Publisher

verified publisherfluttercommunity.dev

Weekly Downloads

A video player for Flutter with Cupertino and Material play controls

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_icons, flutter, provider, video_player, wakelock_plus, web

More

Packages that depend on chewie