Skip to content

Commit

Permalink
Merge branch 'fix-handleplay-without-playerListener'
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Jan 8, 2024
2 parents 3acdfe8 + e509130 commit ba85fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down
1 change: 1 addition & 0 deletions lib/pages/video/detail/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
Future<void> handlePlay() async {
await videoDetailController.playerInit();
plPlayerController = videoDetailController.plPlayerController;
plPlayerController!.addStatusLister(playerListener);
videoDetailController.autoPlay.value = true;
videoDetailController.isShowCover.value = false;
}
Expand Down

0 comments on commit ba85fdf

Please sign in to comment.