play method

Future<void> play()
inherited

播放

Implementation

Future<void> play() async {
  if (isPlayEnd) {
    await seekTo(Duration(seconds: 0));
  }

  await videoCtrl.play();
  updateAnimetedIconState();
  setControllerLayer(false);
}