better_native_video_player 0.4.2
better_native_video_player: ^0.4.2 copied to clipboard
Native video player using AVPlayerViewController (iOS) and ExoPlayer (Android) with HLS, Picture-in-Picture, AirPlay, and fullscreen support.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add better_native_video_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
better_native_video_player: ^0.4.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:better_native_video_player/better_native_video_player.dart';