Skip to content

Commit

Permalink
add new previews
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebar Ahmad committed May 28, 2021
1 parent 92df459 commit 358bed3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ The video player for Flutter with a heart of gold.

The [`video_player`](https://pub.dartlang.org/packages/video_player) plugin provides low-level access to video playback. Chewie uses the `video_player` under the hood and wraps it in a friendly Material or Cupertino UI!

## Demo
## Preview

![Demo](https://github.com/brianegan/chewie/raw/master/assets/chewie_demo.gif)
### MaterialControls
![](https://github.com/brianegan/chewie/raw/master/assets/MaterialControls.png)

### MaterialDesktopControls
![](https://github.com/brianegan/chewie/raw/master/assets/MaterialDesktopControls.png)

### CupertinoControls
![](https://github.com/brianegan/chewie/raw/master/assets/CupertinoControls.png)

## Installation

Expand Down Expand Up @@ -53,6 +60,8 @@ void dispose() {

## Options

![](https://github.com/brianegan/chewie/raw/master/assets/Options.png)

Chewie got some options which controls the video you provide. These options appear on default on a `showModalBottomSheet` (like you already know from YT maybe). Chewie is passing on default `Playback speed` and `Subtitles` options as an `OptionItem`.

To add additional options just add these lines to your `ChewieController`:
Expand Down
Binary file added assets/CupertinoControls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/MaterialControls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/MaterialDesktopControls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 358bed3

Please sign in to comment.