I was making a video player in Android with flutter. I am using 'flutter_ijkplayer' for video playback. https://github.com/CaiJingLong/flutter_ijkplayer
My problem is every time i set 'setFileDataSource' and play it shows a black screen before playing the video.I may be a blank screen showing before loading a video.I want to remove this black screen and play video without any blackout.
Here in the screen record, I am calling below code on the play button click.That means same video loading again and again.
controller.ijkMediaController.setFileDataSource(File(controller.videoPath), autoPlay: true);