adaptive_video_player 1.0.2
adaptive_video_player: ^1.0.2 copied to clipboard
A Flutter video player package that seamlessly handles both YouTube videos and direct video URLs with adaptive player selection. Supports Android, iOS, Windows, and Web.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add adaptive_video_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
adaptive_video_player: ^1.0.2Alternatively, 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:adaptive_video_player/adaptive_video_player.dart';