diff --git a/lib/plugin/pl_player/view.dart b/lib/plugin/pl_player/view.dart index 0c812b18..41578b1c 100644 --- a/lib/plugin/pl_player/view.dart +++ b/lib/plugin/pl_player/view.dart @@ -88,8 +88,8 @@ class _PLVideoPlayerState extends State // 双击播放、暂停 void onDoubleTapCenter() { final _ = widget.controller; - if (_.playerStatus.status.value == PlayerStatus.playing) { - _.togglePlay(); + if (_.videoPlayerController!.state.playing) { + _.pause(); } else { _.play(); }