playControlFun method

dynamic playControlFun()

play start resume function

Implementation

playControlFun() {
  if (isVideoEnd) {
    disposeControllers();
    videoInitialize();
  } else if (isPlaying) {
    videoPlayerController!.pause();
  } else {
    videoPlayerController!.play();
  }
  setFunctionVisible();
}