You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-13Lines changed: 48 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,53 @@
8
8
9
9
The video player for Flutter with a heart of gold.
10
10
11
-
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!
11
+
The [`video_player`](https://pub.dartlang.org/packages/video_player) plugin provides low-level
12
+
access to video playback.
12
13
13
-
## Preview
14
+
Chewie uses the `video_player` under the hood and wraps it in a friendly Material or Cupertino UI!
Use the `subtitleBuilder` function to customize how subtitles are rendered, allowing you to modify text styles, add padding, or apply other customizations to your subtitles.
197
232
198
-
## Example
233
+
## 🧪 Example
199
234
200
235
Please run the app in the [`example/`](https://github.com/brianegan/chewie/tree/master/example) folder to start playing!
201
236
202
-
## Migrating from Chewie < 0.9.0
237
+
## ⏪ Migrating from Chewie < 0.9.0
203
238
204
239
Instead of passing the `VideoPlayerController` and your options to the `Chewie` widget you now pass them to the `ChewieController` and pass that later to the `Chewie` widget.
The video_player plugin used by chewie will only work in iOS simulators if you are on flutter 1.26.0 or above. You may need to switch to the beta channel `flutter channel beta`
257
292
Please refer to this [issue](https://github.com/flutter/flutter/issues/14647).
0 commit comments