hm_video_player 0.7.0
hm_video_player: ^0.7.0 copied to clipboard
跨平台视频播放器插件,支持全屏、画中画、投屏、倍速等功能。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hm_video_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
hm_video_player: ^0.7.0Alternatively, 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:hm_video_player/hm_video_player.dart';