Add web dependency (#209)

* Add web dependency

* Update CHANGELOG.md

* Update README.md
This commit is contained in:
creativecreatorormaybenot 2020-10-15 10:09:04 +00:00 committed by GitHub
parent 037795674f
commit 169715c720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 14 deletions

View File

@ -1,3 +1,7 @@
## 0.5.4+1
* Add web dependency.
## 0.5.4 ## 0.5.4
* Use audio_session 0.0.9. * Use audio_session 0.0.9.

View File

@ -232,19 +232,6 @@ If you wish to connect to non-HTTPS URLS, add the following to your `Info.plist`
</dict> </dict>
``` ```
### Web
Add the package [just_audio_web](https://github.com/ryanheise/just_audio/tree/master/just_audio_web) to the `dependencies` of your `pubspec.yaml` in addition to just_audio:
```yaml
...
dependencies:
...
just_audio: ...
just_audio_web: ...
...
```
## Related plugins ## Related plugins
* [audio_service](https://pub.dev/packages/audio_service): play any audio in the background and control playback from the lock screen, Android notifications, the iOS Control Center, and headset buttons. * [audio_service](https://pub.dev/packages/audio_service): play any audio in the background and control playback from the lock screen, Android notifications, the iOS Control Center, and headset buttons.

View File

@ -1,6 +1,6 @@
name: just_audio name: just_audio
description: Flutter plugin to play audio from streams, files, assets, DASH/HLS streams and playlists. Works with audio_service to play audio in the background. description: Flutter plugin to play audio from streams, files, assets, DASH/HLS streams and playlists. Works with audio_service to play audio in the background.
version: 0.5.4 version: 0.5.4+1
homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio
environment: environment:
@ -9,6 +9,7 @@ environment:
dependencies: dependencies:
just_audio_platform_interface: ^1.1.0 just_audio_platform_interface: ^1.1.0
just_audio_web: ^0.1.0
audio_session: ^0.0.9 audio_session: ^0.0.9
rxdart: ^0.24.1 rxdart: ^0.24.1
path: ^1.6.4 path: ^1.6.4