Skip to content

This is an intuitive video player with precache support for FastAd. It reduces the boilerplate code required to use a video player.

Notifications You must be signed in to change notification settings

FastAd-Market/fastvideoplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastvideoplayer

This is the official intuitive video player with cache support for FastAd. It reduces the boilerplate code required to use a video player.

To use fast video player,

  1. create an instance of FastVideoPlayerController.
 final controller = FastVideoPlayerController.asset('assets/videos/file_example_MP4_480_1_5MG.mp4');
  1. Add the FastVideoPlayer widget
 FastVideoPlayer(
      autoPlay: false,
      fit: BoxFit.cover,
      autoDispose: true,
      controller: controller,
      placeholder: (progress) {
        return Center(
          child: CircularProgressIndicator.adaptive(
            backgroundColor: Colors.white12,
            value: progress,
          ),
        );
      },
    );

About

This is an intuitive video player with precache support for FastAd. It reduces the boilerplate code required to use a video player.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published