swarm_cloud_video_player_hls 0.0.1
swarm_cloud_video_player_hls: ^0.0.1 copied to clipboard
A fork of video_player_web_hls to support hls settings.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add swarm_cloud_video_player_hls
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
swarm_cloud_video_player_hls: ^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:swarm_cloud_video_player_hls/hls.dart';
import 'package:swarm_cloud_video_player_hls/no_script_tag_exception.dart';
import 'package:swarm_cloud_video_player_hls/video_player_web_hls.dart';