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 @@ /> + + + 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; }