Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,18 @@ final player = CachedVideoPlayerPlus.networkUrl(
);
```

### WASM Support ✨

Flutter's WebAssembly (WASM) compilation is now supported! To use WASM compilation, you'll need to override the `get_storage` dependency since the original doesn't support WASM _(because some packages are like that one friend who refuses to upgrade their phone)_:

```yaml
dependency_overrides:
get_storage:
git:
url: https://github.com/OutdatedGuy/get_storage.git
ref: rewrite
```

## 🎯 Advanced Features

### Pre-caching Videos
Expand Down
15 changes: 8 additions & 7 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,18 @@ packages:
dependency: transitive
description:
name: get
sha256: c79eeb4339f1f3deffd9ec912f8a923834bec55f7b49c9e882b8fef2c139d425
sha256: b3294002946e99314c341bff0b4f3094e631a1f8cf37785e93aa7c2f04b0768e
url: "https://pub.dev"
source: hosted
version: "4.7.2"
version: "5.0.0-release-candidate-9.3.2"
get_storage:
dependency: transitive
dependency: "direct overridden"
description:
name: get_storage
sha256: "39db1fffe779d0c22b3a744376e86febe4ade43bf65e06eab5af707dc84185a2"
url: "https://pub.dev"
source: hosted
path: "."
ref: rewrite
resolved-ref: "383486fff78ea6151924480d9f8b24377f63788e"
url: "https://github.com/OutdatedGuy/get_storage.git"
source: git
version: "2.1.1"
html:
dependency: transitive
Expand Down
4 changes: 4 additions & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ dependency_overrides:
url: https://github.com/Baseflow/flutter_cache_manager.git
path: flutter_cache_manager
ref: 54904e499a06d0364a2b3f4ca9789e5f829f1879
get_storage:
git:
url: https://github.com/OutdatedGuy/get_storage.git
ref: rewrite

dev_dependencies:
# The "flutter_lints" package below contains a set of recommended lints to
Expand Down