any_video_player 0.0.5 copy "any_video_player: ^0.0.5" to clipboard
any_video_player: ^0.0.5 copied to clipboard

The video_player plugin gives low level access for the video playback. Advanced video player based on video_player.

any_video_player #

Pub support

The video_player plugin gives low level access for the video playback. Advanced video player based on video_player.

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  any_video_player: <latest_version>

Features #

  • support video player event.
  • When the video width is larger than the screen width, the bottom progress bar is automatically aligned to the height of the video after scaling.

Usage #

AnyVideoPlayerController anyVideoPlayerController = AnyVideoPlayerController(
            dataSource: VideoPlayerDataSource.network('https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4'),
            controlsConf: ControlsConfiguration(paddingBottom: 10))

final playerWidget = AnyVideoPlayer(
  controller: anyVideoPlayerController,
);

Please make sure to dispose both controller widgets after use. For example by overriding the dispose method of the a StatefulWidget:

@override
void dispose() {
  anyVideoPlayerController.dispose();
  super.dispose();
}
0
likes
0
pub points
55%
popularity

Publisher

unverified uploader

The video_player plugin gives low level access for the video playback. Advanced video player based on video_player.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, video_player

More

Packages that depend on any_video_player