better_video_player 1.4.0 copy "better_video_player: ^1.4.0" to clipboard
better_video_player: ^1.4.0 copied to clipboard

Advanced video player based on video_player.

better_video_player #

Advanced video player based on video_player.

Install Started #

  1. Add this to your pubspec.yaml file:
dependencies:
  better_video_player: ^1.4.0
  1. Install it
$ flutter packages get

Normal usage #

AspectRatio(
  aspectRatio: 16.0 / 9.0,
  child: BetterVideoPlayer(
    controller: BetterVideoPlayerController.configuration(
      BetterVideoPlayerConfiguration(
        placeholder: CachedNetworkImage(
          imageUrl: kVideoThumbnail,
          fit: BoxFit.cover,
        ),
      ),
    ),
    dataSource: BetterVideoPlayerDataSource(
      BetterVideoPlayerDataSourceType.network,
      kVideoUrl,
    ),
  ),
)

Feature #

  • ✅ placeholder
  • ✅ fullscreen
  • ✅ progress indicator
  • ✅ tip when wifi interrupted
  • ✅ auto play when resume
  • ✅ null safety
10
likes
140
points
209
downloads

Publisher

unverified uploader

Weekly Downloads

Advanced video player based on video_player.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

connectivity, cupertino_icons, flutter, provider, video_player, visibility_detector, wakelock_plus

More

Packages that depend on better_video_player