Home > OS >  Video player in Flutter with own methods to play, pause etc
Video player in Flutter with own methods to play, pause etc

Time:01-17

I need to add the video player to my Flutter app. Is there a way to display video but use my own methods to play, pause and stop presenting the video? Now I'm using video_player dart package and when I'm calling my methods it doesn't work, the video reacts only on methods called on controller from package.

I need something to display the video only(widget?) and be able to manage it by myself. Is it possible?

CodePudding user response:

Hi You need to use chewie its based on The video_player plugin and provides low-level access to video playback. here:- https://pub.dev/packages/chewie

CodePudding user response:

You can use _ControlsOverlay or create your custom controller widget using stack for any video player.

  • Related