flutter_hls_audio_player_web 0.0.1 flutter_hls_audio_player_web: ^0.0.1 copied to clipboard
This plugin streams audio from hls url works on both iOS and Android.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_hls_audio_player_web
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_hls_audio_player_web: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_hls_audio_player_web/flutter_hls_audio_player_web.dart';