universal_video_controls 1.0.14 universal_video_controls: ^1.0.14 copied to clipboard
Video player controls for all platforms based on media_kit controls but with abstraction to allow any other player to work using it (video_player is supported)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add universal_video_controls
With Flutter:
$ flutter pub add universal_video_controls
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
universal_video_controls: ^1.0.14
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:universal_video_controls/universal_video_controls.dart';