From e4ebe6e1458c6435cefe2a4988e85adacbd2feb2 Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 8 Jan 2024 11:35:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E6=B2=A1=E6=9C=89=E7=9B=91=E5=90=AC=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E7=8A=B6=E6=80=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/video/detail/view.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 18d1943a0..38b813789 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -159,6 +159,7 @@ class _VideoDetailPageState extends State Future handlePlay() async { await videoDetailController.playerInit(); plPlayerController = videoDetailController.plPlayerController; + plPlayerController!.addStatusLister(playerListener); videoDetailController.autoPlay.value = true; videoDetailController.isShowCover.value = false; } From e50913013e10095d357ea817860af1c1f61cd2b6 Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 8 Jan 2024 13:47:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E6=A1=8C=E9=9D=A2=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/src/main/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 97cef67a4..217a42601 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -65,6 +65,9 @@ /> + + +