better_video_player

Last updated:

0 purchases

better_video_player Image
better_video_player Images
Add to Cart

Description:

better video player

better_video_player #
Advanced video player based on video_player.

Install Started #

Add this to your pubspec.yaml file:

dependencies:
better_video_player: ^1.3.2
copied to clipboard

Install it

$ flutter packages get
copied to clipboard
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,
),
),
)
copied to clipboard
Feature #

✅ placeholder
✅ fullscreen
✅ progress indicator
✅ tip when wifi interrupted
✅ auto play when resume
✅ null safety

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.