play method
播放
Implementation
Future<void> play() async {
if (isPlayEnd) {
await seekTo(Duration(seconds: 0));
}
await videoCtrl.play();
updateAnimetedIconState();
setControllerLayer(false);
}
播放
Future<void> play() async {
if (isPlayEnd) {
await seekTo(Duration(seconds: 0));
}
await videoCtrl.play();
updateAnimetedIconState();
setControllerLayer(false);
}